Commit graph

1716 commits

Author SHA1 Message Date
CREDO23
0c0491cd49 feat: add updateLLMPreferencesMutationAtom to handle LLM preferences updates 2025-12-14 20:17:27 +02:00
CREDO23
1aa10db910 feat: add deleteLLMConfigMutationAtom and fix cache key usage in all LLM config mutations 2025-12-14 20:17:27 +02:00
CREDO23
737169248e feat: add updateLLMConfigMutationAtom to llm-config mutations 2025-12-14 20:17:27 +02:00
CREDO23
2200d7b63c feat: add LLM config cache keys and create mutation atom 2025-12-14 20:17:27 +02:00
CREDO23
03279a2836 feat: implement updateLLMPreferences method in llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
54214e3d1c feat: add getLLMPreferences method to llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
2be09c50ae feat: add deleteLLMConfig method to llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
caec63f338 feat: add updateLLMConfig method to llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
6b1805bde4 feat: add getLLMConfig method to llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
d202c3ebac feat: add getLLMConfigs method to llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
0c39242abb feat: add createLLMConfig method to llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
506419597e fix: adjust llm-config type constraints for api_base and language fields 2025-12-14 20:17:27 +02:00
CREDO23
cb8e4ab1b7 feat: add llm-config API service with getGlobalLLMConfigs endpoint 2025-12-14 20:17:27 +02:00
CREDO23
66e0d31f68 feat: add update LLM preferences request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
9395787ac0 feat: add get LLM preferences request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
ac667efde8 feat: add delete LLM config request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
1c5fba952d feat: add update LLM config request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
a8b994241d feat: add get LLM config by ID request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
c065824d02 feat: add get LLM configs request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
a4f0b21529 feat: add create LLM config request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
47efd9c45d feat: add global LLM config schemas with proper structure 2025-12-14 20:17:27 +02:00
CREDO23
1d2d8d8b74 feat: add LLM config types with zod schema 2025-12-14 20:17:27 +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
d44649ad52 fix: CVE-2025-55183 2025-12-12 12:22:22 -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
3207fbf9ea feat(fix): add PAGES_LIMIT configuration for ETL services 2025-12-11 00:29:56 -08:00
DESKTOP-RTLN3BA\$punk
ede9dd010b fix: recurse 2025-12-10 14:46:26 -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
DESKTOP-RTLN3BA\$punk
b8478f2ec0 chore: improved configuration management and logging 2025-12-09 00:53:55 -08:00
DESKTOP-RTLN3BA\$punk
5b0d2f82e6 try: docker all in one image 2025-12-08 20:45:20 -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
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
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
e5d1598270 refactor: remove unused use-document-by-chunk hook
- Delete use-document-by-chunk.ts file
- Remove export from hooks index
- Hook has been replaced with useQuery implementation in SourceDetailSheet
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