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

No device list paging #2379

Closed
Tracked by #2334
Steve-Mcl opened this issue Jun 30, 2023 · 9 comments · Fixed by #2677
Closed
Tracked by #2334

No device list paging #2379

Steve-Mcl opened this issue Jun 30, 2023 · 9 comments · Fixed by #2677
Assignees
Labels
area:frontend For any issues that require work in the frontend/UI size:L - 5 Sizing estimation point
Milestone

Comments

@Steve-Mcl
Copy link
Contributor

Follow up to https://github.com/flowforge/security/issues/16

  • Team Devices: Lack of paging causing device listing pages to slowdown when lots of devices exist
  • Instance Devices: Lack of paging causing device listing pages to slowdown when lots of devices exist

Originally posted by @Steve-Mcl in https://github.com/flowforge/security/issues/16#issuecomment-1614867214

@Steve-Mcl Steve-Mcl added area:frontend For any issues that require work in the frontend/UI size:S - 2 Sizing estimation point labels Jun 30, 2023
@MarianRaphael
Copy link
Contributor

See also FlowFuse/forge-ui-components#101

@MarianRaphael MarianRaphael added this to the 1.10 milestone Jul 4, 2023
@MarianRaphael MarianRaphael modified the milestones: 1.10, 1.11 Aug 3, 2023
@Pezmc Pezmc added size:L - 5 Sizing estimation point and removed size:S - 2 Sizing estimation point labels Aug 7, 2023
@Pezmc
Copy link
Contributor

Pezmc commented Aug 7, 2023

From my research so far, this isn't as straighforward as it might seem on the surface:

So to summarise; to be able add pagination to devices, we first need to implement server side search/sort functionality to ui-components, then forge itself.

@MarianRaphael I'm resizing this to large, how should this be prioritised compared to other work in this release? Is a quick fix, like breaking search/sort for devices with pages acceptable for now?

@MarianRaphael
Copy link
Contributor

As discussed in the huddle:

  1. Implement the "new" search/sort functionality (server side).
  2. In the first iteration, use it only for the "Device List".
  3. Add list paging for Devices

@Pezmc Pezmc mentioned this issue Aug 30, 2023
6 tasks
@MarianRaphael
Copy link
Contributor

Not part of 1.11 - The plan is to merge it this afternoon (after the release) to main / staging to verify it and release it next week.

@Pezmc
Copy link
Contributor

Pezmc commented Sep 14, 2023

This is on staging since last week and will be released on the next production deploy (and as part of 1.11)

@MarianRaphael
Copy link
Contributor

@Pezmc, I can't verify the described behavior on staging. See the screenshot below:
Screenshot 2023-09-14 at 16 25 54
Any idea why this might be the case?

@Pezmc
Copy link
Contributor

Pezmc commented Sep 14, 2023

@MarianRaphael What are you expecting to see here? You only have 18 devices, so there's no need to paginate. The threshold is set at 100

@MarianRaphael
Copy link
Contributor

Ah, okay. This is good to know! I thought the threshold is lower. All good in this case.

@Pezmc
Copy link
Contributor

Pezmc commented Sep 15, 2023

100 was set based on @Steve-Mcl's research in https://github.com/flowforge/security/issues/16#issuecomment-1614860247.

It can be easily tweaked down the line however!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:frontend For any issues that require work in the frontend/UI size:L - 5 Sizing estimation point
Projects
Archived in project
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants