SurfSense/surfsense_web/hooks
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
..
index.ts feat: Implement Role-Based Access Control (RBAC) for search space resources. 2025-11-27 22:45:04 -08:00
use-api-key.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-chat.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-community-prompts.ts feat: Implement community prompts feature 2025-11-21 16:28:00 -08:00
use-connector-edit-page.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-connectors.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-document-by-chunk.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-document-types.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-documents.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-github-stars.ts feat: Implement LLM configuration validation in create and update routes 2025-11-05 12:15:05 -08:00
use-llm-configs.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-logs.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-media-query.ts biome checks 2025-10-04 12:14:14 -07:00
use-mobile.ts Initial formatting using biome 2025-07-27 10:05:37 -07:00
use-rbac.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-search-source-connectors.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-search-space.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-search-spaces.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00
use-user.ts refactor: centralize authentication handling 2025-12-02 01:24:09 -08:00