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:page-header): add page-header component #2732

Merged
merged 6 commits into from
Mar 27, 2019

Conversation

hsuanxyz
Copy link
Member

@hsuanxyz hsuanxyz commented Jan 3, 2019

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: #2710

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Ref ant-design/ant-design#13637

@hsuanxyz hsuanxyz changed the title feat(module:page-header): add page-header component WIP(module:page-header): add page-header component Jan 3, 2019
@netlify
Copy link

netlify bot commented Jan 3, 2019

Deploy preview for ng-zorro-master ready!

Built with commit 79fdda7

https://deploy-preview-2732--ng-zorro-master.netlify.com

@codecov
Copy link

codecov bot commented Jan 3, 2019

Codecov Report

Merging #2732 into master will increase coverage by <.01%.
The diff coverage is 97.91%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2732      +/-   ##
==========================================
+ Coverage   97.34%   97.34%   +<.01%     
==========================================
  Files         552      559       +7     
  Lines       11587    11635      +48     
  Branches      827      827              
==========================================
+ Hits        11279    11326      +47     
- Misses        195      196       +1     
  Partials      113      113
Impacted Files Coverage Δ
components/page-header/nz-page-header.module.ts 100% <100%> (ø)
components/page-header/demo/content.ts 100% <100%> (ø)
components/page-header/demo/actions.ts 100% <100%> (ø)
components/page-header/nz-page-header.component.ts 100% <100%> (ø)
components/page-header/demo/breadcrumb.ts 100% <100%> (ø)
components/page-header/nz-page-header-cells.ts 100% <100%> (ø)
components/page-header/demo/basic.ts 80% <80%> (ø)
... and 4 more

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 3e0e319...79fdda7. Read the comment docs.

### nz-page-header
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| nzTitle | title 文字 | `string|TemplateRef<void>` | - |
Copy link
Member

Choose a reason for hiding this comment

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

不仅仅是 文字, 因为还支持 TemplateRef.

Copy link
Member Author

Choose a reason for hiding this comment

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

类似于 ReactNode TemplateRef 应该不需要做特殊说明

@wzhudev
Copy link
Member

wzhudev commented Mar 4, 2019

@hsuanxyz This is not blocked anymore since ant design had released this component. Please check: https://ant.design/components/page-header-cn/.

@TheAifam5
Copy link

I would like to see it in the new release :D

@hsuanxyz hsuanxyz changed the title WIP(module:page-header): add page-header component feat(module:page-header): add page-header component Mar 27, 2019
Copy link
Member

@wzhudev wzhudev left a comment

Choose a reason for hiding this comment

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

LGTM

@vthinkxie vthinkxie merged commit cf51c1f into NG-ZORRO:master Mar 27, 2019
@hsuanxyz hsuanxyz deleted the new/page-header branch April 22, 2019 02:39
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this pull request Apr 9, 2020
* feat(module:page-header): add page-header component

* test(module:page-header): add test

* style(module:page-header): fix tslint

close NG-ZORRO#2710

* docs(module:page-header): update docs

* chore: sync class name

* test(module:page-header): fix test
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this pull request Aug 5, 2020
* feat(module:page-header): add page-header component

* test(module:page-header): add test

* style(module:page-header): fix tslint

close NG-ZORRO#2710

* docs(module:page-header): update docs

* chore: sync class name

* test(module:page-header): fix test
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