Commit graph

1329 commits

Author SHA1 Message Date
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
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
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
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
194b17500e feat(llm-config): complete migration of useGlobalLLMConfigs to globalLLMConfigsAtom
- Removed unused import from model-config-manager.tsx
- Deleted useGlobalLLMConfigs hook (no longer used anywhere)
- All 5 components now using jotai + tanstack query pattern
- Full backward compatibility maintained
2025-12-14 20:22:00 +02:00
CREDO23
62fcec425b feat(llm-config): replace useGlobalLLMConfigs with globalLLMConfigsAtom in llm-role-manager 2025-12-14 20:22:00 +02:00
CREDO23
4eb521e156 feat(llm-config): replace useGlobalLLMConfigs with globalLLMConfigsAtom in setup-llm-step 2025-12-14 20:22:00 +02:00
CREDO23
636db67d65 feat(llm-config): replace useGlobalLLMConfigs with globalLLMConfigsAtom in ChatInputGroup 2025-12-14 20:22:00 +02:00
CREDO23
c3dd3de6f6 refactor: migrate ChatInputGroup to jotai + tanstack query pattern
- Replace useLLMConfigs hook with llmConfigsAtom
- Map properties correctly (data, isFetching, isError)
- Fix TypeScript issue with is_global property check
- Keep useGlobalLLMConfigs and useLLMPreferences unchanged
- Maintain backward compatibility with existing functionality
2025-12-14 20:22:00 +02:00
CREDO23
85f00bd364 refactor: migrate llm-role-manager to jotai + tanstack query pattern
- Replace useLLMConfigs hook with llmConfigsAtom
- Map properties correctly (data, isFetching, isError, refetch)
- Fix onClick handler for refreshConfigs to use arrow function
- Fix TypeScript issue with is_global property check
- Maintain backward compatibility with existing functionality
- Keep useGlobalLLMConfigs and useLLMPreferences unchanged as requested
2025-12-14 20:20:57 +02:00
CREDO23
f1de17dac2 fix: resolve merge conflicts after rebase from upstream/dev 2025-12-14 20:20:57 +02:00
CREDO23
63b0bb2472 refactor: migrate setup-llm-step to jotai + tanstack query pattern
- Replace imperative useLLMConfigs hook with jotai atoms
- Use createLLMConfigMutationAtom for config creation
- Use deleteLLMConfigMutationAtom for config deletion
- Use llmConfigsAtom for fetching configs
- Update types from CreateLLMConfig to CreateLLMConfigRequest
- Add proper error handling with try-catch
- Fix TypeScript issues with is_global property check
- Maintain backward compatibility with existing callbacks
2025-12-14 20:20:57 +02:00
CREDO23
5b7e5770be feat: migrate createLLMConfig to jotai mutation atom and add query atoms for LLM configs 2025-12-14 20:20:57 +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
waychan23
c19eb46b0d fix: add noopener and noreferer attrs to link element in markdown viewer for security reason 2025-12-13 13:44:27 +08:00
waychan23
2f43042180 [feat] Markdown viewer open links in a new tab. 2025-12-13 10:58:25 +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
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
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
CREDO23
1d49378363 fix: improve scroll behavior and add missing import in SourceDetailSheet
- Added useLayoutEffect import
- Fixed scroll to highlighted chunk behavior
- Added open dependency to useEffect for proper re-triggering
2025-12-08 11:02:01 +00: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
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
e7982ead4e feat: replace getDocumentTypeCounts with useQuery implementation (10min stale time) 2025-12-08 11:02:01 +00:00
CREDO23
42e10bbe55 feat: add useQuery implementation for document fetching in DocumentsDataTable with 3-minute stale time 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
CREDO23
5ad9e718d1 refactor: migrate YouTube tab to use jotai + tanstack query mutation
- Replace imperative authenticatedFetch with createDocumentMutationAtom
- Use mutation's isPending state instead of local isSubmitting state
- Maintain backward compatibility with existing UI behavior
- Keep all validation, error handling, and toast notifications
- Remove dependency on auth-utils for API calls
2025-12-08 11:02:01 +00:00
CREDO23
034e42e15e refactor: update SourceDetailSheet to use useQuery with centralized cache keys
- Replace useDocumentByChunk hook with useQuery implementation
- Use descriptive variable names (isDocumentByChunkFetching, documentByChunkFetchingError)
- Integrate with centralized cache key management
- Update all loading and error state references
- Add 5-minute stale time for document queries
2025-12-08 11:02:01 +00:00
CREDO23
7f80c9c408 feat: migrate document upload to use jotai + tanstack query mutation atom
- Replace imperative fetch API with uploadDocumentMutationAtom in DocumentUploadTab
- Maintain backward compatibility with existing UI behavior
- Remove unused document query atoms from document-query.atoms.ts
- Use mutation state (isPending) for loading state management
- Preserve progress animation and error handling
2025-12-08 11:02:01 +00:00
CREDO23
ecb48ddb03 refactor: replace useDocumentByChunk with useQuery implementation in SourceDetailSheet
- Remove useDocumentByChunk hook dependency
- Use useQuery with centralized cache keys and descriptive variable names
- Replace all document, loading, and error references with new implementation
- Remove manual fetch/clear effects as useQuery handles lifecycle automatically
2025-12-08 11:02:01 +00:00
CREDO23
9bff7a619f refactor: use descriptive variable names for useQuery destructuring in SourceDetailSheet 2025-12-08 11:02:01 +00:00
CREDO23
013bb1547d feat: add useQuery implementation with centralized cache key management in SourceDetailSheet 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
Differ
6b1b8d0f2e feat: add BookStack connector for wiki documentation indexing 2025-12-04 14:08:44 +08:00
DESKTOP-RTLN3BA\$punk
b2a97b39ce refactor: centralize authentication handling
- Replaced direct localStorage token access with a centralized `getBearerToken` function across various components and hooks to improve code maintainability and security.
- Updated API calls to use `authenticatedFetch` for consistent authentication handling.
- Enhanced user experience by ensuring proper redirection to login when authentication fails.
- Cleaned up unused imports and improved overall code structure for better readability.
2025-12-02 01:24:09 -08:00
DESKTOP-RTLN3BA\$punk
9c858a520d refactor: enhance onboarding experience
- Replaced the completion step component with a more streamlined onboarding page that includes action cards for managing teams, adding sources, and starting chats.
- Updated the search space form to make the description field optional and improved validation messages.
- Adjusted the onboarding logic to support auto-configuration of LLM roles and improved loading states.
- Removed unused imports and components to clean up the codebase.
2025-12-02 00:05:28 -08:00
DESKTOP-RTLN3BA\$punk
5587b1270e fix: update API endpoint for fetching editor content
- Changed the API URL in the DashboardBreadcrumb component to include search space ID for fetching editor content, ensuring correct context is used when accessing documents.
2025-11-30 15:15:27 -08:00
DESKTOP-RTLN3BA\$punk
ea94c778c9 refactor: streamline document actions
- Simplified the RowActions component by removing unused imports and replacing the dropdown menu with tooltip buttons for editing, viewing metadata, and deleting documents.
- Updated the JsonMetadataViewer component to support controlled mode for better integration with the RowActions component.
- Adjusted CSS variables for destructive actions in globals.css for improved visual consistency.
2025-11-30 15:06:48 -08:00
Anish Sarkar
b98c312fb1 Merge remote-tracking branch 'upstream/main' into feature/blocknote-editor 2025-11-30 04:10:49 +05:30
DESKTOP-RTLN3BA\$punk
73937f830e chore: updated pricing section 2025-11-28 23:43:03 -08:00