Frontend: Add a version dropdown in the details page
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Overview
Next step after this issue #415657 (closed)
- We need to provide a way to choose the version in the details page.
This was brought up again in the recent UX scorecard session.
Proposal
Technical proposal
Following #490365 (closed)
Proposal
- Implement a version selector feature on catalog resource pages.
- When a specific version is selected:
- Update the URL to reflect the chosen version (e.g., https://gitlab.com/explore/catalog/components/opentofu?version=0.27.0)
- Display the page content, README, and component metadata corresponding to the selected version
- By default, show the latest version when no specific version is selected
- Ensure the version selector is consistent with existing designs for the feature
- Update Publishing API to return the catalog URL containing the specific version (as of today it returns the URL without version).
Additional Notes
- This feature was previously included in the designs and should be prioritized for implementation
- The version selector will enhance user experience by allowing easy navigation between different versions of a catalog resource
- The version selector will act as a permalink for a specific version and it's returned by the Publishing API.
Edited by 🤖 GitLab Bot 🤖