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

enhancement of sort by filter & badges #5118

Closed
3 tasks
nihal467 opened this issue Mar 17, 2023 · 0 comments · Fixed by #5203
Closed
3 tasks

enhancement of sort by filter & badges #5118

nihal467 opened this issue Mar 17, 2023 · 0 comments · Fixed by #5203
Assignees

Comments

@nihal467
Copy link
Member

nihal467 commented Mar 17, 2023

Describe the bug

  • instead of space in between words, the badges are using "_" in the text for all the sort by filters in the patient tab
  • bed number sort by filter badges is difficult to understand.
  • ascending and descending filters are mentioned as "-" inside the badges
  • Sort by ordering is not intuitive

To Reproduce
Steps to reproduce the behavior:

  1. Go to patient tab
  2. https://care.coronasafe.in/patients?page=1&limit=12&ordering=facility__name%2Clast_consultation__current_bed__bed__name
  3. See error

Expected behavior

  • rename options in sort by dropdown as:

  • Created date Ascending to "Oldest created date",

  • Created date Descending to "Latest created date",

  • Modified date Ascending to "Oldest updated date",

  • Modified date Descending to "Latest updated date",

  • Review time Ascending to "Oldest review time",

  • Review Time Descending to "Latest review time",

  • Patient Name Ascending to "Patient name (A to Z)",

  • Patient Name Descending to "Patient name (Z to A)",

  • Bed No Ascending to "Bed No. (1 to n)",

  • Bed No Descending to "Bed No. (n to 1)",

  • rearrange sort by dropdown as below:

  • Latest created date

  • Oldest created date

  • Latest updated date

  • Oldest updated date

  • Bed No. (1 to n)

  • Bed No. (n to 1)

  • Latest review time

  • Oldest review time

  • Patient name (A to Z)

  • Patient name (Z to A)

  • make the bed number sort by filter badge and other badges user-readable eg: "Ordering: Bed No (1 to n)"

Screenshots

image

@aparnacoronasafe aparnacoronasafe removed their assignment Mar 29, 2023
@rithviknishad rithviknishad self-assigned this Mar 29, 2023
@aparnacoronasafe aparnacoronasafe changed the title enhancement of sort by filter badges in patient list view enhancement of sort by filter & badges Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants