bvandeusen and Claude Sonnet 4.6
a0620c4949
fix: knowledge view — chat input styling, autofocus, graph component (no iframe)
...
- Mini-chat input bar now uses shared --color-input-bar-* CSS variables and
the same chat-input-bar pill pattern as all other chat interfaces
- chatInputEl focused on mount (autofocus on page load)
- Graph panel: replaced iframe (blocked by X-Frame-Options: DENY) with
inline GraphView component; CSS :deep override constrains its height
to fill the panel instead of 100vh
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-31 18:49:02 -04:00
bvandeusen and Claude Sonnet 4.6
80f30b705d
feat: Knowledge view + entity types (People, Places, Lists)
...
Data model:
- Migration 0036: adds note_type TEXT (default 'note') and metadata JSONB
to the notes table; index on note_type
- Note model: entity_type property, note_type/metadata in to_dict()
- create_note() accepts note_type and metadata params
Backend:
- /api/knowledge — unified paginated endpoint: type/tag/sort/q filters,
semantic search via embeddings, excludes tasks
- /api/knowledge/tags — distinct tags across knowledge objects
- New LLM tools: create_person, create_place, create_list, add_to_list,
clear_checked_items — all wired into execute_tool()
- People and places auto-injected as compact summary into LLM system prompt
Frontend:
- KnowledgeView replaces HomeView at /; left filter panel (type+tag),
toolbar (search, sort, graph toggle), card grid with type-aware cards
(indigo=note, emerald=person, amber=place, sky=list), load-more pagination
- Today bar: upcoming events, overdue task count, Briefing/Chat links
- Floating mini-chat sticky to bottom: creates/continues a conversation
inline, message history expands upward, close button ends session
- Graph panel: toggles as a 420px right panel at full viewport width
- AppHeader: Knowledge, Chat, Briefing, Calendar, Tasks, Projects
- Router: / → KnowledgeView; /knowledge redirect; HomeView import removed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-31 18:01:03 -04:00