Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Labs should sort by requested date by default #1966

Closed
jackcmeyer opened this issue Apr 5, 2020 · 5 comments · Fixed by #2004
Closed

Labs should sort by requested date by default #1966

jackcmeyer opened this issue Apr 5, 2020 · 5 comments · Fixed by #2004
Assignees
Labels
🚀enhancement an issue/pull request that adds a feature to the application in progress indicates that issue/pull request is currently being worked on labs issue/pull request that interacts with labs module
Milestone

Comments

@jackcmeyer
Copy link
Member

jackcmeyer commented Apr 5, 2020

🚀 Feature Proposal

Labs should sort by requested date by default (the newest one should come first) when I am viewing the list of labs

Motivation

Easier to find lab requests

Blocked by

#1969

@jackcmeyer jackcmeyer self-assigned this Apr 5, 2020
@jackcmeyer jackcmeyer transferred this issue from HospitalRun/hospitalrun Apr 5, 2020
@jackcmeyer jackcmeyer added core-team indicates that the issue will be completed by a core team member 🚀enhancement an issue/pull request that adds a feature to the application labs issue/pull request that interacts with labs module labels Apr 5, 2020
@jackcmeyer jackcmeyer added this to the v2.0 milestone Apr 5, 2020
@jackcmeyer jackcmeyer added 🚧blocked issue cannot be worked on for some reason and removed core-team indicates that the issue will be completed by a core team member labels Apr 5, 2020
@jackcmeyer jackcmeyer removed their assignment Apr 5, 2020
@jackcmeyer jackcmeyer added help wanted indicates that an issue is open for contributions and removed 🚧blocked issue cannot be worked on for some reason labels Apr 18, 2020
@akshay-ap
Copy link
Contributor

I would like to work on this.

@jackcmeyer jackcmeyer added in progress indicates that issue/pull request is currently being worked on and removed help wanted indicates that an issue is open for contributions labels Apr 19, 2020
@jackcmeyer
Copy link
Member Author

@akshay-ap sounds great! I've assigned this to you.

@akshay-ap
Copy link
Contributor

@jackcmeyer Before starting to work on it, I have a suggestion: A new dropdown which will show the fields by which the list of Labs can be sorted in ascending or descending order:

  1. ResquestedOn
  2. Type
  3. Status
    By default, list will be sorted by ResquestedOn descending order.

image

@jackcmeyer
Copy link
Member Author

@akshay-ap

I like this idea. However, most of the sorting functionality is going to be fully implemented inside of the Table component.

For now, the intent of this was to get basic functionality implemented so that it is a usable feature.

If the solution that you are suggesting is simple enough, then I'd say go for it. However, it is likely that the UI part of the story will change in the future.

akshay-ap added a commit to akshay-ap/hospitalrun-frontend that referenced this issue Apr 21, 2020
akshay-ap added a commit to akshay-ap/hospitalrun-frontend that referenced this issue Apr 21, 2020
ghost pushed a commit to akshay-ap/hospitalrun-frontend that referenced this issue Apr 21, 2020
ghost pushed a commit to akshay-ap/hospitalrun-frontend that referenced this issue Apr 21, 2020
ghost pushed a commit to akshay-ap/hospitalrun-frontend that referenced this issue Apr 22, 2020
ghost pushed a commit to akshay-ap/hospitalrun-frontend that referenced this issue Apr 22, 2020
ghost pushed a commit to akshay-ap/hospitalrun-frontend that referenced this issue Apr 22, 2020
ghost pushed a commit to akshay-ap/hospitalrun-frontend that referenced this issue Apr 22, 2020
ghost pushed a commit to akshay-ap/hospitalrun-frontend that referenced this issue Apr 22, 2020
ghost pushed a commit to akshay-ap/hospitalrun-frontend that referenced this issue Apr 22, 2020
akshay-ap added a commit to akshay-ap/hospitalrun-frontend that referenced this issue Apr 22, 2020
ghost pushed a commit to akshay-ap/hospitalrun-frontend that referenced this issue Apr 22, 2020
@jackcmeyer jackcmeyer linked a pull request Apr 23, 2020 that will close this issue
@jackcmeyer
Copy link
Member Author

Closed via #2004

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🚀enhancement an issue/pull request that adds a feature to the application in progress indicates that issue/pull request is currently being worked on labs issue/pull request that interacts with labs module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants