Auth: Create a new Admin/Reviewer account
Opened this issue · 11 comments
- API Endpoint
- React Webpage
- Breakdown of sub-tasks
- Ideate the flow + implementing
0. Design Mock-up (Kate & Albert & Daisy)
1. API endpoints
- fetch user by username/email/id => existing user comp (Daisy)
- update the role of an existing user => (Joseph)
- create a new user on the admin side (reviewer & admin) (Albert)
2. UI Flow
- toggle-button - new user / existing user => (Joseph)
- two components (new user comp & existing user comp) (Joseph & Kate & Daisy & Albert) - Test the feature
Meet up after today's (16th March 2023) session.
Provide update by Monday 20th March => 12:00pm
@Albert-Byrone @mutuajoseph @Dachoka3000 This design is still unfinished but lets look at it and contribute to changes, i wasn't sure i was doing the right thing.
@Albert-Byrone @karume629 @Dachoka3000 I have already mocked up the design based on what was provided by Figma.
I'm still having some queries regarding adding an existing and a new user. Let's meet and finalize the discussion on this.
Below is a link to the PR raised: https://moringa-library--pr69-mutuajoseph-admin-ad-l1q6ghhd.web.app/app/users
@Albert-Byrone @Dachoka3000 I do need an update on the endpoints so that we can start consuming
Expecting a backend PR by (EOD tomorrow => 22nd March)
Design is expected by (EOD tomorrow => 22nd March)
Waiting to merge the codebase (Tonight 9:15)
@mutuajoseph @Albert-Byrone @otsembo
Code base has been merged. @mutuajoseph Kindly add the logic of updating the user to the admin controller.
Find attached the updated designs for the admin dashboard @mutuajoseph @Albert-Byrone @otsembo
the pop up pages included. @Albert-Byrone @otsembo @mutuajoseph
Changes on the design @Dachoka3000 @mutuajoseph @Albert-Byrone @otsembo