Skip to content

[bug] Hidden libraries still show in navigation #515

Closed

Description

@Quick104

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

  1. With a profile that has no library limit, open Settings → Libraries in the web app and turn off "Visible in navigation" for one library.
  2. Open the app with the same profile.
  3. 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_hidden for 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

  1. added
    bug
    on Oct 8, 2026
  2. added a commit that references this issue on Oct 8, 2026
    cad4d0b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions