You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the moment we have a 2 buttons (Add members / Manage Members), each one open is own modal, we want to refactorize this part to mutualize them in 1 modal, with a different design.
Before
After
Goal step
On the top of the modal add the logic of "Add members", the roles will be in a select box.
Under we will list the users added, so we need to import the logic of "Manage Members", and adapt it to the new design
We will use a infinite scroll to display the users
We will add a trash icon on the right of the user to remove them
Feature Request
For the moment we have a 2 buttons (Add members / Manage Members), each one open is own modal, we want to refactorize this part to mutualize them in 1 modal, with a different design.
Before
After
Goal step
Code resources
Add member:
https://github.com/numerique-gouv/impress/blob/main/src/frontend/apps/impress/src/features/docs/members/members-add/components/ModalAddMembers.tsx
Manage Members:
https://github.com/numerique-gouv/impress/blob/main/src/frontend/apps/impress/src/features/docs/members/members-grid/components/MemberGrid.tsx
InfiniteScroll:
https://github.com/numerique-gouv/impress/blob/main/src/frontend/apps/impress/src/components/InfiniteScroll.tsx
The text was updated successfully, but these errors were encountered: