Commit graph

43 commits

Author SHA1 Message Date
JoeMakuta
03a24686fe feat: implement map and find optimization 2026-04-01 18:47:57 +02:00
CREDO23
0e49cc33f8 format: auto-fix via pnpm format:fix 2026-03-24 16:07:28 +02:00
CREDO23
cf21eaacfc fix: critical timestamp parsing and audit fixes
- Fix timestamp conversion: String(epochMs) → new Date(epochMs).toISOString()
  in use-messages-sync, use-comments-sync, use-documents, use-inbox.
  Without this, date comparisons (isEdited, cutoff filters) would fail.
- Fix updated_at: undefined → null in use-inbox to match InboxItem type
- Fix ZeroProvider: skip Zero connection for unauthenticated users
- Clean 30+ stale "Electric SQL" comments in backend Python code
2026-03-23 19:49:28 +02:00
CREDO23
833fbb2a76 feat: rewrite use-documents hook from Electric to Zero
Keep all API calls (initial load, pagination, type counts, user
enrichment). Replace Electric sync+PGlite with Zero useQuery for
real-time deltas. Remove baseline dedup. 511 → 361 lines.
2026-03-23 19:16:38 +02:00
DESKTOP-RTLN3BA\$punk
d61e29e74b feat: fixed connectors dialog navigation, Implement bulk document deletion and improve search space filtering
- Added bulk delete functionality for documents in DocumentsTableShell and DocumentsSidebar.
- Enhanced search space retrieval to exclude spaces marked for deletion in read_search_spaces.
- Updated connector dialog to synchronize URL parameters when opened externally.
- Improved layout behavior to handle search space deletion and redirection more effectively.
2026-03-11 15:09:10 -07:00
Anish Sarkar
74c95ee61f feat: update ChatListItem UI for improved styling and accessibility; increase initial page size in use-documents hook 2026-03-10 11:49:06 +05:30
Anish Sarkar
9945d16b17 chore: ran biome checks 2026-03-07 12:57:27 +05:30
Anish Sarkar
f8b0e946ce chore: ran linting 2026-03-07 04:46:48 +05:30
Anish Sarkar
378c72c564 feat: introduce baseline utility functions for tracking new items in useDocuments and useInbox hooks, improving accuracy in handling Electric updates and timestamps 2026-03-06 21:20:20 +05:30
Anish Sarkar
3e4db20bcb fix: update baseline logic in useDocuments and useInbox hooks to accurately track new items and unread counts, addressing timing issues with Electric updates 2026-03-06 20:21:28 +05:30
Anish Sarkar
be0bfb3d56 refactor: integrate useDocumentSearch hook into DocumentsSidebar for improved search functionality and performance, while enhancing user feedback with localized toast messages 2026-03-06 12:52:22 +05:30
Anish Sarkar
62c4a3befc refactor: simplify document mapping in DocumentsSidebar by introducing toDisplayDoc utility function for improved readability and maintainability 2026-03-06 12:35:39 +05:30
Anish Sarkar
91463b3701 chore: ran linting 2026-03-06 12:17:57 +05:30
Anish Sarkar
889af57d3f refactor: simplify DocumentsTableShell and DocumentsSidebar components by removing unused column visibility state and optimizing document loading logic in useDocuments hook 2026-03-06 12:12:03 +05:30
Anish Sarkar
b7ca656823 refactor: enhance DocumentsFilters and DocumentsTableShell components by replacing icons for improved clarity and optimizing loading state management in useDocuments hook 2026-03-06 11:59:29 +05:30
Anish Sarkar
dc6c18b3f6 refactor: add sorting functionality to document retrieval and enhance DocumentsSidebar for improved search and pagination handling 2026-03-06 11:22:33 +05:30
DESKTOP-RTLN3BA\$punk
1bb9f479e1 feat: refactor document fetching and improve comment batching
- Replaced the useDocuments hook with React Query for better caching and deduplication of document requests.
- Updated the ConnectorIndicator component to fetch document type counts using a new atom for real-time updates.
- Enhanced the useComments hook to manage batch requests more effectively, reducing race conditions and improving performance.
- Set default query options in the query client to optimize stale time and refetch behavior.
2026-02-28 01:54:54 -08:00
Anish Sarkar
f3652ad7cf feat: add created_by_email field to document schema and update related components for improved user information display 2026-02-21 23:41:00 +05:30
DESKTOP-RTLN3BA\$punk
b9159a8329 feat: fixed bugs 2026-02-15 23:36:20 -08:00
Anish Sarkar
e01717c65d refactor: update document filtering logic to maintain complete dataset and clear selections on filter change 2026-02-06 15:47:07 +05:30
Anish Sarkar
aa66928154 chore: ran linting 2026-02-06 05:35:15 +05:30
Anish Sarkar
aef59d04eb feat: add document status management with JSONB column for processing states in documents 2026-02-05 21:59:31 +05:30
Anish Sarkar
d5fd4c2863 refactor: change page size parameter to -1 for fetching all documents in useDocuments hook 2026-02-04 23:19:45 +05:30
Anish Sarkar
c19aa5fa99 feat: implement real-time document updates and lazy loading for document content in DocumentsTable and DocumentsTableShell 2026-02-04 22:25:42 +05:30
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
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
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
ecd07d6155 refactor: update API endpoint paths to remove trailing slashes
- Modified various FastAPI route definitions to remove trailing slashes for consistency across the application.
- Updated corresponding fetch calls in the frontend to align with the new endpoint structure.
- Ensured that all affected routes maintain their functionality without trailing slashes.
2025-10-31 01:33:01 -07:00
DESKTOP-RTLN3BA\$punk
18adf79649 feat(fix): document type filtering 2025-10-21 21:53:55 -07:00
Anish Sarkar
55d752e3c8 feat: added elasticsearch connector 2025-10-12 09:39:04 +05:30
MSI\ModSetter
898fc884a9 chore: biome & ruff checks 2025-10-01 18:50:36 -07:00
Ryuhane
9973d51245
Merge branch 'dev' into dev 2025-10-01 14:00:06 -07:00
Natsume Ryuhane
797fe26f53
Implemented serverside pagination;
Enabled searchspace file mgmt panel to use serverside pagination;
2025-10-01 13:05:22 -07:00
samkul-swe
9d2b808e66 Added Luma connector 2025-09-28 14:59:10 -07:00
CREDO23
6b8295c133 update ui icons /e enums / etc with airtable data 2025-08-26 19:18:53 +02:00
MSI\ModSetter
f903be9e69 docs: added confluence connector info 2025-07-29 11:46:40 -07:00
Utkarsh-Patel-13
3164c0c8cc Biome: fixes for hooks & lib directory 2025-07-27 10:44:27 -07:00
Utkarsh-Patel-13
758603b275 Initial formatting using biome 2025-07-27 10:05:37 -07:00
Utkarsh-Patel-13
06321d0b34 Fixed: Data table selction on filter & added jira connector 2025-07-25 20:05:29 -07:00
Utkarsh-Patel-13
d8797b4f71 lazy loading fix for useDocument 2025-07-22 17:02:18 -07:00
Utkarsh-Patel-13
3f051b0a19 Added document selection and document selection dialog to new chat interface 2025-07-22 14:06:10 -07:00
DESKTOP-RTLN3BA\$punk
2008b07304 fix: Docs & Chats in other search spaces 2025-04-17 23:19:56 -07:00
DESKTOP-RTLN3BA\$punk
a1474ca49e feat: monorepo 2025-04-07 23:47:06 -07:00