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

21983 - Enhance Staff Review Table #2928

Merged
merged 11 commits into from
Jul 24, 2024

Conversation

ArwenQin
Copy link
Contributor

@ArwenQin ArwenQin commented Jul 22, 2024

*Issue #:*21983
bcgov/entity#21983

Description of changes:

  • Enabled filtering and sorting for the staff continuation review table
  • Filter and sort by all fields
  • Pass the params to the API (API doesn't support it for now)
  • "Clear Filters" button
  • Automatically save filters to user's local storage (and resume)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-auth license (Apache 2.0).

@ArwenQin
Copy link
Contributor Author

image

Copy link
Collaborator

@severinbeauvais severinbeauvais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a few comments. Overall looks good. Is this all the code changes (other than maybe some extra unit tests)?

@ArwenQin
Copy link
Contributor Author

I left a few comments. Overall looks good. Is this all the code changes (other than maybe some extra unit tests)?

Yes, these are all the changes. I will fix the issues.

@severinbeauvais
Copy link
Collaborator

The UI designs show checkboxes in this menu so that multiple statuses can be selected:

image

@ArwenQin
Copy link
Contributor Author

The UI designs show checkboxes in this menu so that multiple statuses can be selected:

image

Enabled multiple selection for status now:
image

When more than one status are selected, the display is not good:
image
Will work on this further, any suggestions?

@severinbeauvais
Copy link
Collaborator

Please update the app version :)

@severinbeauvais
Copy link
Collaborator

severinbeauvais commented Jul 23, 2024

Will work on this further, any suggestions?

https://v2.vuetifyjs.com/en/components/selects/#multiple

@bcgov bcgov deleted a comment from bcregistry-sre Jul 23, 2024
@ArwenQin
Copy link
Contributor Author

Will work on this further, any suggestions?

I didn't look at this deeply but it looks like the list isn't correctly anchored to the dropdown menu...

https://v2.vuetifyjs.com/en/components/selects/#multiple

When multiple statuses are selected, showing "Multiple":
image

When only one is selected, showing that status:
image

How about this?

@severinbeauvais
Copy link
Collaborator

How about this?

Looks OK to me but double-check with Andy.

@bcgov bcgov deleted a comment from bcregistry-sre Jul 23, 2024
@severinbeauvais
Copy link
Collaborator

I think the date filter should display a date picker (or 2 date pickers to select a range), and the URL parameters should be in yyyy-mmm-dd format. Did you find any examples that do this? If it's easy, do it in this ticket. Otherwise, create another ticket.

@ArwenQin
Copy link
Contributor Author

I think the date filter should display a date picker (or 2 date pickers to select a range), and the URL parameters should be in yyyy-mmm-dd format. Did you find any examples that do this? If it's easy, do it in this ticket. Otherwise, create another ticket.

I find an example here:
https://dev.assets.bcregistry.gov.bc.ca/dashboard
image
May I know which project/file is it in? Thanks!

@severinbeauvais
Copy link
Collaborator

May I know which project/file is it in? Thanks!

https://github.com/bcgov/ppr/tree/main/ppr-ui

Look in views/ for the dashboard.

Copy link
Collaborator

@seeker25 seeker25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@severinbeauvais
Copy link
Collaborator

Arwen, it looks like you want to implement the date filter before this gets merged, right?

@ArwenQin
Copy link
Contributor Author

Arwen, it looks like you want to implement the date filter before this gets merged, right?

Yes, I'm working on the time picker now :)

Copy link

@bcgov bcgov deleted a comment from bcregistry-sre Jul 24, 2024
@severinbeauvais
Copy link
Collaborator

/gcbrun

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://bcregistry-account-dev--pr-2928-f8q1wi1m.web.app

@severinbeauvais severinbeauvais merged commit 5a7a3d0 into bcgov:main Jul 24, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants