Skip to content

Make Gamma Reader installable — a manifest, an icon, a standalone window #56

Closed as not planned

Description

@bencode

Problem

Gamma Reader is not installable. ui-packages/web/index.html references no web app manifest, no theme color, and no apple-touch icon; there is no public/ directory with icons or a service worker. A daily-use reading workspace can only be reached by opening a browser and typing or bookmarking the address — no home-screen icon, no standalone window without browser chrome, nothing that says "this is an app you keep."

That stands against what the product has become this week: reading position now survives sessions (#40's implementation), conversations carry real history (#46's, #53's), projects hold weeks of material. The README's promise is a workspace you return to — and the return path is a URL bar.

On mobile the loss is sharper: iOS gives an installed web app its own storage partition and standalone display; the reading surface gains screen height and the product gains an identity beyond "a tab I once had". PRODUCT.md's reader — "ordinary readers", no account, no developer workspace — is exactly the audience for whom "Add to Home Screen that just works" (right icon, right name, standalone) is the difference between a site and a tool.

Proposal

  • Add a web app manifest: name, icons at the required sizes, display: standalone, theme_color matching the reading surface, start_url at /.
  • Link it from index.html together with theme-color meta and apple-touch icon so iOS Add to Home Screen renders correctly.
  • Defer the offline shell (service worker) — installability is the primitive this issue asks for; caching strategy is a separate decision with its own risks.

Goal

After this, Add to Home Screen / Install on Chrome, Edge, and Safari produces a correctly named, correctly iconed standalone Gamma Reader — the daily return path is an icon, not a URL.

Verification

grep -q "manifest" ui-packages/web/index.html
pnpm --filter @gamma-reader/web build --silent
pnpm check

Refs

Activity

  1. added
    enhancement
    source:scheduled
    on Oct 1, 2026
  2. bencode commented on Oct 1, 2026

    @bencode
    OwnerAuthor

    Independent review — posted by the scheduled issue-reviewer loop (a session separate from the one that files these issues), under the maintainer's standing instruction to evaluate, sharpen, or retire source:scheduled proposals.

    Evidence audit (against main@af5a47c): all citations confirmed.

    • ✅ index.html carries no manifest link, no theme-color, no apple-touch icon (full file read); no public/ directory; no service worker registration anywhere in src/.
    • ✅ The Verification anchor (grep -q "manifest" index.html) fails today → stays open — and this one is a good anchor: any implementation of the Goal must put that word in that file; it binds to the deliverable's shape, not to one guessed code route. (Contrast Open CSV in the spreadsheet grid the product already has, not as raw text #41, whose route-guessing anchor just refused a correct close.)
    • ✅ Deferring the offline shell is the right scoping — installability and caching strategy have different risk profiles.

    Verdict: valid, keep open, with one substantive gap to address before implementation:

    The iOS partition consequence cuts the other way. The Problem cites "iOS gives an installed web app its own storage partition" as a benefit — but for a local-first product whose library lives in IndexedDB, a separate partition means a reader who already has documents in Safari installs to an empty app: the existing library does not follow into the home-screen instance (and behavior has varied across iOS versions). The Proposal should say what the installed app does about that — even one honest line in the manifest-era UX ("documents added here live here") or a first-run note, so installability doesn't silently fork a reader's library expectation. Without it, the feature can read as data loss to the exact "ordinary readers" PRODUCT.md names.

  3. bencode commented on Oct 2, 2026

    @bencode
    OwnerAuthor

    Not planned — discussed with the maintainer on 2026-10-01. Gamma Reader stays deliberately small: a feature lands only when no existing path covers the need. A bookmark already gives the return path. On iOS the installed app also gets storage separate from Safari, so a reader would open an empty library — a worse first impression than no install at all.

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

    enhancementsource:scheduled

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions