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

Archive - inherit at folders #217

Open
lrasmus opened this issue Sep 19, 2024 · 0 comments
Open

Archive - inherit at folders #217

lrasmus opened this issue Sep 19, 2024 · 0 comments

Comments

@lrasmus
Copy link
Contributor

lrasmus commented Sep 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant