Commit graph

42 commits

Author SHA1 Message Date
CREDO23
c65cda24d7 style: fix formatting issues 2026-01-27 13:49:46 +02:00
DESKTOP-RTLN3BA\$punk
2dbcde78f1 feat(rbac): unify category configuration for role permissions with enhanced descriptions 2026-01-27 00:01:26 -08:00
DESKTOP-RTLN3BA\$punk
fd564d3efd feat(rbac): add human-readable descriptions for permissions and enhance role creation UI 2026-01-26 23:56:45 -08:00
DESKTOP-RTLN3BA\$punk
39d65d6166 feat: added incentive credits system 2026-01-26 23:32:30 -08:00
Anish Sarkar
2d17d1a1b6 feat: replace Loader2 with Spinner component for consistent loading indicators 2026-01-25 15:23:45 +05:30
Anish Sarkar
be7ba76417 chore: ran backend and frontend linting 2026-01-22 16:07:06 +05:30
Anish Sarkar
8eec948434 feat: enhance team management UI with avatar initials and role permissions display
- Added a helper function to generate avatar initials for team members without an avatar.
- Improved the MembersTab component by displaying user avatars or initials.
- Introduced a new RolePermissionsDisplay component to present role permissions in a categorized manner.
- Updated table headers in MembersTab for better clarity and added icons for visual enhancement.
2026-01-21 17:13:30 +05:30
Anish Sarkar
4653eb5f64 refactor: update role management UI components for improved interaction
- Renamed props in RolesTab for clarity.
- Replaced label elements with button elements in CreateRoleDialog for better accessibility and interaction.
- Enhanced toggle functionality for category and permission selection.
2026-01-21 16:25:38 +05:30
Anish Sarkar
80f83e32c6 chore: frontend linting 2026-01-20 20:47:31 +05:30
DESKTOP-RTLN3BA\$punk
e163708bad feat: Refactor role permissions and access checks
- Removed the Admin role and updated the permission sets for Owner, Editor, and Viewer roles in db.py.
- Clarified access requirements for chat threads in new_chat_routes.py, ensuring ownership checks are prioritized.
- Added preset permission options for quick role creation in the CreateRoleDialog component of the team page.
2026-01-20 02:59:32 -08:00
DESKTOP-RTLN3BA\$punk
8aad15d392 Reapply "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 3418c0e026.
2026-01-16 11:32:06 -08:00
DESKTOP-RTLN3BA\$punk
3418c0e026 Revert "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 5963a1125e, reversing
changes made to 0d2a2f8ea1.
2026-01-16 00:49:33 -08:00
Anish Sarkar
5712336feb fix: fixed UI while indexing 2026-01-14 18:53:58 +05:30
CREDO23
814122d087 Remove standalone back button from Team page 2026-01-12 17:09:45 +02:00
DESKTOP-RTLN3BA\$punk
609fc879be feat: add tracking for users viewed in search space
- Introduced a new event tracking function for when users view the team page in a search space.
- Updated the team management page to utilize this tracking, capturing user and owner counts.
2026-01-08 13:38:28 -08:00
DESKTOP-RTLN3BA\$punk
dfaa0cef21 chore: linting 2026-01-08 13:11:58 -08:00
DESKTOP-RTLN3BA\$punk
789197d41c feat: updated sitemap, added more posthog events & added new changelog
- Implemented a function to return the current hour for lastModified timestamps in the sitemap.
- Added multiple new URLs to the sitemap, including documentation and connector pages.
- Integrated tracking for search space invite events, including sent, accepted, declined, and user added events.
- Enhanced connector management with tracking for connection, deletion, and indexing events.
2026-01-08 13:10:48 -08:00
Anish Sarkar
ed6470525a feat: Enhance mobile navbar animations and responsiveness across various components 2025-12-29 00:24:49 +05:30
Anish Sarkar
1d5ee45bd9 style: Adjust UI element and text sizes for improved responsiveness and visual consistency across various components. 2025-12-28 23:59:01 +05:30
DESKTOP-RTLN3BA\$punk
4a0c3e368a feat: migrated to surfsense deep agent 2025-12-23 01:16:25 -08:00
DESKTOP-RTLN3BA\$punk
4d02e8768d chore: biome 2025-12-19 00:45:29 -08:00
CREDO23
9c378550ba refactor: complete RBAC migration cleanup - remove unused hooks and fix type imports 2025-12-18 18:37:26 +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
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
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
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
DESKTOP-RTLN3BA\$punk
7e94413814 chore: biome fixes 2025-11-27 23:01:14 -08:00
DESKTOP-RTLN3BA\$punk
e9d32c3516 feat: Implement Role-Based Access Control (RBAC) for search space resources.
-Introduce granular permissions for documents, chats, podcasts, and logs.
- Update routes to enforce permission checks for creating, reading, updating, and deleting resources. - Refactor user and search space interactions to align with RBAC model, removing ownership checks in favor of permission validation.
2025-11-27 22:45:04 -08:00