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.
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.
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.)
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.
Add a
button
that routes the user viarouter.push("/dashboard/members")
to the Title children onaddmember.tsx
anddelmember.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.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.)