Skip to content

docs: refresh listings descriptions (snap, README, binary size)#25

Merged
aydiler merged 1 commit into
mainfrom
chore/listings-refresh
May 24, 2026
Merged

docs: refresh listings descriptions (snap, README, binary size)#25
aydiler merged 1 commit into
mainfrom
chore/listings-refresh

Conversation

@aydiler
Copy link
Copy Markdown
Owner

@aydiler aydiler commented May 24, 2026

Summary

  • README.md — adds Shift+Scroll-over-table row to view shortcuts table (v0.1.11 was missing).
  • snap/snapcraft.yaml — description was last touched around v0.1.3; missing Ctrl+F search (v0.1.4), resizable table columns (v0.1.5), full-width content toggle (v0.1.6), click-to-enlarge images/diagrams (v0.1.7), math rendering, and Shift+wheel table horizontal scroll (v0.1.11). Now matches the structure of the existing hand-curated store listing description, with the new features added.
  • CLAUDE.md / docs/TARGET_METRICS.md — corrects stale ~8.7MB binary size to ~35 MB release / ~7 MB snap. README.md was already accurate; the two internal docs lagged.
  • .github/workflows/release.yml — adds snapcraft push-metadata --from-yaml --force after the snap publish step. The Snap Store listing description is curated separately from the snap upload; without push-metadata, yaml description edits don't propagate. With this step, future releases sync the store description automatically.

One-time manual step still needed

The v0.1.11 release CI run is in flight as I write this and won't pick up the new push-metadata step (workflow code is read from the tag commit, which predates this PR). After this PR merges, the snap store listing will still show the old short description until the next release ships, OR until a manual one-time push:

snapcraft login   # or set SNAPCRAFT_STORE_CREDENTIALS
snapcraft push-metadata md-viewer_0.1.11_amd64.snap --from-yaml --force

From v0.1.12 onwards CI handles it.

Test plan

  • python3 -c "import yaml; yaml.safe_load(open('snap/snapcraft.yaml'))" parses cleanly
  • Next release (or one-time manual push) flips the snap store description to the expanded version
  • snapcraft push-metadata step succeeds in CI on the next release

- README.md: add Shift+Scroll-over-table row to view shortcuts (v0.1.11).
- snap/snapcraft.yaml: expand description with features added since v0.1.3
  (search Ctrl+F, resizable table columns, full-width toggle, click-to-
  enlarge images & diagrams, math rendering, Shift+wheel table scroll).
  Match the structure of the existing store-listing description.
- CLAUDE.md + docs/TARGET_METRICS.md: correct stale ~8.7MB binary size to
  ~35 MB (release build) / ~7 MB (snap compressed); matches the value in
  README.md which was already accurate.
- .github/workflows/release.yml: add `snapcraft push-metadata --from-yaml
  --force` step after the snap publish so future yaml description edits
  propagate to the Snap Store listing automatically. The store listing
  was hand-curated and previously diverged silently from the yaml.
@aydiler aydiler merged commit 52be801 into main May 24, 2026
2 checks passed
aydiler added a commit that referenced this pull request May 24, 2026
One-shot resync for cases where the snap store description has drifted
from snap/snapcraft.yaml (e.g. when a release predates the auto-push step
added in PR #25). Trigger via 'gh workflow run snap-push-metadata.yml'.

The release.yml publish-snap job handles this automatically from v0.1.12
onward; this workflow exists for manual one-offs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant