mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-05-05 15:24:35 +00:00
* fix: small issue where users cant change podcast segments * feat: display source and note counts on notebook cards (OSS-312) Add item counters to notebook listing page showing the number of sources and notes in each notebook. Counts are displayed in a footer section with FileText and StickyNote icons for visual consistency with ContextIndicator. Backend changes: - Add source_count and note_count to NotebookResponse model - Update /notebooks endpoint to use SurrealDB graph traversal query - Query: count(<-reference.in) for sources, count(<-artifact.in) for notes - Update all notebook endpoints to include counts Frontend changes: - Add source_count and note_count to TypeScript NotebookResponse interface - Add footer section to NotebookCard component - Display counts with FileText and StickyNote icons (h-3 w-3) - Use border-top separator and muted-foreground styling Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * style: use colorful badges for notebook counts matching ContextIndicator Update notebook card counts to use Badge components with primary color styling instead of plain text, matching the visual style of the ContextIndicator component in the chat window. Changes: - Replace plain text divs with Badge components - Apply text-primary and border-primary/50 styling - Use same spacing (gap-1.5, px-1.5, py-0.5) as ContextIndicator - Remove bullet separator (not needed with badge layout) Visual result matches the colorful badges shown in chat context. Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| auth.py | ||
| chat.py | ||
| commands.py | ||
| config.py | ||
| context.py | ||
| embedding.py | ||
| embedding_rebuild.py | ||
| episode_profiles.py | ||
| insights.py | ||
| models.py | ||
| notebooks.py | ||
| notes.py | ||
| podcasts.py | ||
| search.py | ||
| settings.py | ||
| source_chat.py | ||
| sources.py | ||
| speaker_profiles.py | ||
| transformations.py | ||