Skip to content

Show the advisory age on item detail, behind the profile setting #375

Open

Description

@Quick104

Server PR Silo-Server/silo-server#1417 adds a display-only advisory age to /api/v2. This client needs the badge and the toggle that gates it.

What the server sends

Catalog items (cards and the detail document) gained two optional fields:

  • advisory_age — recommended minimum viewer age, e.g. 13
  • advisory_source — who recommended it: commonsense or mdblist

They appear only together, and only on items an advisory provider has enriched. Coverage is partial by design: the provider is rate limited per day, so on a large library some titles carry one and most do not. Absent means "not fetched yet", never "suitable for everyone".

This is advice, not a restriction

advisory_age must not filter, gate, hide, or sort anything, and it must not be presented as a rating a viewer has to satisfy. content_rating remains the certification a rating body issued, and it alone drives the server's content-rating ceiling. A profile's access is identical whether or not an advisory is present.

The server enforces this — the advisory reaches no access check — so the only way it could become a restriction is a client deciding to treat it as one.

Work

  1. Render the advisory on item detail beside the certification, attributed to its source. The web client shows Common Sense 10+ with a tooltip reading "Common Sense suggests age 10 and up. This is advice, not a restriction." Match that intent; match platform conventions for the rest.
  2. Add the per-profile toggle that gates it: catalog.show_advisory_age in the settings contract, boolean, profile scope, default off, introduced in manifest revision 10. Render nothing when it is off, and nothing on a server whose manifest predates revision 10.
  3. Detect support by reading the key from the settings contract capabilities rather than sniffing versions.
  4. Run make apiv2-fixtures-sync from the server checkout to pick up the vendored fixtures; the contract digest moved.

Open question

Whether commonsense genuinely means "this age came from Common Sense Media" rests on the plugin's reading of one MDBList response field. It is worth confirming before the label ships in a client. Falling back to a bare 10+ for an unrecognized source is what the web client does.

Activity

  1. added
    enhancement
    on Sep 24, 2026
  2. Quick104 commented on Sep 25, 2026

    @Quick104
    ContributorAuthor

    Silo-Server/silo-server#1441 adds an opt-in strict mode to the advisory-age limit. Please cover it alongside the badge and the limit editor.

    What changed on the server

    • Profile.require_advisory_age (boolean, always present on v2 profiles). With a max_advisory_age limit set, it hides titles that have no advisory age too, so the profile sees only titles rated at or under the limit. It has no effect without a limit.
    • createProfile and updateProfile accept it as an optional boolean. Null is rejected.
    • listProfiles reports require_advisory_age_supported. This is separate from max_advisory_age_supported: a server can support the limit and not this. The profile operations reject unknown members, so check the flag before sending the field.

    Client work

    1. In the profile editor, show a switch under the advisory-age limit ("Hide titles without an advisory age" on web), only when a limit is chosen and the server reports support.
    2. When the limit is cleared, send require_advisory_age: false with it, so a later limit doesn't come back strict without warning.
    3. Warn that a strict profile may see few titles at first: advisory ages are looked up over days on a large library.
    4. Run make apiv2-fixtures-sync from the server checkout; the profile fixtures moved.

    Enforcement is server-side, so strict profiles are already filtered in every app once the server ships. Only the editor control is client work.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions