-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
Bugfix/tree view flow bugs #2171
Bugfix/tree view flow bugs #2171
Conversation
🦋 Changeset detectedLatest commit: 4f8d008 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thanks @Mahmoud-zino I'll try to get a review in tomorrow if time allows! |
@endigo9740 I think you missed this in the last release, there were some conflicts from the other PR so I fixed them. |
@Mahmoud-zino nah I'd mentioned I'd merge if I had time to review, but unfortunately that did not end up being the case. This is merged now and will be part of the next release. |
Linked Issue
Closes #2145
Closes #2144
Description
@endigo9740
FYI, I didn't go with the readonly-way (it is too complicated and I will have to invent svelte5 inside a component which is not realistic), instead of that the component now just expects a correct array in relational mode when changing the checkedNodes programmatically,
this means when the user wants to check a child programmatically, the user must also include its parent in the checkedNodes array etc..., this makes managing the relations a lot easier (no more magic needed) but it let's the user shoot their foots if they wanted to 😄.
@Sarenor If this PR get's accepted, I expect you to answer a ton of questions on the behaviour above so I wanted to mention you as well 😅
Changsets
Instructions: Changesets automate our changelog. If you modify files in
/packages/skeleton
, runpnpm changeset
in the root of the monorepo, follow the prompts, then commit the markdown file. Changes that add features should beminor
while chores and bugfixes should bepatch
. Please prefix the changeset message withfeat:
,bugfix:
orchore:
.Checklist
Please read and apply all contribution requirements.
dev
branch (NEVERmaster
)docs/
,feat/
,chore/
,bugfix/
pnpm check
pnpm format
pnpm test