Commit graph

257 commits

Author SHA1 Message Date
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
DESKTOP-RTLN3BA\$punk
111323b3b3 feat: UX improvement
- Added "Add Sources" button in ChatInputGroup for easier document management.
- Introduced a "Manage Team" card in CompletionStep to facilitate team collaboration.
- Updated UI elements for better visual feedback and interaction.
- Removed unused role examples in LLMRoleManager for cleaner code.
2025-11-28 23:39:07 -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
DESKTOP-RTLN3BA\$punk
ab6ea7e0ab feat(UI): reorganized connectors 2025-11-26 13:44:38 -08:00
Anish Sarkar
3fac196c35 code quality issues fixed 2025-11-23 16:39:23 +05:30
Anish Sarkar
abbaa848f3 changed UI for the blocknote editor with dark/light mode 2025-11-23 16:24:11 +05:30
Anish Sarkar
e68286f22e introduced blocknote editor 2025-11-23 15:23:31 +05:30
samkul-swe
121e2f0c0e Renaming resources 2025-11-22 19:19:00 -08:00
samkul-swe
896e410e2a Webcrawler connector draft 2025-11-21 23:27:21 -08:00
DESKTOP-RTLN3BA\$punk
70f3381d7e feat: Implement community prompts feature
- Added a new endpoint to fetch community-curated prompts in `search_spaces_routes.py`.
- Enhanced `SetupPromptStep` and `PromptConfigManager` components to display and utilize community prompts.
- Introduced UI elements for selecting and applying prompts, including categories and expandable views.
- Improved state management for selected prompts and custom instructions.
2025-11-21 16:28:00 -08:00
thierryverse
0ea974316b update generate podcast mutation 2025-11-20 08:17:57 +02:00
thierryverse
d2fddd5ea5 add getPodcasts query atom 2025-11-20 08:17:57 +02:00
thierryverse
7560ea1426 replace imperative fetch in the reseacher page 2025-11-20 08:17:57 +02:00
thierryverse
db58571751 update chat api service 2025-11-20 08:17:57 +02:00
thierryverse
1a954bc184 Add delete podcast api service 2025-11-20 08:17:57 +02:00
thierryverse
bf94903459 fix hot reloads issue in dev mode 2025-11-20 08:17:57 +02:00
thierryverse
20cd1951b5 add podcast api service 2025-11-20 08:17:56 +02:00
thierryverse
5361290315 refactor podcast api calls 2025-11-20 08:17:56 +02:00
DESKTOP-RTLN3BA\$punk
6648409237 feat: Added Search Space System Instructions
- Added `citations_enabled` and `qna_custom_instructions` fields to the SearchSpace model for better QnA configuration.
- Updated the creation and update schemas to handle new fields with appropriate defaults.
- Refactored QnA handling in the agent to utilize the new SearchSpace fields for improved response customization.
- Adjusted UI components to include settings for managing QnA configurations.
- Enhanced onboarding process to incorporate prompt setup as an optional step.
2025-11-19 15:04:46 -08:00
thierryverse
62df67b93b clean up 2025-11-17 08:10:12 +02:00
thierryverse
41a938cec0 Refactor register page 2025-11-17 08:10:12 +02:00
thierryverse
81ee04c2a5 format with biome 2025-11-17 08:10:12 +02:00
thierryverse
78ab020d80 organize seach space apis 2025-11-17 08:09:17 +02:00