Skip to content

CLOUDSTACK-8766: Fix infinite scrolling pagination for zonal template… - #740

Merged
asfgit merged 1 commit into
apache:masterfrom
shapeblue:CLOUDSTACK-8766-master
Aug 26, 2015
Merged

asfgit merged 1 commit into
apache:masterfrom
shapeblue:CLOUDSTACK-8766-master

Conversation

@yadvr

@yadvr yadvr commented Aug 25, 2015

Copy link
Copy Markdown
Member

… listing

Uses listViewDataProvider to implement pagination on listTemplates API
requests in the UI, when a template's zone tab is viewed.

(cherry picked from commit 95c76ef)

This from the other PR, for master branch.

@asfbot

asfbot commented Aug 25, 2015

Copy link
Copy Markdown

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

@karuturi

Copy link
Copy Markdown
Member

What is the page size? can you attach a screenshot?

@yadvr

yadvr commented Aug 25, 2015

Copy link
Copy Markdown
Member Author

@karuturi the sharedFunctions.js defines a global pagesize (fixed to value 20)

See in the screenshot; the listTemplates call does not call the API with a page, pagesize - this causes the infinite scroll to flood the list every time to drag it if the number of zones exceed what could fit in that table view. This patch fixes that.

screen shot 2015-08-25 at 12 50 04 pm

@yadvr

yadvr commented Aug 25, 2015

Copy link
Copy Markdown
Member Author

@karuturi this is the screenshot from chrome devtools with the UI fix, as you can see pagination is implemented

screenshot from 2015-08-25 12 54 50

@asfbot

asfbot commented Aug 25, 2015

Copy link
Copy Markdown

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

@karuturi

Copy link
Copy Markdown
Member

tested it and confirm the behaviour in the screenshots before and after the fix. 👍

@yadvr
yadvr force-pushed the CLOUDSTACK-8766-master branch from 1ad2f84 to feb7040 Compare August 26, 2015 07:15
yadvr added a commit to shapeblue/cloudstack that referenced this pull request Aug 26, 2015
… listing

Uses listViewDataProvider to implement pagination for listing templates and ISOs
in the zones tab. Dedupes isos and templates in the list views.

This closes apache#740

(cherry picked from commit 26700fb)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
… listing

Uses listViewDataProvider to implement pagination for listing templates and ISOs
in the zones tab. Dedupes isos and templates in the list views.

This closes apache#740

(cherry picked from commit 26700fb)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@yadvr
yadvr force-pushed the CLOUDSTACK-8766-master branch from feb7040 to 462bb06 Compare August 26, 2015 07:17
@asfbot

asfbot commented Aug 26, 2015

Copy link
Copy Markdown

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

@yadvr

yadvr commented Aug 26, 2015

Copy link
Copy Markdown
Member Author

I've updated the PR to fix the same issue for listing isos and also addition code to de-dupe list iso and template results.

@asfbot

asfbot commented Aug 26, 2015

Copy link
Copy Markdown

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

@asfbot

asfbot commented Aug 26, 2015

Copy link
Copy Markdown

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

@asfbot

asfbot commented Aug 26, 2015

Copy link
Copy Markdown

cloudstack-pull-analysis #334 ABORTED

@abhinandanprateek

Copy link
Copy Markdown
Contributor

LGTM

1 similar comment
@remibergsma

Copy link
Copy Markdown
Contributor

LGTM

@asfgit
asfgit merged commit 462bb06 into apache:master Aug 26, 2015
asfgit pushed a commit that referenced this pull request Aug 26, 2015
CLOUDSTACK-8766: Fix infinite scrolling pagination for zonal template listing

Uses listViewDataProvider to implement pagination on listTemplates API
requests in the UI, when a template's zone tab is viewed.

(cherry picked from commit 95c76ef)

This from the other PR, for master branch.

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

Signed-off-by: Remi Bergsma <github@remi.nl>
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.

6 participants