Comments require a page refresh to see new ones from other users. Options: WebSocket, SSE, or polling interval (simplest: 10s poll).
Allow upgrading a share in-place (file -> folder -> repo) without delete + recreate. UX: "Edit" button on shares management page that reopens the share dialog.
A user reported being unable to add more than 5 comments. No code limit exists. Investigate: could be selection detection issue, or server action silently failing.
Notify doc owner when new comments are added to their shared files. Options: Email, in-app notification bell, Slack webhook.
Listen for push events to invalidate cached file trees and content.
Currently using revalidate: 60 on fetch calls. Would make content appear instantly.
Full-text search across synced repo markdown files. Could index content in Postgres or use a search service.
Dark mode is the primary design. Light mode has basic overrides but hasn't been tested or polished to the same degree.
Highlights are DOM mutations applied via useEffect. They flash briefly on React re-renders before being re-applied. Could be fixed with a stable highlight mechanism (CSS custom highlight API or pre-processing).
Sidebar has a mobile drawer toggle but the overall layout hasn't been tested on mobile. Comment rail likely needs mobile-specific UX.
- Comment count query uses
LIKEprefix match — add proper index - File tree fetch for large repos (400+ files) is slow — consider pagination
- History panel fetches file content for each commit click — consider caching