Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor user list and user management pages #8878

Closed
5 tasks
sainak opened this issue Oct 22, 2024 · 6 comments · Fixed by #9080
Closed
5 tasks

Refactor user list and user management pages #8878

sainak opened this issue Oct 22, 2024 · 6 comments · Fixed by #9080

Comments

@sainak
Copy link
Member

sainak commented Oct 22, 2024

Note

Create wireframes for the new user list and details page before asking for the issue to be assigned

Current user list page:
Image

Required changes:

  • Extract user cards as a separate component

  • Clicking the user card should bring up the user detail page

  • Move the action buttons like delete, manage linked facilities/skills, set working hours to the user detail page

  • Add user avatars to user cards, similar to user card from personal details page of the logged-in user
    Image

  • Fix the alignment of the search bar and action buttons in desktop mode

New User detail page:

TODO: add wireframes

Required changes:

  • Convert linked facility/skills management to a dropdown within the details page
    Image
@Rishith25
Copy link
Contributor

@sainak Can I work on this?

@sainak
Copy link
Member Author

sainak commented Oct 22, 2024

Create wireframes for the new user list and details page before asking for the issue to be assigned

@sainak sainak added this to Care Oct 22, 2024
@github-project-automation github-project-automation bot moved this to Triage in Care Oct 22, 2024
@sainak sainak moved this from Triage to Wishlist in Care Oct 22, 2024
@Jacobjeevan
Copy link
Contributor

Jacobjeevan commented Oct 23, 2024

@sainak I was thinking something like this 🤔

With the cards being clickable, but we should probably add a "view user" button similar to what we have for facilities.

Image

Image

@sainak
Copy link
Member Author

sainak commented Oct 23, 2024

@Jacobjeevan that looks good
some suggestions:

  • we should move delete inside the details page as well, it should not be a quick action
  • the online indicator after the name looks redundant
  • the details page is missing username chip
  • share sketches for list view in mobile as well

@Jacobjeevan Jacobjeevan self-assigned this Oct 23, 2024
@Jacobjeevan Jacobjeevan moved this from Wishlist to Up Next in Care Oct 23, 2024
@Jacobjeevan Jacobjeevan moved this from Up Next to In Progress in Care Oct 24, 2024
@Jacobjeevan
Copy link
Contributor

@sainak I was thinking of using clickable pills for the facilities and skills, though it might not look good when there are lot of linked facilities, like with district admin.

Image

Multi-select for the dropdowns

Image

Clicking on the pill would trigger a popup with manage options; open additional dialog only when replacing existing home facility, like what we have now.

Image

@vinutv
Copy link
Member

vinutv commented Oct 31, 2024

@Jacobjeevan Here is the design for the users page and user details page. Let me know your thoughts.
https://www.figma.com/design/Z93EYKSa1MdBmXndsMBJSQ/Care?node-id=1285-2299
cc @bodhish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants