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: Tree support drag handler #490

Merged
merged 7 commits into from Sep 26, 2021
Merged

feat: Tree support drag handler #490

merged 7 commits into from Sep 26, 2021

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Sep 26, 2021

No description provided.

@vercel
Copy link

@vercel vercel bot commented Sep 26, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/react-component/tree/2GdPkUyXsQECgZ271AVUdppQJTfc
Preview: https://tree-git-handler-react-component.vercel.app

@codecov
Copy link

@codecov codecov bot commented Sep 26, 2021

Codecov Report

Merging #490 (57b3f34) into master (cf98e2e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #490   +/-   ##
=======================================
  Coverage   99.66%   99.66%           
=======================================
  Files          11       11           
  Lines        1205     1212    +7     
  Branches      356      359    +3     
=======================================
+ Hits         1201     1208    +7     
  Misses          4        4           
Impacted Files Coverage Δ
src/Indent.tsx 100.00% <ø> (ø)
src/contextTypes.ts 100.00% <ø> (ø)
src/Tree.tsx 99.55% <100.00%> (-0.01%) ⬇️
src/TreeNode.tsx 100.00% <100.00%> (ø)

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 cf98e2e...57b3f34. Read the comment docs.

@zombieJ zombieJ merged commit 2af7526 into master Sep 26, 2021
9 checks passed
@zombieJ zombieJ deleted the handler branch Sep 26, 2021
DaoxingHuang added a commit to DaoxingHuang/tree that referenced this issue Dec 18, 2021
* refactor: Move code into unique checker

* chore: support handler

* refactor: Move drag out

* chore: Patch more style info

* test: Fix test case

* docs: Update demo

* chore: Coverage
zombieJ added a commit that referenced this issue Dec 20, 2021
…487)

* feature: user can  customized  tree node style if selectable.

* feat: Tree support drag handler (#490)

* refactor: Move code into unique checker

* chore: support handler

* refactor: Move drag out

* chore: Patch more style info

* test: Fix test case

* docs: Update demo

* chore: Coverage

* 5.1.0

* refactor: Merge draggable api (#491)

* 5.2.0

* chore: Retry 10 times after failed (#493)

* chore: add max retry ant-design/ant-design#32313

* test: test case

* 5.2.1

* fix: field names failed for checkable (#498)

* fix: fieldNames checked logic

* test: test case

* 5.2.2

* merge

* 5.3.0

* docs: update README.md (#504)

* chore: upgrade rc-util

close #509

* fix(tree-type): fix generic type for onCheck (#510)

* feat: Add internal mapping of fieldNames._title

* 5.3.1

* fix: fieldNames should support 0

* 5.3.2

* resolve confilicts for rebase

* add demo and test case for this feature

* remove unnecessary code

* resolve confilicts for rebase

* add aria-selected prop and update snapshot

* use aria-selected instead unseleactable prop ,also update demo and test case

* add missing code

* change aria-selected prop,just show it when prop exists

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: binyellow <571704908@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: bregonesi <rego_1994@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant