Description
Please make sure you are familiar with the SIP process documented
here. The SIP will be numbered by a committer upon acceptance.
[SIP] Proposal for Archiving Dashboards
Motivation
Dashboards have 2 states published and draft. However, there is state in which a dashboard my be deprecated and no longer needed, but required to be kept around for some time whether as a reference or any other reason. The archive status allows for these dashboard assets to be kept around for a while longer and not clutter up the dashboard lists of the owner (hidden) until searched for using the archived status filter.
Proposed Change
I added a new state for dashboards. Archived. This will make it so that it will not appear in the list of dashboard, unless it's set as Archived.
New or Changed Public Interfaces
- Added archive to dashboard model
- Added button to archive dashboard
- Added archive label to put in place of publish/draft labels for archived dashboards
- Going from published to archived will unpublish it and put it back to draft.
4.5 Unarchiving it will make it remain in draft - Archived dashboards will not be seen on the dashboard list without the Archived status filter
- Enabling the archive status filter will allow users to see all archived dashboards
Migration Plan and Compatibility
Needs to add a new column to the dashboards. "archived"
Default value will be false. Can fully remove the column to downgrade
Rejected Alternatives
Describe alternative approaches that were considered and rejected.
Metadata
Metadata
Assignees
Type
Projects
Status