-
Notifications
You must be signed in to change notification settings - Fork 63
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
Devices Browser Pagination #2677
Conversation
e754a29
to
d95ad2e
Compare
Codecov Report
@@ Coverage Diff @@
## main #2677 +/- ##
==========================================
- Coverage 39.69% 39.52% -0.17%
==========================================
Files 539 540 +1
Lines 18998 19130 +132
Branches 4466 4523 +57
==========================================
+ Hits 7541 7562 +21
- Misses 11457 11568 +111
Flags with carried forward coverage won't be shown. Click here to find out more.
|
]) | ||
|
||
let nextCursors = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part of the unfinished support for sorted pagination with cursors
Converted back to draft for test fixes and the rebasing outlined above. |
Small bug (may be existing TBF) but we should address this: Currently, after un-assigning a device (from both instance & application) the page must be refreshed before a device can be re-assigned to something else. unassign-issue.mp4 |
4ef4bda
to
39c6f8d
Compare
frontend/src/mixins/vue-timers.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not very familiar with this mixin or where/how it is used. I cannot see any other references in our codebase to the timer-tick
event, so I'll go along with this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good. One failing test - but once resolved, lets get it merged.
Description
Updates the device browser on the devices page, application page and instances page to all support filtering and search both client and server side.
Of note:
This PR does not implement server side sort, when there is more than one page of results, sort is disabled. This is due to complexities implementing sort with cursor based pagination. There is follow up work being considered to add this back.
Pagination forced to 5 per page locally for screenshots and video:
Screen.Recording.2023-08-30.at.22.32.39.mov
Related Issue(s)
Fixes #2379
Checklist