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:transfer): add transfer component #578

Merged
merged 1 commit into from
Nov 17, 2017
Merged

feat(module:transfer): add transfer component #578

merged 1 commit into from
Nov 17, 2017

Conversation

cipchk
Copy link
Member

@cipchk cipchk commented Nov 16, 2017

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

@coveralls
Copy link

Coverage Status

Coverage increased (+1.7%) to 41.831% when pulling 53feef0 on cipchk:feat-transfer into 5bc4327 on NG-ZORRO:master.

@@ -118,6 +119,7 @@ export { NzBackTopModule } from './back-top/nz-back-top.module';
export { NzAffixModule } from './affix/nz-affix.module';
export { NzAnchorModule } from './anchor/nz-anchor.module';
export { NzAvatarModule } from './avatar/nz-avatar.module';
export { NzTransferModule } from './transfer/nz-transfer.module';
Copy link
Member

@vthinkxie vthinkxie Nov 17, 2017

Choose a reason for hiding this comment

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

forget to export TransferComponent?

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

@coveralls
Copy link

Coverage Status

Coverage increased (+1.7%) to 41.838% when pulling d35de5d on cipchk:feat-transfer into 5bc4327 on NG-ZORRO:master.

@Component({
selector: 'nz-transfer-search',
template: `
<input nz-input type="text" [(ngModel)]="value" (ngModelChange)="_handle()"
Copy link
Member

Choose a reason for hiding this comment

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

there is no need to add type="text" as default attribute

</tr>
<tr>
<td>nzItemUnit</td>
<td>标题项目单位</td>
Copy link
Member

Choose a reason for hiding this comment

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

not clear enough
单数单位 maybe better?

</tr>
<tr>
<td>nzItemsUnit</td>
<td>标题项目单位</td>
Copy link
Member

Choose a reason for hiding this comment

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

not clear enough
复数单位 maybe better?

}

_handleSelect(item: TransferItem) {
item.checked = !item.checked;
Copy link
Member

Choose a reason for hiding this comment

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

handle with disabled state?

Copy link
Member Author

Choose a reason for hiding this comment

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

no, originally just rely nz-checkbox, thx.

@cipchk
Copy link
Member Author

cipchk commented Nov 17, 2017

Button icon don't alignment, i do not know how it is caused?
jpg:

tim 20171117114331

do you have any advice?

export transfer component.

fix code review issues.
@vthinkxie
Copy link
Member

@cipchk it seems ok on mac computer.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.7%) to 41.842% when pulling 929d24a on cipchk:feat-transfer into 5bc4327 on NG-ZORRO:master.

@vthinkxie vthinkxie merged commit 84895cb into NG-ZORRO:master Nov 17, 2017
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this pull request Aug 5, 2020
export transfer component.

fix code review issues.

related NG-ZORRO#132
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