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:descriptions): add component #3327

Merged
merged 8 commits into from Jun 5, 2019

Conversation

wzhudev
Copy link
Member

@wzhudev wzhudev commented Apr 22, 2019

close #2847

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

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@netlify
Copy link

netlify bot commented Apr 22, 2019

Deploy preview for ng-zorro-master ready!

Built with commit 5402c94

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

@codecov
Copy link

codecov bot commented May 22, 2019

Codecov Report

Merging #3327 into master will increase coverage by 0.06%.
The diff coverage is 97.16%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3327      +/-   ##
==========================================
+ Coverage    95.6%   95.67%   +0.06%     
==========================================
  Files         609      690      +81     
  Lines       13250    13687     +437     
  Branches     1810     1821      +11     
==========================================
+ Hits        12668    13095     +427     
- Misses        197      201       +4     
- Partials      385      391       +6
Impacted Files Coverage Δ
components/grid/demo/gutter.ts 100% <ø> (ø) ⬆️
components/descriptions/public-api.ts 100% <100%> (ø)
components/core/public-api.ts 100% <100%> (ø) ⬆️
components/descriptions/index.ts 100% <100%> (ø)
components/descriptions/nz-descriptions.module.ts 100% <100%> (ø)
components/grid/nz-row.directive.ts 98.41% <100%> (+1.26%) ⬆️
components/ng-zorro-antd.module.ts 99.21% <100%> (ø)
components/core/responsive/public-api.ts 100% <100%> (ø)
...nts/descriptions/nz-descriptions-item.component.ts 100% <100%> (ø)
components/core/responsive/break-point.ts 100% <100%> (ø)
... and 97 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 c185a8d...5402c94. Read the comment docs.

close NG-ZORRO#2847

feat(module:descriptions): rename component & add demo

fix: fix un-renamed variables

WIP

feat(module:descriptions): support responsive
@wzhudev
Copy link
Member Author

wzhudev commented May 24, 2019

Should be merged after this component is shipped in antd.

@wzhudev
Copy link
Member Author

wzhudev commented May 24, 2019

I fixed the test for responsive in the grid component.

components/descriptions/doc/index.zh-CN.md Outdated Show resolved Hide resolved
---
category: Components
type: Data Display
title: Descriptions
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
title: Descriptions
title: Description List

Copy link
Member Author

Choose a reason for hiding this comment

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

这个应该是他们那边搞错了,中英文不一致

Copy link
Member

@hsuanxyz hsuanxyz left a comment

Choose a reason for hiding this comment

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

scripts/prerender/static.paths.ts 里面加一下路由,之后我改一下让他动态生成好了。

components/test.ts Outdated Show resolved Hide resolved
components/descriptions/nz-descriptions.component.html Outdated Show resolved Hide resolved
components/descriptions/nz-descriptions.component.ts Outdated Show resolved Hide resolved
@simplejason simplejason merged commit 11bf89e into NG-ZORRO:master Jun 5, 2019
@wzhudev wzhudev deleted the descriptions branch June 18, 2019 07:11
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this pull request Apr 9, 2020
* feat(module:descriptions): add component

close NG-ZORRO#2847

feat(module:descriptions): rename component & add demo

fix: fix un-renamed variables

WIP

feat(module:descriptions): support responsive

* fix: test

* fix: test, add responsive test

* test: fix grid responsive test by the way

* fix: fix typedef of responsiveMap

and other fixes

* fix: restrict window viewport to pass test

* fix: fix

* docs: fix docs
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this pull request Aug 5, 2020
* feat(module:descriptions): add component

close NG-ZORRO#2847

feat(module:descriptions): rename component & add demo

fix: fix un-renamed variables

WIP

feat(module:descriptions): support responsive

* fix: test

* fix: test, add responsive test

* test: fix grid responsive test by the way

* fix: fix typedef of responsiveMap

and other fixes

* fix: restrict window viewport to pass test

* fix: fix

* docs: fix docs
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.

new component: descriptions
4 participants