Commit graph

1380 commits

Author SHA1 Message Date
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
bc6f7e15f1 refact: rebase on upstream dev 2025-12-16 05:37:30 +00:00
CREDO23
4bcb92c3ce refactor: delete unused useUser hook after migration to currentUserAtom 2025-12-16 05:29:18 +00:00
CREDO23
8691ba9d72 refactor: migrate app-sidebar from useUser to currentUserAtom 2025-12-16 05:28:41 +00:00
CREDO23
2e0f59522a refactor: migrate AppSidebarProvider from useUser to currentUserAtom 2025-12-16 05:28:41 +00:00
CREDO23
6b266ff128 refactor: migrate dashboard page from useUser to currentUserAtom 2025-12-16 05:26:43 +00:00
CREDO23
cee27f1263 feat: add current user query atom 2025-12-16 05:24:55 +00:00
CREDO23
d5997a6d0c feat: add user cache keys 2025-12-16 05:24:55 +00:00
CREDO23
8c5ecfd4e4 feat: add user API service 2025-12-16 05:22:45 +00:00
CREDO23
42a585d880 feat: add user types with zod schemas 2025-12-16 05:22:45 +00:00
CREDO23
3c514756c7 refactor: use destructuring pattern for community prompts atom 2025-12-15 10:42:35 +00:00
CREDO23
8727acb5ad refactor: migrate community prompts from imperative hook to jotai atom 2025-12-15 10:24:13 +00:00
CREDO23
ccce47846b fix: build issues 2025-12-15 09:55:01 +00:00
CREDO23
ae1cd09013 refactor: delete unused search space hooks and update exports 2025-12-15 08:18:35 +00:00
CREDO23
291bb0369a refactor: migrate dashboard-breadcrumb to useQuery and remove obvious comments 2025-12-15 08:18:35 +00:00
CREDO23
1172a91a07 refactor: migrate AppSidebarProvider to use useQuery for search space fetch 2025-12-15 08:18:35 +00:00
CREDO23
6be93182a1 refactor: migrate prompt-config-manager to use useQuery for search space fetch 2025-12-15 08:18:35 +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
862288367d feat: add deleteSearchSpaceMutationAtom 2025-12-15 08:18:35 +00:00
CREDO23
a820598cfd fix: convert id to string for cache key detail function 2025-12-15 08:18:35 +00:00
CREDO23
46061f64ee fix: correct UpdateSearchSpaceRequest structure in mutation atom 2025-12-15 08:18:35 +00:00
CREDO23
d3dd2fc886 feat: add updateSearchSpaceMutationAtom 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
CREDO23
6bac012474 feat: add createSearchSpaceMutationAtom 2025-12-15 08:18:35 +00:00
CREDO23
3fafb18089 refactor: remove unnecessary comments from search-space types 2025-12-15 08:18:35 +00:00
CREDO23
fc08f721b0 feat(search-spaces): add communityPromptsAtom and remove obvious comments 2025-12-15 08:18:35 +00:00
CREDO23
b4874111e2 fix(search-spaces): correct pagination params to use skip/limit instead of page/page_size 2025-12-15 08:18:35 +00:00
CREDO23
58a14f422d feat(search-spaces): add searchSpacesAtom query atom for fetching search spaces list 2025-12-15 08:18:35 +00:00
CREDO23
edfe2aa87e feat(search-spaces): add cache keys for search spaces and llm configs 2025-12-15 08:18:35 +00:00
CREDO23
172f58f742 feat(search-spaces): add deleteSearchSpace endpoint to API service 2025-12-15 08:18:35 +00:00
CREDO23
80357d450b feat(search-spaces): add updateSearchSpace endpoint to API service 2025-12-15 08:18:35 +00:00
CREDO23
646065d745 feat(search-spaces): add getSearchSpace endpoint to API service 2025-12-15 08:18:35 +00:00
CREDO23
1d6bfe1e29 feat: add getCommunityPrompts endpoint to API service 2025-12-15 08:18:35 +00:00
CREDO23
f983d1f7ff feat: add createSearchSpace endpoint to API service 2025-12-15 08:18:35 +00:00
CREDO23
c43cd16dab feat: add search spaces API service with getSearchSpaces endpoint 2025-12-15 08:18:35 +00:00
CREDO23
3ef860fb1c feat: add delete search space zod schemas 2025-12-15 08:18:35 +00:00
CREDO23
0f531ee723 feat: add search space zod schemas for GET and PUT endpoints 2025-12-15 08:18:35 +00:00
DESKTOP-RTLN3BA\$punk
7de87ada81 chore: recurse 2025-12-14 22:32:13 -08:00
DESKTOP-RTLN3BA\$punk
f0a6c348d1 fix: update llm-config types to allow nullable created_at and updated_at fields 2025-12-14 22:23:16 -08:00
CREDO23
088e8afced restore uv.lock to upstream dev 2025-12-14 20:38:30 +02: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
3e8cdabd73 refactor: complete migration of useLLMPreferences hook to jotai atoms
- Migrated llm-role-manager.tsx to use jotai atoms
- Fixed TypeScript errors in llm-role-manager.tsx
- Deleted unused use-llm-configs.ts file
- All LLM preferences now use centralized jotai + tanstack query atoms
2025-12-14 20:22:00 +02:00
CREDO23
e59c920625 refactor: migrate setup-llm-step.tsx from useLLMPreferences hook to jotai atoms 2025-12-14 20:22:00 +02:00
CREDO23
1d0be3a640 refactor: migrate ChatInputGroup.tsx from useLLMPreferences hook to jotai atoms 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