Commit graph

1716 commits

Author SHA1 Message Date
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
CREDO23
fbd5272096 feat: add membersAtom query for fetching members 2025-12-18 18:29:41 +00:00
CREDO23
b20587df60 feat: add leaveSearchSpaceMutationAtom 2025-12-18 18:29:41 +00:00
CREDO23
5f541cf206 feat: add deleteMemberMutationAtom 2025-12-18 18:29:41 +00:00
CREDO23
83a726737a feat: add updateMemberMutationAtom 2025-12-18 18:29:41 +00:00
CREDO23
baab42efb6 feat: add cache keys for members 2025-12-18 18:29:41 +00:00
CREDO23
52c3b5cc7e feat: add getMyAccess method to members API service 2025-12-18 18:29:03 +00:00
CREDO23
1d153f4f33 feat: add leaveSearchSpace method to members API service 2025-12-18 18:29:03 +00:00
CREDO23
eb38a02775 feat: add deleteMember method to members API service 2025-12-18 18:29:03 +00:00
CREDO23
d747f59ae9 fix: update members API service to follow established patterns with safeParse and arrow functions 2025-12-18 18:29:03 +00:00
CREDO23
22f8d5bbbb feat: add updateMember method to members API service 2025-12-18 18:29:03 +00:00
CREDO23
e9eb97b17e feat: add members API service with getMembers method 2025-12-18 18:29:03 +00:00
DESKTOP-RTLN3BA\$punk
c768730b8c feat: fixed issues of note management
Issues Fixed

- Missing pagination fields in API response schemas (page, page_size, has_more)
- NOTE enum missing from frontend Zod schema
- Missing fields in DocumentRead response construction (content_hash, updated_at)
- BlockNote slash menu clipped by overflow-hidden CSS
- Sidebar click conflicts - hidden action buttons intercepting clicks
- Rewrote All Notes sidebar - replaced fragile custom portal with shadcn Sheet
- Missing translation keys for new UI strings
- Missing NOTE retrieval logic in researcher agent
- Added search to All Notes sidebar
- Removed frontend logging - was causing toasters on every page refresh
- Added backend logging to document reindex Celery task
2025-12-17 00:09:43 -08:00
Rohan Verma
3c3527d498
Merge pull request #590 from CREDO23/feat/add-jotai-tanstack-rbac
[Feat] RBAC | Add jotai & tanstack
2025-12-16 22:45:46 -08:00
Rohan Verma
f18425d739
Merge pull request #589 from AnishSarkar22/feature/note-management
Feature: Note Management system
2025-12-16 22:44:57 -08:00
Anish Sarkar
8bb3c854ee feat: implement logging for document fetch and save operations in editor
Fetch:
1. Fetch error (HTTP) - ERROR
2. Missing BlockNote content - WARNING
3. Fetch success - INFO
4. Fetch exception - ERROR

Save:
5. New note save error - ERROR
6. New note created - INFO
7. Existing doc save error - ERROR
8. Existing doc saved - INFO
9. Save exception - ERROR
2025-12-17 02:04:57 +05:30
Anish Sarkar
4cef8cc93f feat: enhance validation and formatting in editor and sidebar components 2025-12-16 21:27:31 +05:30
Anish Sarkar
e8e393a0d5 fix: fixed linting for some files 2025-12-16 20:25:50 +05:30
Anish Sarkar
82d8320928 feat: enhance sidebar and editor functionality
- Updated AllNotesSidebar to render via portal for improved stacking context.
- Refactored sidebar styles and behavior for better user experience.
- Modified AppSidebarProvider to limit recent notes to 5 and sort by updated date.
- Improved editor page to handle document state updates and query invalidation on note creation.
- Added loading messages to translations for better user feedback during operations.
2025-12-16 20:14:54 +05:30
Anish Sarkar
5da41d91c8 feat: add All Notes sidebar component and integrate with NavNotes
- Introduced a new AllNotesSidebar component for displaying all notes in a sidebar.
- Enhanced NavNotes to include a button for opening the All Notes sidebar.
- Updated translations to support new sidebar labels and error messages.
- Improved note deletion handling and loading states within the sidebar.
- Refactored AppSidebar to pass searchSpaceId to NavNotes for better context.
2025-12-16 19:14:35 +05:30
Anish Sarkar
e9d3d36dfc feat: improve note editing and creation workflow
- Enhanced the editor to handle new note creation directly, initializing with an empty state.
- Updated save functionality to create a note first if it's new, followed by saving the content.
- Modified breadcrumb navigation to accommodate new notes and improve user experience.
- Removed the old note creation page to streamline the editing process.
- Added error handling and dynamic title updates for better feedback during note creation.
2025-12-16 18:46:18 +05:30
CREDO23
66a4674360 fix: restore RBAC cache keys after rebase 2025-12-16 09:16:41 +00:00
CREDO23
78035a6e90 fix: update team page implementation 2025-12-16 09:07:33 +00:00
CREDO23
0397f716f8 chore: add TODO for edit role dialog implementation 2025-12-16 09:07:33 +00:00
CREDO23
fcfa621a74 refactor: remove unused useRoles and usePermissions hooks after migration 2025-12-16 09:07:33 +00:00
CREDO23
5b85b1d090 fix: use correct groupedPermissions logic matching original implementation 2025-12-16 09:07:33 +00:00
CREDO23
55d204e05b fix: complete usePermissions migration to permissionsAtom in team page 2025-12-16 09:07:33 +00:00