You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: release-notes deep links across the updater UI (#35)
Adds a harnessReleaseNotesUrl(version) helper plus HARNESS_SITE_URL /
HARNESS_SITE_RELEASES_URL constants, and wires version-anchored
release-notes links throughout:
- site/public/releases.html: every version <h2> is now a self-link
to its #vX.Y.Z anchor with a hover-revealed link icon; release.sh
generates the same markup (and id anchor) for new entries.
- Settings → Updates: the current version and the updater status
messages ("Harness ### available / downloading / ready to install")
link to that version's release notes.
- The top update-ready banner's "Harness ###" text links too.
Dev tooling: a dev-gated updater:devSimulate handler + buttons in
Settings → Updates to fake updater states (the auto-updater is a
no-op in dev), and `version` added to the 'downloading' updater
status so the link resolves mid-download.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: scripts/release.sh
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -177,6 +177,8 @@ div opening, before the first existing release section).
177
177
178
178
Rules:
179
179
- Match the exact HTML structure, CSS classes, and formatting of existing entries.
180
+
- The new <section class=\"release-section py-10\"> MUST include id=\"${TAG}\" (e.g. id=\"v1.2.3\") so it can be deep-linked from the in-app updater UI.
181
+
- The version <h2> MUST wrap its text in a self-link matching existing entries, e.g.: <h2 class=\"text-3xl font-bold tracking-tight\"><a href=\"#${TAG}\" class=\"release-anchor\">${TAG}<span class=\"anchor-icon\">🔗</span></a></h2>
180
182
- Rewrite commit messages into user-facing release notes. Write for users, not developers.
181
183
- Group under h4 headings: \"New features\", \"Improvements\", \"Fixes\" — only include sections that have content.
182
184
- Skip meta commits: version bumps, README updates, CI fixes, squash labels.
0 commit comments