Skip to content

Show fancier version comparison in update dialog#1916

Merged
jdeanwallace merged 3 commits intomasterfrom
fancy-version-comparison
Sep 30, 2025
Merged

Show fancier version comparison in update dialog#1916
jdeanwallace merged 3 commits intomasterfrom
fancy-version-comparison

Conversation

@jdeanwallace
Copy link
Contributor

@jdeanwallace jdeanwallace commented Sep 23, 2025

Related https://github.com/tiny-pilot/tinypilot-pro/issues/1620

This PR backports the version comparison UI from Pro's update-dialog (based on our discussion here).

Note that Community version strings look something like this 0.0.0-0+aaaaaaa (where aaaaaaa is the git commit short hash). We purposefully strip the commit hash from being displayed because it doesn't look as nice.

End result:

  • Screenshot 2025-09-23 at 16 41 11
  • Screenshot 2025-09-23 at 16 40 53

Review on CodeApprove

@jdeanwallace jdeanwallace changed the title Show fancy version comparison Show fancier version comparison in update dialog Sep 23, 2025
@jdeanwallace jdeanwallace marked this pull request as ready for review September 23, 2025 14:55
Copy link
Contributor Author

Automated comment from CodeApprove ➜

@jotaen4tinypilot please review this Pull Request

Copy link
Contributor

@jotaen4tinypilot jotaen4tinypilot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated comment from CodeApprove ➜

⏳ Approval Pending (1 unresolved comments)
Approval will be granted automatically when all comments are resolved

Cool, that looks quite nice now!


In: app/templates/custom-elements/update-dialog.html:

> Line 104
      <div class="icon-long-arrow"></div>

It looks like the arrow doesn’t show up. I think we need to import icons.css and backport the icon-long-arrow definitions from Pro.

Screenshot 2025-09-29 at 19.18.26.png


👀 @jdeanwallace it's your turn please take a look

Copy link
Contributor Author

@jdeanwallace jdeanwallace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated comment from CodeApprove ➜

In: app/templates/custom-elements/update-dialog.html:

> Line 105
      <div class="icon-long-arrow"></div>

Oh yes, fixed. Thanks!

Copy link
Contributor

@jotaen4tinypilot jotaen4tinypilot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated comment from CodeApprove ➜

Approved: I have approved this change on CodeApprove and all of my comments have been resolved.

@jotaen4tinypilot jotaen4tinypilot dismissed their stale review September 30, 2025 14:26

Review approved on CodeApprove

@jdeanwallace jdeanwallace merged commit 627835a into master Sep 30, 2025
15 checks passed
@jdeanwallace jdeanwallace deleted the fancy-version-comparison branch September 30, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants