Commit graph

19 commits

Author SHA1 Message Date
CREDO23
9d7259aab9 feat(web): add public chat and thread API types and services 2026-01-26 16:11:55 +02:00
DESKTOP-RTLN3BA\$punk
f22d649239 feat: added shared chats 2026-01-13 00:17:12 -08:00
DESKTOP-RTLN3BA\$punk
73a57589ac chore: linting 2026-01-12 14:17:15 -08:00
DESKTOP-RTLN3BA\$punk
7ac7cd5f99 fix: improve error handling for unauthorized responses and response parsing in BaseApiService 2026-01-12 12:47:08 -08:00
Anish Sarkar
7e7030ef46 chore: fixed linting 2025-12-27 00:03:03 +05:30
Anish Sarkar
30aa44bb91 refactor: update BaseApiService to use dynamic bearer token retrieval
- Replaced static bearerToken property with a getter that retrieves the token from localStorage.
- Updated constructor to remove bearerToken parameter for cleaner initialization.
- Maintained setBearerToken method for backward compatibility, now a no-op.
2025-12-26 23:03:19 +05:30
DESKTOP-RTLN3BA\$punk
b25c1cd4b4 feat: migrated from zod v3 to v4 2025-12-20 05:10:47 -08: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
thierryverse
5a887e9243 add documents api service 2025-12-08 11:02:00 +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
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
thierryverse
7223a7b04d update api services 2025-11-20 08:17:56 +02:00
thierryverse
b2da1aa8e9 extends the base apis to support blob response 2025-11-20 08:17:56 +02:00
thierryverse
b35a5aa589 update login form 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
77d49ca11c add zod schemas & inferences 2025-11-17 08:09:17 +02:00
thierryverse
7221659de7 add a flexible base api service 2025-11-17 08:09:17 +02:00