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

feat(module:breadcrumb): support auto generated breadcrumbs #2050

Merged
merged 1 commit into from
Sep 7, 2018

Conversation

wzhudev
Copy link
Member

@wzhudev wzhudev commented Aug 27, 2018

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@wzhudev
Copy link
Member Author

wzhudev commented Aug 27, 2018

Test and live demo could be a problem. Working on it.

@codecov
Copy link

codecov bot commented Aug 31, 2018

Codecov Report

Merging #2050 into master will increase coverage by 0.01%.
The diff coverage is 94.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2050      +/-   ##
==========================================
+ Coverage   95.96%   95.97%   +0.01%     
==========================================
  Files         473      473              
  Lines       11516    11548      +32     
  Branches     1535     1540       +5     
==========================================
+ Hits        11051    11083      +32     
  Misses        132      132              
  Partials      333      333
Impacted Files Coverage Δ
components/breadcrumb/nz-breadcrumb.module.ts 100% <100%> (ø) ⬆️
components/breadcrumb/nz-breadcrumb.component.ts 95.23% <94.11%> (-4.77%) ⬇️
components/table/nz-table.component.ts 95.93% <0%> (+0.58%) ⬆️
components/tabs/nz-tabset.component.ts 96.58% <0%> (+0.85%) ⬆️

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 cca1fdd...f2e4e42. Read the comment docs.

@wzhudev wzhudev changed the title [WIP] feat(module:breadcrumb): support auto generated breadcrumbs feat(module:breadcrumb): support auto generated breadcrumbs Sep 4, 2018
@wzhudev wzhudev force-pushed the breadcrumb branch 4 times, most recently from 0e0e379 to 0cd3e24 Compare September 5, 2018 02:55
<ng-container *ngIf="nzAutoGenerate">
<nz-breadcrumb-item *ngFor="let breadcrumb of breadcrumbs">
<a [href]="breadcrumb.url" (click)="navigateTo(breadcrumb.url, $event$event)">{{ breadcrumb.label }}</a>
Copy link
Member

Choose a reason for hiding this comment

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

attr.href

<ng-container *ngIf="nzAutoGenerate">
<nz-breadcrumb-item *ngFor="let breadcrumb of breadcrumbs">
<a [href]="breadcrumb.url" (click)="navigateTo(breadcrumb.url, $event$event)">{{ breadcrumb.label }}</a>
Copy link
Member

Choose a reason for hiding this comment

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

$event$event -> $event

@simplejason simplejason merged commit 64d191c into NG-ZORRO:master Sep 7, 2018
@wzhudev
Copy link
Member Author

wzhudev commented Sep 7, 2018

Should change test when angular/angular#25837 is solved.

@wzhudev wzhudev deleted the breadcrumb branch September 12, 2018 03:35
@wzhudev wzhudev restored the breadcrumb branch September 25, 2018 07:46
@wzhudev wzhudev deleted the breadcrumb branch October 25, 2018 04:17
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this pull request Aug 5, 2020
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.

3 participants