-
Notifications
You must be signed in to change notification settings - Fork 37
app-catalog: Display current and latest app versions in list #387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4efceed to
5c74180
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This change enhances the app-catalog list to display both current and latest app versions, helping users identify when their installed applications need updates. The existing "App Version" column is renamed to "Current Version" and a new "Latest Version" column is added that fetches the latest available versions from ArtifactHub.
- Adds a new API function to fetch latest app versions from ArtifactHub
- Implements version formatting with consistent "v" prefix handling
- Updates the releases list to show both current and latest versions side by side
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| app-catalog/src/api/charts.tsx | Adds fetchLatestAppVersion function to query ArtifactHub API for latest app versions |
| app-catalog/src/components/releases/List.tsx | Adds version formatting utility, fetches latest versions, and updates table columns to display both current and latest versions |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this.
Left a couple of notes, and checked the copilot review comments.
Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com> Signed-off-by: René Dudfield <renedudfield@microsoft.com>
Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com> Signed-off-by: René Dudfield <renedudfield@microsoft.com>
5c74180 to
0e93b4a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 thanks!
This change adds the latest app version in the app-catalog list, allowing users to see if their app version is out of date and requires an update.
The "App Version" column has become "Current Version" to reflect the current app version, and the "Latest Version" column reflects the latest app version.
Fixes: #342
Testing
cd app-catalog && npm run build && npm run startin one terminal