CougarCS / CougarCS-AdminPortal

Our officer admin portal created with React & Typescript
MIT License
6 stars 12 forks source link

Add Back To Contacts buttons to `addmember` & `delmember` #70

Closed seesjays closed 1 year ago

seesjays commented 1 year ago

Recently we've added pages for officers to create + delete Contacts (#68, #69). However, there's a bit of bad UX here as the Contacts page itself links to both of these pages, but these pages don't link back to Contacts.

image image image

Add a button that routes the user via router.push("/dashboard/members") to the Title children on addmember.tsx and delmember.tsx, so officers can easily get back to the contacts page. Make it close to the design below, and keep in mind we have react-icons installed.

image

Why can't they just press the Contacts sidebar button?

It's clearer that they're on a different page this way, since the Add Contact and Delete Contact pages aren't represented in the sidebar (and aren't meant to be.)