Commit graph

1042 commits

Author SHA1 Message Date
Rohan Verma
b4b53b6625
Merge pull request #597 from AnishSarkar22/fix/chat-ui
Added new Chat UI and fixed global state management for notes
2025-12-19 15:14:24 -08:00
DESKTOP-RTLN3BA\$punk
3f2b915cd0 feat: fixed OAUTH issues
- Added BACKEND_URL to .env.example for optional OAuth callback configuration when behind a reverse proxy with HTTPS.
- Updated fastapi-users dependency to version 15.0.3 in pyproject.toml.
- Updated argon2-cffi and email-validator versions in uv.lock.
- Enhanced Google OAuth integration in app.py to handle secure contexts for CSRF cookies.
- Updated GoogleLoginButton component to include credentials in fetch requests.
- Updated documentation to reflect the new BACKEND_URL variable in both docker and manual installation guides.
2025-12-19 14:19:30 -08:00
DESKTOP-RTLN3BA\$punk
8d66d32c07 revert 2025-12-19 13:30:50 -08:00
DESKTOP-RTLN3BA\$punk
10a2180873 hotfix(try): OAUTH_INVALID_STATE 2025-12-19 12:49:40 -08:00
Anish Sarkar
b53b19170e feat: implement unsaved changes handling in editor and sidebar
- Introduced global state management for unsaved changes and pending navigation using Jotai atoms.
- Updated the editor component to sync local unsaved changes with global state and handle navigation prompts.
- Enhanced sidebar functionality to check for unsaved changes before navigating to a new note.
- Added cleanup logic for global state on component unmount to prevent stale data.
2025-12-19 22:59:42 +05:30
Anish Sarkar
ee46a43afc feat: enhance chat query handling and sidebar updates
- Updated chat query to include ordering by creation date for better organization.
- Improved optimistic updates in chat deletion and creation mutations to ensure UI consistency.
- Invalidate chat queries after mutations to refresh sidebar and components effectively.
- Adjusted cache key structure for chat queries to include additional parameters for better cache management.
2025-12-19 22:37:04 +05:30
Anish Sarkar
5fcaadf60b Merge remote-tracking branch 'upstream/main' into fix/chat-ui 2025-12-19 21:42:26 +05:30
Anish Sarkar
bb971f89ba feat: enhance sidebar functionality with tooltips and improved sorting
- Added tooltips to chat and note items in the sidebars, displaying creation and update timestamps.
- Implemented sorting of chats and notes by their creation or update dates for better organization.
- Updated translation keys for new UI strings related to deletion and timestamps.
- Adjusted sidebar layout for improved user experience on mobile devices.
2025-12-19 21:40:40 +05:30
Anish Sarkar
60d57305a7 refactor: streamline sidebar layout and adjust note/chat limits
- Updated `AppSidebar` to simplify the layout by removing unnecessary div wrappers around `NavChats` and `NavNotes`.
- Adjusted the number of notes and chats displayed in the sidebar from 5 to 4 for a more compact design.
- Modified `SidebarContent` and `SidebarGroup` styles for improved spacing and layout consistency.
2025-12-19 19:36:10 +05:30
DESKTOP-RTLN3BA\$punk
4d02e8768d chore: biome 2025-12-19 00:45:29 -08:00
CREDO23
2cdc6874dc feat: migrate connectors to jotai + tanstack 2025-12-19 00:45:38 +02:00
CREDO23
e38b925c2a refact: migrate all add connector page to jotai+tnstack 2025-12-19 00:32:59 +02:00
Anish Sarkar
79e552520a refactor: remove old chat components and implement new sidebar structure
- Deleted `chats-client.tsx` and `page.tsx` as part of the chat management overhaul.
- Introduced `AllChatsSidebar` and `NavChats` components for improved chat navigation and management.
- Updated sidebar to integrate new chat components and removed the deprecated `NavProjects`.
- Enhanced chat deletion handling and added loading states for better user experience.
- Added new translation keys for chat-related UI strings.
2025-12-19 03:53:40 +05:30
CREDO23
cd5b6becce refact: migrate all add connector page to jotai+tnstack 2025-12-19 00:19:15 +02:00
CREDO23
60c09687ab feat: migrate indexconnector handler 2025-12-18 23:42:45 +02:00
CREDO23
3c6f50fa8f feat: migrate updateconnector handler 2025-12-18 23:39:38 +02:00
CREDO23
6913a7b59f feat: migrate deleteconnector handler 2025-12-18 23:36:55 +02:00
CREDO23
68fe4daea1 feat: migrate get connectors handlers 2025-12-18 23:30:17 +02:00
CREDO23
96d937fe2d feat: add query atoms 2025-12-18 23:26:15 +02:00
CREDO23
797a8d4329 feat: add cache keys 2025-12-18 23:08:36 +02:00
CREDO23
4710b9ad3d feat: add cache keys 2025-12-18 22:58:21 +02:00
CREDO23
7edf2c9c9b feat: add connector types 2025-12-18 22:55:00 +02:00
CREDO23
94c830c5ab fix appi service endpoints 2025-12-18 20:10:20 +00:00
CREDO23
9c378550ba refactor: complete RBAC migration cleanup - remove unused hooks and fix type imports 2025-12-18 18:37:26 +00:00
CREDO23
1c00e6f12e fix: update invite schemas to match backend and fix cache key reference 2025-12-18 18:36:32 +00:00
CREDO23
f8ec87c7f2 chore: delete unused useUserAccess hook from use-rbac.ts 2025-12-18 18:36:32 +00:00
CREDO23
74c7e5e7b3 feat: migrate useUserAccess to myAccessAtom in client-layout 2025-12-18 18:36:32 +00:00
CREDO23
e520e3e217 chore: delete unused useMembers hook from use-rbac.ts 2025-12-18 18:36:32 +00:00
CREDO23
bce8340750 feat: migrate useUserAccess to myAccessAtom in team page 2025-12-18 18:36:32 +00:00
CREDO23
18ac6bf0c5 feat: remove unused useInvites hook references from team page 2025-12-18 18:36:32 +00:00
CREDO23
0d2f58001b feat: migrate revokeInvite to deleteInviteMutationAtom in team page 2025-12-18 18:36:32 +00:00
CREDO23
15541b71c9 feat: migrate createInvite to createInviteMutationAtom in team page 2025-12-18 18:36:32 +00:00
CREDO23
82b06d42c2 feat: migrate invites fetch query to useQuery in team page 2025-12-18 18:36:32 +00:00
CREDO23
6e288a59fb feat: migrate removeMember to deleteMemberMutationAtom in team page 2025-12-18 18:34:00 +00:00
CREDO23
7bb840b62a feat: migrate updateMemberRole to handleUpdateMember using jotai + tanstack query 2025-12-18 18:33:36 +00:00
CREDO23
3fc3016474 feat: migrate members fetch to membersAtom in team page 2025-12-18 18:30:49 +00:00
CREDO23
4ffd857110 feat: add invitesAtom query atom 2025-12-18 18:29:41 +00:00
CREDO23
920ac210c7 fix: use centralized cache keys instead of hardcoded string 2025-12-18 18:29:41 +00:00
CREDO23
92e2414ff7 feat: add acceptInviteMutationAtom 2025-12-18 18:29:41 +00:00
CREDO23
5e0bc3823c feat: add deleteInviteMutationAtom 2025-12-18 18:29:41 +00:00
CREDO23
9c22ae2da5 feat: add updateInviteMutationAtom for invite updates 2025-12-18 18:29:41 +00:00
CREDO23
3cd9018626 feat: add createInviteMutationAtom for invite creation 2025-12-18 18:29:41 +00:00
CREDO23
85c8ca67cb feat: add cache keys for invites 2025-12-18 18:29:41 +00:00
CREDO23
01bcfa999e feat: add acceptInvite method to invites API service 2025-12-18 18:29:41 +00:00
CREDO23
0cf85943d2 feat: add getInviteInfo method to invites API service 2025-12-18 18:29:41 +00:00
CREDO23
d32c824412 feat: add deleteInvite method to invites API service 2025-12-18 18:29:41 +00:00
CREDO23
d061b6258f feat: add updateInvite method to invites API service 2025-12-18 18:29:41 +00:00
CREDO23
5c64182960 feat: add getInvites method to invites API service 2025-12-18 18:29:41 +00:00
CREDO23
109cd4f091 feat: add createInvite method to invites API service 2025-12-18 18:29:41 +00:00
CREDO23
03f6efb5aa feat: add myAccessAtom query for user access permissions 2025-12-18 18:29:41 +00:00