Repository navigation
Description
What happened
A profile can hide libraries from navigation in the web app (Settings → Libraries → "Visible in navigation"). The choice is stored in the profile-scoped setting ui.disabled_library_ids. The phone and TV apps don't read that setting, so a library the profile hid still shows in the app's navigation. Opening it shows no titles, because the server's catalog reads already exclude a hidden library for that profile.
This affects profiles without a library limit today. For profiles whose account or profile is limited to certain libraries, the server currently leaves hidden libraries out of GET /api/v2/user/libraries, which happens to hide them in the app too. That default stays as it is after Silo-Server/silo-server#2058, which adds an opt-in include_hidden parameter for the web settings page.
Steps to reproduce
- With a profile that has no library limit, open Settings → Libraries in the web app and turn off "Visible in navigation" for one library.
- Open the app with the same profile.
- The hidden library is still listed in navigation, and opening it shows nothing.
Expected behavior
The app leaves out of navigation and library pickers every library listed in the profile's ui.disabled_library_ids, the way the web app does (filterVisibleLibraries in web/src/hooks/queries/libraries.ts). It picks up a change made on another device without a restart, for example through the existing settings refresh or the user_settings.changed realtime event.
Device
Phone and TV
Silo server version
Any current server; behavior confirmed against main.
Technical notes
PersonalDataApi reads GET /api/v2/user/libraries; the TV shell filters the result with visibleOnTv(), which filters by media type only. Nothing in the app reads UI_DISABLED_LIBRARY_IDS (it appears only in SettingKeys.kt and the diagnostics bundle).
Scope for the fix:
- Read
ui.disabled_library_ids(profile scope) with the other viewer settings and drop those IDs from the library list used for navigation and pickers. - Don't send
include_hiddenfor navigation. The app needs it only if it adds a screen for showing hidden libraries again; that screen is not part of this issue. ui.library_order(the web's library order) is out of scope.
Related: Silo-Server/silo-server#2055, Silo-Server/silo-server#2058
AI harness
Claude Code (T3 Code)
AI tool(s)
Claude Code
AI model(s)
claude-opus-5-5
AI involvement
Fully AI-generated. A maintainer asked for this issue; the agent found the gap by reading the app and server source.
Independent or adversarial review
The gap was raised independently by gpt-6.1-sol (Codex) and Claude review agents while reviewing Silo-Server/silo-server#2058.
Confirmations
- I searched open and recently closed issues and pull requests, and this is not already reported
- I reproduced this myself on the device and app version above
Activity
fix(libraries): leave hidden libraries out of navigation on phone and…