feat(web): settings to keep the search open and hide home pickers; collapsible menu sections
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 2m44s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m43s
ci / ts / ts (packages + web) (push) Successful in 1m16s
ci / api / api (push) Successful in 2m27s
ci / db / db (push) Successful in 2m23s

- appearance settings get "collapse search" (off keeps the field always open)
  and separate switches for the activity and mood pickers on the home page;
  stored in ui_prefs (search_collapse, home_activities, home_moods)
- Collection and Admin headers in the sidebar fold their items; the state is
  remembered in the browser, a folded Admin shows the review queue badge;
  icon-only and phone layouts always show every item

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mrleo1nidandClaude Opus 5.5 committed 2026-10-21 08:26:48 +03:00
1 parent 73e642c1ec
commit b27b915b63
13 files changed
+470 -284

No files matched your search

+9
View File
@@ -135,6 +135,15 @@ func MergeUIPrefs(base, patch UIPrefs) UIPrefs {
if patch.SearchPos != nil {
base.SearchPos = patch.SearchPos
}
if patch.SearchFold != nil {
base.SearchFold = patch.SearchFold
}
if patch.HomeActs != nil {
base.HomeActs = patch.HomeActs
}
if patch.HomeMoods != nil {
base.HomeMoods = patch.HomeMoods
}
if patch.MobilePlayer != nil {
base.MobilePlayer = patch.MobilePlayer
}