feat: Settings page, Notion OAuth integration, and dark mode fixes#32
Open
emmanuelkb wants to merge 2 commits intomainfrom
Open
feat: Settings page, Notion OAuth integration, and dark mode fixes#32emmanuelkb wants to merge 2 commits intomainfrom
emmanuelkb wants to merge 2 commits intomainfrom
Conversation
- Notion public OAuth flow (connect/disconnect via Settings page) - NotionWorkspace and NotionConnection DB models with encrypted token storage - Background ingestion: fetch, deduplicate, chunk, and embed with workspace_id tagging - RAG queries scoped to user's connected workspaces via ChromaDB where filter - Sidebar shows real connected workspaces with sync status - Settings page: connect, disconnect, manual sync with status polling - Deduplicate Notion documents (database rows fetched as both pages and rows) - ChromaManager: add delete_by_workspace for cleanup on disconnect/re-sync - Update .env.example with Notion OAuth and encryption config
5406739 to
c8dc776
Compare
…leanup - Add workspace filtering to BM25 search (post-filter by metadata) - Pass where filter through HybridRetriever to both ChromaDB and BM25 - Fix polling useEffect to use useRef and poll immediately after 2s - Lazy-init Fernet encryption to avoid crash on missing env var - Add __init__.py to src/Notion/ subdirs for proper package resolution - Remove emoji from chroma_manager, add trailing newlines - Make sidebar workspace cards navigate to Settings page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/apiprefix in API callsKey changes
NotionWorkspace,NotionConnectionwith encrypted token storage/api/notion/(connect, callback, list workspaces, sync, disconnect)workspace_ids.env.examplewith Notion OAuth and encryption configTest plan
🤖 Generated with Claude Code