-
Notifications
You must be signed in to change notification settings - Fork 3
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
UIPFU-96 - Fix pagination issues on UIPFU in user settings #275
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Terala-Priyanka
requested review from
BogdanDenis,
a team and
manvendra-s-rathore
and removed request for
BogdanDenis
September 5, 2024 11:58
Terala-Priyanka
changed the title
UI pfu 96
UIPFU-96 - Fix pagination issues on UIPFU in user settings
Sep 5, 2024
BogdanDenis
approved these changes
Sep 6, 2024
manvendra-s-rathore
approved these changes
Sep 6, 2024
Quality Gate failedFailed conditions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
UIPFU-96 - Fix pagination issues on UIPFU in user settings
Approach
Find user plugin will display
Status
andPatron Group
filter groups always andUser Assignment Status
filter group when invoked fromsettings > users > Permission sets
Assign/unassign
button.Filtering users based on
User Assignment Status
filter group is not supported by API.Hence, filtering has been implemented in UI after retrieving records. This lead to pagination issues.
As discussed, and accepted in our standup with our PO, the implementation of pagination in find user plugin, would look like below - (this applies when “User Assignment Status” filter group exists - ex: when plugin invoked from settings > users > ‘Permission sets’)
load more
type of pagination when “unassigned” filter (with or without combination of filters in other filter groups) is selected.prev/next
type of pagination in rest of the cases.Note
The test files for those files in this implementation do not currently exist. We have tech debt tickets in our backlog.
We have started migrating from Big test to Jest. Hence, whatever big test unit tests that might have existed do not reflect too.
Learning
Screencast
Pre-Merge Checklist
Before merging this PR, please go through the following list and take appropriate actions.
If there are breaking changes, please STOP and consider the following:
Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment. Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.