Skip to content

Conversation

@skoeva
Copy link
Contributor

@skoeva skoeva commented Sep 11, 2025

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

  • Run cd app-catalog && npm run build && npm run start in one terminal
  • In another terminal, open a cluster in Headlamp and navigate to the app catalog
  • Open the "Installed" list and notice the current and latest versions

@skoeva skoeva self-assigned this Sep 11, 2025
@skoeva skoeva added enhancement New feature or request app-catalog app-catalog (helm charts) plugin related issues labels Sep 11, 2025
@skoeva skoeva force-pushed the updates-app-catalog branch 3 times, most recently from 4efceed to 5c74180 Compare September 11, 2025 18:43
@illume illume requested a review from Copilot September 29, 2025 15:04
Copy link

Copilot AI left a 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.

Copy link
Contributor

@illume illume left a 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>
@illume illume force-pushed the updates-app-catalog branch from 5c74180 to 0e93b4a Compare October 18, 2025 12:35
Copy link
Contributor

@illume illume left a comment

Choose a reason for hiding this comment

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

🎉 thanks!

@illume illume merged commit cea7723 into main Oct 18, 2025
9 checks passed
@illume illume deleted the updates-app-catalog branch October 18, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app-catalog app-catalog (helm charts) plugin related issues enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

app-catalog: show if update avaliable

3 participants