Skip to content

Add desktop update release notes tooltip#2520

Open
juliusmarminge wants to merge 1 commit intomainfrom
t3code/6f2315db
Open

Add desktop update release notes tooltip#2520
juliusmarminge wants to merge 1 commit intomainfrom
t3code/6f2315db

Conversation

@juliusmarminge
Copy link
Copy Markdown
Member

@juliusmarminge juliusmarminge commented May 5, 2026

Got inspired by VSCode:

image
  • Add a shared tooltip popup for desktop update states
  • Link update status to the correct GitHub release notes
  • Cover latest version and release URL helpers with tests

What Changed

Why

UI Changes

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Low Risk
Low risk UI enhancement that reuses existing update state to build GitHub release-note URLs; main risk is incorrect URL/tag formatting for edge-case versions/channels.

Overview
Adds a shared DesktopUpdateTooltipPopup for desktop updates that shows state-specific title, current/latest versions, and a Release Notes button that opens the matching GitHub release (with toast error handling if opening fails).

Extends desktopUpdate.logic with helpers to compute the latest version and derive the correct release notes URL (stable vs nightly tag format), replaces the simple tooltip copy in Settings and the Sidebar update pill with the new popup, and adds unit tests covering the new URL/version helpers.

Reviewed by Cursor Bugbot for commit 2f2ee1e. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Add release notes tooltip to desktop update UI with version info and external link

  • Adds DesktopUpdateTooltipPopup component that replaces simple text tooltips in the sidebar update pill and settings About section with a richer UI showing current/latest versions, a state-derived title, and a 'Release Notes' button.
  • Adds getDesktopUpdateReleaseNotesUrl to build a tag-specific GitHub Releases URL based on update channel (nightly vs stable) and getDesktopUpdateLatestVersion to resolve the newest known version from update state.
  • The 'Release Notes' button opens the URL via api.shell.openExternal and shows an error toast on failure.

Macroscope summarized 2f2ee1e.

- Add a shared tooltip popup for desktop update states
- Link update status to the correct GitHub release notes
- Cover latest version and release URL helpers with tests
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 5, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 1180fc57-3a8b-42c2-a530-1de9de9f76b9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch t3code/6f2315db

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added size:L 100-499 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels May 5, 2026
@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp Bot commented May 5, 2026

Approvability

Verdict: Approved

This PR adds a UI enhancement - a richer tooltip for desktop updates showing version information and a release notes link. The changes are self-contained, include unit tests, and don't affect any sensitive code paths.

You can customize Macroscope's approvability policy. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant