Skip to content
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

📋 Allow a release to be marked deprecated within the Control Panel #6111

Closed
michaeljcollinsuk opened this issue Nov 15, 2024 · 3 comments
Closed
Assignees
Labels

Comments

@michaeljcollinsuk
Copy link
Contributor

Describe the sub-task.

Add a checkbox to the Tool release update form that lets us mark a release as deprecated. Alternatively, add a deprecation date field, after which the tool is treated as deprecated.

Deprecated releases then should no longer appear as an option to deploy from within the control panel.

In addition, if a user currently has a "deprecated" tool deployed, disable the "Open" button on the control panel, in order to encourage users to upgrade to a new version.

We can also show a message to users, explaining that the tool version they were using was deprecated and they now need to upgrade.

Steps to Address

  • Implement code changes
  • Implement unit tests
  • Run through the changes in development
@michaeljcollinsuk
Copy link
Contributor Author

UPDATE:

  • Draft PR open here which includes changes to models and returned querysets when on the Your Tools page
  • The "OPEN" button will be disabled if the tool has been retired

TODO:

  • Currently working on a way to only show the deprecated message when a deprecated tool has been selected from the list

@michaeljcollinsuk
Copy link
Contributor Author

UPDATE

Making final changes to the release list admin page filter, to give the option of including or excluding retired releases.
I am also looking at adding a status tag using the GovUK Tag component

@michaeljcollinsuk michaeljcollinsuk moved this from 🚀 In Progress to 🛂 In Review in Analytical Platform Dec 13, 2024
@michaeljcollinsuk
Copy link
Contributor Author

@github-project-automation github-project-automation bot moved this from 🛂 In Review to 🎉 Done in Analytical Platform Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🎉 Done
Development

No branches or pull requests

1 participant