-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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:modal): support draggable modal #4978
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4978 +/- ##
==========================================
+ Coverage 91.26% 91.28% +0.01%
==========================================
Files 535 535
Lines 13709 13734 +25
Branches 2040 2045 +5
==========================================
+ Hits 12512 12537 +25
+ Misses 731 730 -1
- Partials 466 467 +1
Continue to review full report at Codecov.
|
test(module:modal): add draggable test case close NG-ZORRO#4549, cc NG-ZORRO#2705, NG-ZORRO#1904, NG-ZORRO#120
6269f8c
to
6ed0207
Compare
This preview will be available after the AzureCI is passed. |
@wendellhu95 DEMO 里面有对应代码,现在 modal 不处理这些,只管挂载拖拽节点 |
selector: 'nz-demo-modal-draggable', | ||
template: ` | ||
<button nz-button [nzType]="'primary'" (click)="showModal()">Show Modal</button> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
should not including   in demo
Hope this PR will be merged ASAP. |
希望尽快merge |
need feature |
@hsuanxyz @hullis is there a reason why this PR is not yet merged? |
This PR adds a new feature that allows users to drag the visualization operator window. Since the Ng Zorro Antd library does not support draggable modals natively ([as noted here](NG-ZORRO/ng-zorro-antd#4978)), I used a third-party library called `cdkDrag` to enable dragging the window. ![capture (1)](https://github.com/Texera/texera/assets/143021053/0e493767-95ae-4b8c-9816-64a625ac9908) --------- Co-authored-by: Xinyuan Lin <[email protected]>
Close via #8419. |
test(module:modal): add draggable test case
close #4549, cc #2705, #1904, #120
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #4549, #2705, #1904, #120
What is the new behavior?
Does this PR introduce a breaking change?
Other information