Skip to content

CLOUDSTACK-8766: Fix infinite scrolling pagination for zonal iso/temp… - #750

Merged
asfgit merged 1 commit into
apache:4.5from
shapeblue:4.5-CLOUDSTACK-8766
Aug 31, 2015
Merged

asfgit merged 1 commit into
apache:4.5from
shapeblue:4.5-CLOUDSTACK-8766

Conversation

@yadvr

@yadvr yadvr commented Aug 27, 2015

Copy link
Copy Markdown
Member

…late listing

Due to aggregation of templates and isos on the UI/client side, it could result
that for each page we could end up having lesser templates/isos listed to have
the scroll shown that triggers infinite scrolling. The fix is to use similar
approach as in projects.js, to use the maximum pagesize of 500. In theory, there
is still a chance if there are 500 zones with the same template being listed
resulting in only one aggregated template which could cause the scroll to not
get shown; but in practice I believe this fix should work for most users.

@asfbot

asfbot commented Aug 27, 2015

Copy link
Copy Markdown

cloudstack-pull-rats #419 SUCCESS
This pull request looks good

@asfbot

asfbot commented Aug 27, 2015

Copy link
Copy Markdown

cloudstack-pull-analysis #352 SUCCESS
This pull request looks good

@remibergsma

Copy link
Copy Markdown
Contributor

LGTM

…late listing

Due to aggregation of templates and isos on the UI/client side, it could result
that for each page we could end up having lesser templates/isos listed to have
the scroll shown that triggers infinite scrolling. In theory, there
is still a chance if there are several zones with the same template being listed
resulting in only one aggregated template which could cause the scroll to not
get shown; but in practice I believe this fix should work for most users.

Page size set based on experimental data:
apache#751 (comment)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@yadvr
yadvr force-pushed the 4.5-CLOUDSTACK-8766 branch from 8a1cc7a to 069e3f9 Compare August 28, 2015 07:37
@yadvr

yadvr commented Aug 28, 2015

Copy link
Copy Markdown
Member Author

Please see the experimental analysis shared here: #751 (comment)

@asfbot

asfbot commented Aug 28, 2015

Copy link
Copy Markdown

cloudstack-pull-rats #434 SUCCESS
This pull request looks good

@asfbot

asfbot commented Aug 28, 2015

Copy link
Copy Markdown

cloudstack-pull-analysis #367 ABORTED

@DaanHoogland

Copy link
Copy Markdown
Contributor

Code LGTM and travis passes but I do not know what to test and the analysis gives a lot of new issues fro findbugs which I am sure have nothing to do with this PR but make me fail wary.

@asfgit
asfgit merged commit 069e3f9 into apache:4.5 Aug 31, 2015
asfgit pushed a commit that referenced this pull request Aug 31, 2015
CLOUDSTACK-8766: Fix infinite scrolling pagination for zonal iso/template listing

Due to aggregation of templates and isos on the UI/client side, it could result
that for each page we could end up having lesser templates/isos listed to have
the scroll shown that triggers infinite scrolling. The fix is to use similar
approach as in projects.js, to use the maximum pagesize of 500. In theory, there
is still a chance if there are 500 zones with the same template being listed
resulting in only one aggregated template which could cause the scroll to not
get shown; but in practice I believe this fix should work for most users.

* pr/750:
  CLOUDSTACK-8766: Fix infinite scrolling pagination for zonal iso/template listing

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
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.

5 participants