Commit graph

1716 commits

Author SHA1 Message Date
CREDO23
ae1cd09013 refactor: delete unused search space hooks and update exports 2025-12-15 08:18:35 +00:00
CREDO23
291bb0369a refactor: migrate dashboard-breadcrumb to useQuery and remove obvious comments 2025-12-15 08:18:35 +00:00
CREDO23
1172a91a07 refactor: migrate AppSidebarProvider to use useQuery for search space fetch 2025-12-15 08:18:35 +00:00
CREDO23
6be93182a1 refactor: migrate prompt-config-manager to use useQuery for search space fetch 2025-12-15 08:18:35 +00:00
CREDO23
734265c645 feat: migrate dashboard page to use searchSpacesAtom and deleteSearchSpaceMutationAtom 2025-12-15 08:18:35 +00:00
CREDO23
4aa026cae4 feat: migrate searchspaces page to use createSearchSpaceMutationAtom 2025-12-15 08:18:35 +00:00
CREDO23
862288367d feat: add deleteSearchSpaceMutationAtom 2025-12-15 08:18:35 +00:00
CREDO23
a820598cfd fix: convert id to string for cache key detail function 2025-12-15 08:18:35 +00:00
CREDO23
46061f64ee fix: correct UpdateSearchSpaceRequest structure in mutation atom 2025-12-15 08:18:35 +00:00
CREDO23
d3dd2fc886 feat: add updateSearchSpaceMutationAtom 2025-12-15 08:18:35 +00:00
CREDO23
00b5b7dec8 refactor: merge search space query atoms into single file 2025-12-15 08:18:35 +00:00
CREDO23
2f2898f0c3 refactor: merge seach-spaces and search-spaces folders, fix typo 2025-12-15 08:18:35 +00:00
CREDO23
6bac012474 feat: add createSearchSpaceMutationAtom 2025-12-15 08:18:35 +00:00
CREDO23
3fafb18089 refactor: remove unnecessary comments from search-space types 2025-12-15 08:18:35 +00:00
CREDO23
fc08f721b0 feat(search-spaces): add communityPromptsAtom and remove obvious comments 2025-12-15 08:18:35 +00:00
CREDO23
b4874111e2 fix(search-spaces): correct pagination params to use skip/limit instead of page/page_size 2025-12-15 08:18:35 +00:00
CREDO23
58a14f422d feat(search-spaces): add searchSpacesAtom query atom for fetching search spaces list 2025-12-15 08:18:35 +00:00
CREDO23
edfe2aa87e feat(search-spaces): add cache keys for search spaces and llm configs 2025-12-15 08:18:35 +00:00
CREDO23
172f58f742 feat(search-spaces): add deleteSearchSpace endpoint to API service 2025-12-15 08:18:35 +00:00
CREDO23
80357d450b feat(search-spaces): add updateSearchSpace endpoint to API service 2025-12-15 08:18:35 +00:00
CREDO23
646065d745 feat(search-spaces): add getSearchSpace endpoint to API service 2025-12-15 08:18:35 +00:00
CREDO23
1d6bfe1e29 feat: add getCommunityPrompts endpoint to API service 2025-12-15 08:18:35 +00:00
CREDO23
f983d1f7ff feat: add createSearchSpace endpoint to API service 2025-12-15 08:18:35 +00:00
CREDO23
c43cd16dab feat: add search spaces API service with getSearchSpaces endpoint 2025-12-15 08:18:35 +00:00
CREDO23
3ef860fb1c feat: add delete search space zod schemas 2025-12-15 08:18:35 +00:00
CREDO23
0f531ee723 feat: add search space zod schemas for GET and PUT endpoints 2025-12-15 08:18:35 +00:00
DESKTOP-RTLN3BA\$punk
7de87ada81 chore: recurse 2025-12-14 22:32:13 -08:00
DESKTOP-RTLN3BA\$punk
f0a6c348d1 fix: update llm-config types to allow nullable created_at and updated_at fields 2025-12-14 22:23:16 -08:00
CREDO23
088e8afced restore uv.lock to upstream dev 2025-12-14 20:38:30 +02:00
CREDO23
90f4ce61b5 refact: format web project with biome 2025-12-14 20:33:15 +02:00
CREDO23
be381c833e cleanup 2025-12-14 20:22:00 +02:00
CREDO23
3e8cdabd73 refactor: complete migration of useLLMPreferences hook to jotai atoms
- Migrated llm-role-manager.tsx to use jotai atoms
- Fixed TypeScript errors in llm-role-manager.tsx
- Deleted unused use-llm-configs.ts file
- All LLM preferences now use centralized jotai + tanstack query atoms
2025-12-14 20:22:00 +02:00
CREDO23
e59c920625 refactor: migrate setup-llm-step.tsx from useLLMPreferences hook to jotai atoms 2025-12-14 20:22:00 +02:00
CREDO23
1d0be3a640 refactor: migrate ChatInputGroup.tsx from useLLMPreferences hook to jotai atoms 2025-12-14 20:22:00 +02:00
CREDO23
ce90672250 chore: commit all changes 2025-12-14 20:22:00 +02:00
CREDO23
eb448d8a5b refactor: migrate client-layout.tsx from useLLMPreferences hook to jotai atoms 2025-12-14 20:22:00 +02:00
CREDO23
15fdfeb3cf chore: commit all changes 2025-12-14 20:22:00 +02:00
CREDO23
5d380faaad fix: update LLM preferences mutation call signature in onboard page 2025-12-14 20:22:00 +02:00
CREDO23
3a65277e8b feat(llm-config): add llmPreferencesAtom query atom for fetching LLM preferences 2025-12-14 20:22:00 +02:00
CREDO23
194b17500e feat(llm-config): complete migration of useGlobalLLMConfigs to globalLLMConfigsAtom
- Removed unused import from model-config-manager.tsx
- Deleted useGlobalLLMConfigs hook (no longer used anywhere)
- All 5 components now using jotai + tanstack query pattern
- Full backward compatibility maintained
2025-12-14 20:22:00 +02:00
CREDO23
62fcec425b feat(llm-config): replace useGlobalLLMConfigs with globalLLMConfigsAtom in llm-role-manager 2025-12-14 20:22:00 +02:00
CREDO23
4eb521e156 feat(llm-config): replace useGlobalLLMConfigs with globalLLMConfigsAtom in setup-llm-step 2025-12-14 20:22:00 +02:00
CREDO23
636db67d65 feat(llm-config): replace useGlobalLLMConfigs with globalLLMConfigsAtom in ChatInputGroup 2025-12-14 20:22:00 +02:00
CREDO23
c91c83d40d feat(llm-config): replace useGlobalLLMConfigs with globalLLMConfigsAtom in onboard page 2025-12-14 20:22:00 +02:00
CREDO23
80d6696310 feat(llm-config): remove unused useLLMConfigs hook - completely migrated to jotai + tanstack query 2025-12-14 20:22:00 +02:00
CREDO23
c3dd3de6f6 refactor: migrate ChatInputGroup to jotai + tanstack query pattern
- Replace useLLMConfigs hook with llmConfigsAtom
- Map properties correctly (data, isFetching, isError)
- Fix TypeScript issue with is_global property check
- Keep useGlobalLLMConfigs and useLLMPreferences unchanged
- Maintain backward compatibility with existing functionality
2025-12-14 20:22:00 +02:00
CREDO23
85f00bd364 refactor: migrate llm-role-manager to jotai + tanstack query pattern
- Replace useLLMConfigs hook with llmConfigsAtom
- Map properties correctly (data, isFetching, isError, refetch)
- Fix onClick handler for refreshConfigs to use arrow function
- Fix TypeScript issue with is_global property check
- Maintain backward compatibility with existing functionality
- Keep useGlobalLLMConfigs and useLLMPreferences unchanged as requested
2025-12-14 20:20:57 +02:00
CREDO23
f1de17dac2 fix: resolve merge conflicts after rebase from upstream/dev 2025-12-14 20:20:57 +02:00
CREDO23
63b0bb2472 refactor: migrate setup-llm-step to jotai + tanstack query pattern
- Replace imperative useLLMConfigs hook with jotai atoms
- Use createLLMConfigMutationAtom for config creation
- Use deleteLLMConfigMutationAtom for config deletion
- Use llmConfigsAtom for fetching configs
- Update types from CreateLLMConfig to CreateLLMConfigRequest
- Add proper error handling with try-catch
- Fix TypeScript issues with is_global property check
- Maintain backward compatibility with existing callbacks
2025-12-14 20:20:57 +02:00
CREDO23
5b7e5770be feat: migrate createLLMConfig to jotai mutation atom and add query atoms for LLM configs 2025-12-14 20:20:57 +02:00