StatTag / StatWrap

StatWrap
https://sites.northwestern.edu/statwrap/
MIT License
1 stars 10 forks source link

Archive - inherit at folders #217

Open lrasmus opened 2 weeks ago

lrasmus commented 2 weeks ago

If a folder is marked as "Archived", all descendant folders and files should also be flagged as "Archived". This can be an inferred attribute, it doesn't have to be explicitly set in the metadata.

If we unarchive a folder, we should prompt the user if they want to mark all explicitly archived files as unarchived now (if any exist). The edge case we are considering:

  1. User marks one or more files as "Archived"
  2. User marks the containing folder as "Archived"
  3. User removes the "Archived" attribute from the containing folder

The question is if StatWrap should automatically unarchive all descendant files, or should the ones explicitly set as archived in step 1 continue to be considered archived. Prompting the user will allow them to make that decision.