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

feature(paging-bar): removed hardcoded strings for i18n. (closes #356) and (closes #214) #365

Merged
merged 9 commits into from
Feb 23, 2017

Conversation

emoralesb05
Copy link
Contributor

@emoralesb05 emoralesb05 commented Feb 22, 2017

Description

This is part of the epic #324 to support i18n in all covalent components.

Addresses #356 and #214

What's included?

  • feat(paging-bar): add [initialPage] input.
  • ** BREAKING CHANGE ** feat(paging-bar): abstract hardcoded text for i18n
  • docs(paging-bar): update docs, demo and README.md

Usage

<td-paging-bar #pagingBar pageSizeAllText="All"  [pageSizeAll]="true" [initialPage]="1">
  <span td-paging-bar-label hide-xs>Row per page:</span>
  {{pagingBar.range}} <span hide-xs>of {{pagingBar.total}}</span>
</td-paging-bar>

Test Steps

General Tests for Every PR

  • ng serve --aot still works.
  • npm run lint passes.
  • npm test passes and code coverage is not lower.
  • npm run build still works.

emoralesb05 added 5 commits February 22, 2017 07:42
input to initialize the component at a certain page.
add td-paging-bar-label and generic ng-content for `range` of `total` and any other strings
update docs and demo with new usage of paging-bar plus code examples
@ilsiepotamus
Copy link
Contributor

👍

@emoralesb05 emoralesb05 added this to the Beta 2 milestone Feb 22, 2017
@kyleledbetter
Copy link
Contributor

Pushed tweaks to markup:
image

Copy link
Contributor

@kyleledbetter kyleledbetter left a comment

Choose a reason for hiding this comment

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

LGTM

@kyleledbetter kyleledbetter merged commit e454b98 into develop Feb 23, 2017
@kyleledbetter kyleledbetter deleted the feature/paging-enhancements branch February 23, 2017 16:38
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.

3 participants