Add an “Archived” tab to the admin page (#158) #159

Merged
Nicolapps merged 5 commits from admin-archived-tab into main 2022-10-26 03:33:45 +00:00
Nicolapps commented 2022-09-24 20:45:24 +00:00 (Migrated from github.com)

Description

This PR adds a switch to the admin panel that allows us to choose between active (which is the current behavior) and archived items.

Screenshot 2022-09-24 at 16 37 54

Closes #158

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  1. Log in and go to the admin panel
  2. Expect to see the non-archived items
  3. Click on “Archived”
  4. Expect the archived items

Test Configuration:

  • Desktop/Mobile: Desktop
  • OS: macOS
  • Browser: Firefox 104, Safari 15

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (not applicable)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works (not applicable)
  • New and existing unit tests pass locally with my changes (not applicable)
# Description This PR adds a switch to the admin panel that allows us to choose between active (which is the current behavior) and archived items. <img width="1362" alt="Screenshot 2022-09-24 at 16 37 54" src="https://user-images.githubusercontent.com/7029582/192118216-af6f17d0-3e0d-4b15-8ac7-a984c40503a4.png"> Closes #158 ## Type of change - [x] New feature (non-breaking change which adds functionality) # How Has This Been Tested? 1. Log in and go to the admin panel 2. Expect to see the non-archived items 3. Click on “Archived” 4. Expect the archived items **Test Configuration**: - Desktop/Mobile: Desktop - OS: macOS - Browser: Firefox 104, Safari 15 # Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - ~~I have made corresponding changes to the documentation~~ (not applicable) - [x] My changes generate no new warnings - ~~I have added tests that prove my fix is effective or that my feature works~~ (not applicable) - ~~New and existing unit tests pass locally with my changes~~ (not applicable)
jackiey321 (Migrated from github.com) reviewed 2022-09-24 20:45:24 +00:00
elouiestudent (Migrated from github.com) approved these changes 2022-10-26 03:33:26 +00:00
elouiestudent (Migrated from github.com) left a comment

LGTM!

LGTM!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/lost-and-found!159
No description provided.