ethan-l-geotab opened a new issue, #33044:
URL: https://github.com/apache/superset/issues/33044

   *Please make sure you are familiar with the SIP process documented*
   [here](https://github.com/apache/superset/issues/5602). 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.
   
   Archived Dashboard
   <img width="2529" alt="Image" 
src="https://github.com/user-attachments/assets/aa3f0caf-12c5-49fb-a3e4-87d36d97a954";
 />
   <img width="298" alt="Image" 
src="https://github.com/user-attachments/assets/d95c2c42-8ccc-4eaf-b6e8-183a71d01a4e";
 />
   <img width="189" alt="Image" 
src="https://github.com/user-attachments/assets/01bf79a3-cb77-48ab-9812-bff41bb0b586";
 />
   
   Unarchived Dashboard
   <img width="196" alt="Image" 
src="https://github.com/user-attachments/assets/27e0bdb3-1b40-4c7a-bfd1-0a904c67caa6";
 />
   
   Dashboard List
   <img width="2001" alt="Image" 
src="https://github.com/user-attachments/assets/03bfc5c7-8b11-4844-a6b0-d70c386d3373";
 />
   <img width="2050" alt="Image" 
src="https://github.com/user-attachments/assets/5cad3e78-a1e0-4bea-a6fc-c13331ecb17d";
 />
   
   ### New or Changed Public Interfaces
   1. Added archive to dashboard model
   2. Added button to archive dashboard
   3. Added archive label to put in place of publish/draft labels for archived 
dashboards
   4. Going from published to archived will unpublish it and put it back to 
draft.
   4.5 Unarchiving it will make it remain in draft
   5. Archived dashboards will not be seen on the dashboard list without the 
Archived status filter
   6. 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"
   
   ### Rejected Alternatives
   
   Describe alternative approaches that were considered and rejected.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to