Commit graph

537 commits

Author SHA1 Message Date
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
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
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
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
Anish Sarkar
e1e813702a feat: enhance note creation and editing experience
- Added dynamic title extraction from the first block of BlockNote documents for NOTE type.
- Updated editor routes to support new note creation with a BlockNote editor.
- Implemented unsaved changes dialog for better user experience when navigating away from the editor.
- Refactored BlockNoteEditor to ensure the first block is a heading when creating new notes.
- Removed the old note creation page in favor of the new streamlined editor experience.
2025-12-16 13:57:06 +05:30
Anish Sarkar
8eceb7a5cb feat: add note management functionality with BlockNote support
- Introduced a new ENUM value 'NOTE' for document types in the database.
- Implemented backend routes for creating, listing, and deleting notes.
- Added a new frontend page for creating notes with a BlockNote editor.
- Updated sidebar to include recent notes and an option to add new notes.
- Enhanced API service for notes with validation and request/response schemas.
- Updated translations to support new note-related terms.
2025-12-16 12:28:30 +05:30
CREDO23
6b266ff128 refactor: migrate dashboard page from useUser to currentUserAtom 2025-12-16 05:26:43 +00:00
CREDO23
734265c645 feat: migrate dashboard page to use searchSpacesAtom and deleteSearchSpaceMutationAtom 2025-12-15 08:18:35 +00:00
CREDO23
4aa026cae4 feat: migrate searchspaces page to use createSearchSpaceMutationAtom 2025-12-15 08:18:35 +00:00
CREDO23
00b5b7dec8 refactor: merge search space query atoms into single file 2025-12-15 08:18:35 +00:00
CREDO23
2f2898f0c3 refactor: merge seach-spaces and search-spaces folders, fix typo 2025-12-15 08:18:35 +00:00
DESKTOP-RTLN3BA\$punk
7de87ada81 chore: recurse 2025-12-14 22:32:13 -08:00
CREDO23
90f4ce61b5 refact: format web project with biome 2025-12-14 20:33:15 +02:00
CREDO23
be381c833e cleanup 2025-12-14 20:22:00 +02:00
CREDO23
ce90672250 chore: commit all changes 2025-12-14 20:22:00 +02:00
CREDO23
eb448d8a5b refactor: migrate client-layout.tsx from useLLMPreferences hook to jotai atoms 2025-12-14 20:22:00 +02:00
CREDO23
15fdfeb3cf chore: commit all changes 2025-12-14 20:22:00 +02:00
CREDO23
5d380faaad fix: update LLM preferences mutation call signature in onboard page 2025-12-14 20:22:00 +02:00
CREDO23
c91c83d40d feat(llm-config): replace useGlobalLLMConfigs with globalLLMConfigsAtom in onboard page 2025-12-14 20:22:00 +02:00
CREDO23
80d6696310 feat(llm-config): remove unused useLLMConfigs hook - completely migrated to jotai + tanstack query 2025-12-14 20:22:00 +02:00
DESKTOP-RTLN3BA\$punk
3a3712ceac refactor(ux): Update dashboard links and enhance settings page layout
- Changed document links to point to the researcher page in the dashboard.
- Removed unused team and settings links from the dashboard layout.
- Redesigned settings page with a sidebar for navigation and improved layout for better user experience.
- Added delete confirmation dialog for model configurations in the settings manager.
- Updated card components for better visual consistency and responsiveness.
2025-12-13 22:43:38 -08:00
DESKTOP-RTLN3BA\$punk
08fb488995 feat(roadmap-1.2): removed SearchMode enum and combined hybrid search 2025-12-12 04:17:30 -08:00
DESKTOP-RTLN3BA\$punk
8c9aa68faa feat: update document tracking to use 'updated_at' timestamp instead of 'last_edited_at' 2025-12-12 01:32:14 -08:00
DESKTOP-RTLN3BA\$punk
e6775625ff chore: linting 2025-12-10 14:41:32 -08:00
Rohan Verma
194292a641
Merge pull request #529 from CREDO23/feat/add-jotai-tanstack
[Feat] Documents | Add Jotai & Tanstack
2025-12-10 14:38:00 -08:00
DESKTOP-RTLN3BA\$punk
6e4cc2e4d7 fix(bug): opboarding onno global llm configs 2025-12-09 02:27:02 -08:00
DESKTOP-RTLN3BA\$punk
4f5c1cf070 chore: linting 2025-12-09 01:50:08 -08:00
DESKTOP-RTLN3BA\$punk
a27cd2b966 fix(ux): : update onboarding and form components for improved user experience and clarity 2025-12-09 01:49:27 -08:00
DESKTOP-RTLN3BA\$punk
50edeadcaa chore: update links in documentation and metadata to use the correct domain 2025-12-09 01:27:13 -08:00
CREDO23
55502579e1 fix: minor type adjustments and cleanup
- Added missing Document type export
- Fixed typeCounts usage in DocumentsTable
- Minor formatting adjustments in DocumentsDataTable
2025-12-08 11:02:01 +00:00
CREDO23
ede7020b61 refactor: replace imperative deleteDocument with mutation atom
- Replaced deleteDocument from useDocuments with deleteDocumentMutationAtom
- Removed unused useDocuments hook completely
- Updated DocumentsTable to use mutation atom for single and bulk deletes
- Maintains backward compatibility with existing delete functionality
2025-12-08 11:02:01 +00:00
CREDO23
8140a5fb6e fix: handle error states from useQuery in DocumentsTable 2025-12-08 11:02:01 +00:00
CREDO23
b8d629da71 fix: update DocumentsFilters type definitions and complete migration cleanup
- Updated type definitions in DocumentsFilters to use DocumentTypeEnum
- Fixed type consistency across activeTypes and onToggleType props
- Final cleanup of DocumentsTable migration to React Query
2025-12-08 11:02:01 +00:00
CREDO23
bccbd65333 refactor: migrate document types fetch to jotai + tanstack query
- Replace useDocumentTypes hook with documentTypeCountsAtom in ChatInputGroup
- Replace useDocumentTypes hook with documentTypeCountsAtom in researcher page
- Delete obsolete use-document-types.ts hook
- Transform atom response to maintain backward compatibility
2025-12-08 11:02:01 +00:00
Differ
e238fab638 Merge remote-tracking branch 'upstream/main' into feat/bookstack-connector 2025-12-06 09:15:02 +08:00