Commit graph

12 commits

Author SHA1 Message Date
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