dae9e25f
web: sectioned /settings with saved-searches CRUD
Add four TanStack Query hooks (useSavedSearches, useCreateSavedSearch, useUpdateSavedSearch, useDeleteSavedSearch) backed by IF3 contract. Introduce apiFetchVoid in client.ts for the 204 No Content DELETE path. Replace the placeholder /settings route with a two-column sectioned shell (SectionRail + SavedSearchesSection); Display section is disabled pending #8.
Eugene Blikh <bigbes@gmail.com> — 2026-04-26 13:47:51 UTC
Commit dae9e25f7020a566979b2b93fa1b11bcaef23a11 —
view raw patch
Parent(s):
12df3f43
| File | Status | + | − |
|---|---|---|---|
internal/server/web/dist/index.html
|
M | +2 | -2 |
web/src/api/client.ts
|
M | +31 | |
web/src/features/settings/SavedSearchesSection.tsx
|
A | +227 | |
web/src/features/settings/SectionRail.tsx
|
A | +57 | |
web/src/features/settings/useSavedSearches.test.ts
|
A | +94 | |
web/src/features/settings/useSavedSearches.ts
|
A | +79 | |
web/src/routes/settings.tsx
|
M | +19 | -4 |
web/src/styles/settings.css
|
A | +225 |