Conversation
…packages Made-with: Cursor
…ueries and DB fallback Made-with: Cursor
…ence - Add Notion light/dark theme preset with accurate color variables (#191919, #202020, etc.) - Add theme preset selector in Appearance settings (LyraNote / Notion) - Replace next-themes localStorage with custom cookie-driven ThemeProvider - Read theme and theme-preset cookies server-side in layout.tsx to eliminate flash on refresh - Add i18n strings for theme preset options in en.json / zh.json Made-with: Cursor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (78)
📝 WalkthroughWalkthroughMajor expansion introducing two new client applications (Tauri desktop and Expo mobile) alongside shared packages for API client and type definitions. API skill fallbacks added for chunk retrieval. Web app enhanced with theme presets and localization updates. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Desktop as Desktop App<br/>(Tauri/React)
participant Mobile as Mobile App<br/>(Expo/React Native)
participant API as API Server
participant DB as Database
User->>Desktop: Launch desktop app
Desktop->>Desktop: Load auth token from localStorage
Desktop->>API: GET /auth/me (validate session)
API-->>Desktop: User profile + metadata
Desktop->>Desktop: Initialize auth store & render MainLayout
User->>Mobile: Launch mobile app
Mobile->>Mobile: Load token from SecureStore
Mobile->>API: GET /auth/me (validate session)
API-->>Mobile: User profile + metadata
Mobile->>Mobile: Initialize auth store & render app stacks
User->>Desktop: Select notebook → view notes
Desktop->>API: GET /notebooks/{id}/notes
API->>DB: Query notes for notebook
DB-->>API: Notes list
API-->>Desktop: Notes with titles/content
Desktop->>Desktop: Render notes editor
User->>Mobile: Navigate to notebook detail
Mobile->>API: GET /notebooks/{id} + /notebooks/{id}/notes
API->>DB: Query notebook & notes
DB-->>API: Notebook + notes data
API-->>Mobile: Notebook detail + notes
Mobile->>Mobile: Render notebook with notes list
User->>Desktop: Send AI chat message
Desktop->>API: POST /conversations/{convId}/messages (stream)
API->>API: createConversationService.streamMessage()
API-->>Desktop: SSE token stream
Desktop->>Desktop: readSseStream accumulates tokens
Desktop->>Desktop: Render streaming response in AiPanel
User->>Mobile: Send notebook chat message
Mobile->>API: POST /conversations/{convId}/messages (stream)
API-->>Mobile: SSE response stream
Mobile->>Mobile: readSseStream updates ChatScreen messages
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
|
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
Type of change
Related issue
Closes #
Changes
How to test
Screenshots (if applicable)
Checklist
./lyra lintand there are no type errorsfeat:,fix:, etc.)Summary by CodeRabbit
Release Notes
New Features
Improvements