mitre / vulcan

A web application to streamline the development of STIGs from SRGs
https://mitre-vulcan-prod.herokuapp.com/
Other
65 stars 16 forks source link

VULCAN- 565: Add latest release version tag to Navbar component #567

Closed vanessuniq closed 1 year ago

vanessuniq commented 1 year ago

This pull request adds the latest release version tag to the Navbar component. The tag is fetched from the GitHub API and displayed next to the "VULCAN" text. It improves the user experience by showing the current release version prominently.

Changes Made:

Fixes #565

rlakey commented 1 year ago

I like how it looks but a couple things. I don't want to display the latest but the version that Vulcan is currently running.

Also this requires internet access and some deployments of Vulcan may be in an environment without that.

@aaronlippold Do we want to enable any features that require internet access?

vanessuniq commented 1 year ago

I like how it looks but a couple things. I don't want to display the latest but the version that Vulcan is currently running.

Also this requires internet access and some deployments of Vulcan may be in an environment without that.

@aaronlippold Do we want to enable any features that require internet access?

Ok, this can be accomplished by setting the config. But it will be a manual task to update the version

vanessuniq commented 1 year ago

Update: displaying the version that Vulcan is currently running will be read from packge.json. This requires consistently update the app version in package.json with every release. if we want to notify the user of a newer version available, it will require internet access, fetching the latest version from github.

Screenshot 2023-05-02 at 11 57 59 AM