[PR #11542] feat(tui): Add clickable version number to see release notes + register /changelog slash command. #13829

Open
opened 2026-02-16 18:18:39 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11542

State: open
Merged: No


What does this PR do?

Adds a clickable version tag in the TUI footer that opens a scrollable dialog displaying the current version's release notes fetched from GitHub. Closes #9826

Users previously had no way to see what changed in their current OpenCode version without leaving the CLI. This provides immediate access to release information right where users work.

  • Added new utility file: changelog.ts with getReleaseNotes() function that fetches release notes from GitHub API
  • Persistent caching via Storage namespace (1-hour TTL) to avoid repeated API calls
  • Added VersionTag component that shows version with hover (white) when release changelog available
  • DialogChangelog component displaying formatted release notes using <code> component
  • Registered /changelog slash command for keyboard access
  • Updated version displays in sidebar, header, and home screen to use clickable VersionTag

How did you verify your code works?

  • Click version tag in footer → scrollable dialog opens with release notes
  • Type /changelog → same dialog opens
screenshot-01
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11542 **State:** open **Merged:** No --- ### What does this PR do? Adds a clickable version tag in the TUI footer that opens a scrollable dialog displaying the current version's release notes fetched from GitHub. Closes #9826 Users previously had no way to see what changed in their current OpenCode version without leaving the CLI. This provides immediate access to release information right where users work. - Added new utility file: `changelog.ts` with `getReleaseNotes()` function that fetches release notes from GitHub API - Persistent caching via Storage namespace (1-hour TTL) to avoid repeated API calls - Added `VersionTag` component that shows version with hover (white) when release changelog available - `DialogChangelog` component displaying formatted release notes using `<code>` component - Registered `/changelog` slash command for keyboard access - Updated version displays in `sidebar`, `header`, and home screen to use clickable VersionTag ### How did you verify your code works? - Click version tag in footer → scrollable dialog opens with release notes - Type `/changelog` → same dialog opens <img width="2248" height="910" alt="screenshot-01" src="https://github.com/user-attachments/assets/901800be-63a0-455c-9371-2e96a607541a" />
yindo added the pull-request label 2026-02-16 18:18:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13829