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

[Feature] Bulk archive button for unavailable items #178

Open
michellejli77 opened this issue Nov 5, 2022 · 0 comments · Fixed by #188
Open

[Feature] Bulk archive button for unavailable items #178

michellejli77 opened this issue Nov 5, 2022 · 0 comments · Fixed by #188
Assignees
Labels
enhancement New feature or request

Comments

@michellejli77
Copy link
Contributor

michellejli77 commented Nov 5, 2022

Description

Create a button that archives all items marked as unavailable.

  • This button should only be used/seen by admins (e.g. ALL:ADMIN or BLDG:ADMIN)
  • Use the status property to find the unavailable items
  • Add an option for admin to specify only archiving items older than x amount of days
  • Add the button to Active.tsx

Designs

The option for admin to specify days could appear as a modal once they click on the bulk archive button. In the modal, they should be allowed to specify how many days and then click on a button to confirm the archive. You can reference our existing modals to see how you might add this. (e.g. AddItemButton.tsx or DeleteButton.tsx)

@michellejli77 michellejli77 added the enhancement New feature or request label Nov 5, 2022
@michellejli77 michellejli77 self-assigned this Nov 5, 2022
@michellejli77 michellejli77 reopened this Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants