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
CREDO23
b4cdf2dcc1
refactor: migrate deleteRole to use mutation atom and remove useRoles dependency in team page
2025-12-16 09:07:33 +00:00
CREDO23
cbe6a05253
refactor: migrate updateRole to use mutation atom in team page
2025-12-16 09:07:33 +00:00
CREDO23
7d89fea31d
refactor: migrate createRole to use mutation atom with proper types in team page
2025-12-16 09:07:33 +00:00
CREDO23
635be2b4e6
refactor: migrate team page to use React Query for permissions and roles fetching
2025-12-16 09:07:33 +00:00
CREDO23
f69b49e4c0
fix: add type assertions for Motion animation properties in team page
2025-12-16 09:07:33 +00:00
CREDO23
51216f0d04
feat: add roles mutation atoms with improved type safety
2025-12-16 09:07:33 +00:00
CREDO23
c732c5deee
feat: add cache keys and permissions query atom for RBAC
2025-12-16 09:07:33 +00:00
CREDO23
e086dd51fa
feat: add permissions-api.service.ts with getPermissions method
2025-12-16 09:05:54 +00:00
CREDO23
b20c526951
feat: complete roles-api.service.ts with all CRUD methods
2025-12-16 09:05:54 +00:00
CREDO23
4affdf70a6
fix: correct roles-api.service.ts to use parsedRequest.data pattern
2025-12-16 09:05:54 +00:00
CREDO23
ccdcec4dd4
feat: delete old rbac.types.ts after splitting into domain-specific files
2025-12-16 09:05:54 +00:00
CREDO23
ead71eb026
feat: create invites.types.ts with all invite-related schemas
2025-12-16 09:05:54 +00:00
CREDO23
226ebf2ddf
feat: create members.types.ts with membership and access schemas
2025-12-16 09:05:54 +00:00
CREDO23
5f156cfa85
feat: create roles.types.ts with all role-related schemas
2025-12-16 09:05:54 +00:00
CREDO23
ec9ed9d215
feat: create permissions.types.ts with single responsibility
2025-12-16 09:05:54 +00:00
CREDO23
86cac96fe0
feat: add getMyAccess request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
fdfba4bb4a
feat: add acceptInvite request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
1b41b2ff23
feat: add getInviteInfo request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
e5f5e46312
feat: add deleteInvite request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
134c70f87f
feat: add updateInvite request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
a74e69fdc5
feat: add getInvites request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
bec21a7207
feat: add createInvite request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
86b8cd6eff
feat: add leaveSearchSpace request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
9ec5b324fd
feat: add deleteMembership request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
39c64103ab
feat: add updateMembership request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
289cbc627c
feat: add getMembers request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
c51612867d
feat: add deleteRole request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
6eaf37589d
feat: add updateRole request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
f02fc9f4aa
feat: add getRoleById request/response schemas
2025-12-16 09:05:54 +00:00
CREDO23
4919b4717c
feat: add GetRoles request/response schemas for RBAC
2025-12-16 09:05:54 +00:00
CREDO23
f11215fcef
feat: add CreateRole request/response schemas for RBAC
2025-12-16 09:05:54 +00:00
CREDO23
d5af72bed6
feat: add GetPermissionsResponse schema for RBAC
2025-12-16 09:05:54 +00:00
CREDO23
18917519e9
feat: add PermissionInfo type for RBAC
2025-12-16 09:05:54 +00:00
CREDO23
34f0e4514c
feat: add Invite type for RBAC
2025-12-16 09:05:54 +00:00
CREDO23
8a9f3e1c18
feat: add Membership type for RBAC
2025-12-16 09:05:54 +00:00
CREDO23
37f2b27451
feat: add Role type for RBAC
2025-12-16 09:05:54 +00:00