Skip to content

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

Closed
uchm4n wants to merge 3 commits into
anomalyco:devfrom
uchm4n:feat/changelog-viewer
Closed

feat(tui): Add clickable version number to see release notes + register /changelog slash command.#11542
uchm4n wants to merge 3 commits into
anomalyco:devfrom
uchm4n:feat/changelog-viewer

Conversation

@uchm4n

@uchm4n uchm4n commented Feb 1, 2026

Copy link
Copy Markdown

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

@github-actions

github-actions Bot commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

github-actions Bot commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

…/changelog-viewer

# Conflicts:
#	packages/opencode/src/cli/cmd/tui/routes/session/sidebar.tsx
@uchm4n uchm4n changed the title feat: Add clickable version number to see release notes + register /changelog slash command. feat(tui): Add clickable version number to see release notes + register /changelog slash command. Feb 1, 2026
@github-actions

github-actions Bot commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Apr 2, 2026
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.

[FEATURE]: Clickable version number to view Changelog

1 participant