Skip to content

ui: don't ignore ''mine" when listing "all" templates in projects#3233

Merged
yadvr merged 1 commit into
apache:masterfrom
shapeblue:template-list-fix-projects
Apr 9, 2019
Merged

ui: don't ignore ''mine" when listing "all" templates in projects#3233
yadvr merged 1 commit into
apache:masterfrom
shapeblue:template-list-fix-projects

Conversation

@yadvr
Copy link
Copy Markdown
Member

@yadvr yadvr commented Mar 25, 2019

Problem: When uploading template or iso in a project, the progress is not seen
Root Cause: When users upload a template/iso in project view, the template/iso is not visible in the all filter. This creates confusion that template/iso has not been uploaded.
Solution: Since the api listtemplates with a projectid acts is a superset of list templates without a project id, we should not ignore the project id when listing templates in all filter.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

We should not ignore project specific templates when listing templates
as this gives a more complete all templates/isos in the UI.
@borisstoyanov
Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2651

Copy link
Copy Markdown
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, template is now visible when the project is selected

@yadvr yadvr changed the title ui: don't ignore project when listing templates [WIP DO NOT MERGE] ui: don't ignore project when listing templates Mar 29, 2019
Copy link
Copy Markdown
Member

@PaulAngus PaulAngus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM isos and templates created 'by me' are now visible in 'All' view.

@PaulAngus PaulAngus changed the title [WIP DO NOT MERGE] ui: don't ignore project when listing templates ui: don't ignore ''mine" when listing "all" templates in projects Apr 9, 2019
@yadvr yadvr merged commit 1af5ded into apache:master Apr 9, 2019
pbankonier pushed a commit to pbankonier/cloudstack that referenced this pull request Apr 24, 2019
Problem: When uploading template or iso in a project, the progress is not seen
Root Cause: When users upload a template/iso in project view, the template/iso is not visible in the all filter. This creates confusion that template/iso has not been uploaded.
Solution: Since the api listtemplates with a projectid acts is a superset of list templates without a project id, we should not ignore the project id when listing templates in all filter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants