Commit graph

31 commits

Author SHA1 Message Date
Matt Van Horn
134beec392 fix: clear upload progress interval on unmount
Store the progress setInterval ID in a ref and clear it in a
useEffect cleanup. Previously the interval was stored in a local
variable and only cleared in onSuccess/onError callbacks, leaking
if the component unmounted mid-upload.

Fixes #1090
2026-04-03 00:05:06 -07:00
DESKTOP-RTLN3BA\$punk
eb17850274 chore: linting 2026-04-02 19:45:28 -07:00
DESKTOP-RTLN3BA\$punk
62e698d8aa refactor: streamline document upload limits and enhance handling of mentioned documents
- Updated maximum file size limit to 500 MB per file.
- Removed restrictions on the number of files per upload and total upload size.
- Enhanced handling of user-mentioning documents in the knowledge base search middleware.
- Improved document reading and processing logic to accommodate new features and optimizations.
2026-04-02 19:39:10 -07:00
Anish Sarkar
f53e6b3948 refactor: update Alert component styles and structure for improved consistency across connector forms 2026-03-10 19:33:36 +05:30
Anish Sarkar
0a1d0035e6 refactor: update DocumentUploadTab to ensure unique file IDs are generated using a fallback method for compatibility 2026-03-08 21:11:54 +05:30
Anish Sarkar
a65fda359a chore: ran linting 2026-03-08 20:57:29 +05:30
Anish Sarkar
0b028bab49 refactor: update DocumentUploadTab to manage files with unique IDs using UUIDs 2026-03-08 19:48:38 +05:30
Anish Sarkar
77dc6b7c91 feat: implement user settings page with profile and API key management components 2026-03-08 19:36:12 +05:30
Anish Sarkar
c02207e911 refactor: simplify DocumentUploadTab component by removing motion animations and enhancing file display logic for improved performance and readability 2026-03-07 12:31:55 +05:30
DESKTOP-RTLN3BA\$punk
d959a6a6c8 feat: optimize document upload process and enhance memory management
- Increased maximum file upload limit from 10 to 50 to improve user experience.
- Implemented batch processing for document uploads to avoid proxy timeouts, splitting files into manageable chunks.
- Enhanced garbage collection in chat streaming functions to prevent memory leaks and improve performance.
- Added memory delta tracking in system snapshots for better monitoring of resource usage.
- Updated LLM router and service configurations to prevent unbounded internal accumulation and improve efficiency.
2026-02-28 17:22:34 -08:00
DESKTOP-RTLN3BA\$punk
e9892c8fe9 feat: added configable summary calculation and various improvements
- Replaced direct embedding calls with a utility function across various components to streamline embedding logic.
- Added enable_summary flag to several models and routes to control summary generation behavior.
2026-02-26 18:24:57 -08:00
Anish Sarkar
f0d170a595 feat: improve chat renaming functionality with dialog support in sidebar components 2026-02-21 23:59:04 +05:30
DESKTOP-RTLN3BA\$punk
39d65d6166 feat: added incentive credits system 2026-01-26 23:32:30 -08:00
Anish Sarkar
2d17d1a1b6 feat: replace Loader2 with Spinner component for consistent loading indicators 2026-01-25 15:23:45 +05:30
DESKTOP-RTLN3BA\$punk
8aad15d392 Reapply "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 3418c0e026.
2026-01-16 11:32:06 -08:00
DESKTOP-RTLN3BA\$punk
3418c0e026 Revert "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 5963a1125e, reversing
changes made to 0d2a2f8ea1.
2026-01-16 00:49:33 -08:00
Anish Sarkar
ab63b23f0a Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-15 15:52:47 +05:30
DESKTOP-RTLN3BA\$punk
7ae68455b3 chore: linting 2026-01-15 00:05:53 -08:00
DESKTOP-RTLN3BA\$punk
3375aeb9bc feat: add upload limits and validation to DocumentUploadTab component 2026-01-15 00:01:00 -08:00
Anish Sarkar
fede7413fb fix: fixed notifications table and Electric SQL replication setup. Removed redirects for upload button 2026-01-14 02:33:43 +05:30
Anish Sarkar
645e849d93 chore: ran both frontend and backend linting 2026-01-03 00:18:17 +05:30
Anish Sarkar
8c946dfe80 feat: enhance document upload UI with accordion functionality 2026-01-02 16:51:37 +05:30
DESKTOP-RTLN3BA\$punk
2832d57bda chore: linting 2026-01-01 22:56:37 -08:00
Anish Sarkar
43e50e90df chore: ran linting 2026-01-02 04:10:37 +05:30
Anish Sarkar
5ebb9d7aea feat: integrate document upload dialog and enhance dashboard layout
- Added DocumentUploadDialogProvider to manage document upload dialog state across components.
- Updated DashboardClientLayout to include the DocumentUploadDialogProvider for improved user experience.
- Refactored DocumentsTableShell to utilize the new dialog for file uploads instead of navigating to a separate upload page.
- Removed the deprecated upload page and streamlined document upload handling within the dialog.
- Enhanced DocumentUploadTab with improved file type handling and user feedback during uploads.
- Updated GridPattern styling for better visual consistency.
2026-01-02 04:07:13 +05:30
Anish Sarkar
ed6470525a feat: Enhance mobile navbar animations and responsiveness across various components 2025-12-29 00:24:49 +05:30
Anish Sarkar
1d5ee45bd9 style: Adjust UI element and text sizes for improved responsiveness and visual consistency across various components. 2025-12-28 23:59:01 +05:30
DESKTOP-RTLN3BA\$punk
518958e9a7 feat: added posthog 2025-12-25 13:53:41 -08: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
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
8c54ca27d7 refactor(ux): combined sources to one section
- Renamed "Documents" section to "Sources" in the dashboard layout.
- Updated routing for adding sources and managing documents.
- Refactored the connectors and documents upload pages to redirect to the new sources section.
- Added localization support for the new "Sources" terminology in English and Chinese.
2025-11-07 14:28:30 -08:00