Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

ui: limit shown chart versions to latest 5 #312

Merged
merged 2 commits into from
Jul 17, 2017

Conversation

prydonius
Copy link
Member

@prydonius prydonius commented Jul 17, 2017

adds a link to show all versions

fixes #208

adds a link to show all versions
<span class='number' [class.selected]="isSelected(version)">
<a [href]="goToVersionUrl(version)" [routerLink]="goToVersionUrl(version)">
{{ version.attributes.version }}</a>
</span> -
<span class='creation-date'>{{ version.attributes.created | date: 'MMM d, y' }}</span>
</div>
<div class="more-link" *ngIf="!showAllVersions">
Copy link
Member

Choose a reason for hiding this comment

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

I believe that we should hide the link if there are 5 or less versions for a Chart.

Copy link
Member Author

Choose a reason for hiding this comment

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

ah good catch!

@codecov-io
Copy link

codecov-io commented Jul 17, 2017

Codecov Report

Merging #312 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #312   +/-   ##
=======================================
  Coverage   88.96%   88.96%           
=======================================
  Files          15       15           
  Lines         616      616           
=======================================
  Hits          548      548           
  Misses         45       45           
  Partials       23       23

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d74f065...bbd3850. Read the comment docs.

@prydonius prydonius merged commit 2a0148d into helm:master Jul 17, 2017
@prydonius prydonius deleted the 208-limit-ui-versions branch July 17, 2017 16:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Limit number of versions shown in the UI
3 participants