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

Bugfix/tree view flow bugs #2171

Merged
merged 7 commits into from
Oct 27, 2023

Conversation

Mahmoud-zino
Copy link
Contributor

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, run pnpm changeset in the root of the monorepo, follow the prompts, then commit the markdown file. Changes that add features should be minor while chores and bugfixes should be patch. Please prefix the changeset message with feat:, bugfix: or chore:.

Checklist

Please read and apply all contribution requirements.

  • This PR targets the dev branch (NEVER master)
  • Documentation reflects all relevant changes
  • Branch is prefixed with: docs/, feat/, chore/, bugfix/
  • Ensure Svelte and Typescript linting is current - run pnpm check
  • Ensure Prettier linting is current - run pnpm format
  • All test cases are passing - run pnpm test
  • Includes a changeset (if relevant; see above)

@changeset-bot
Copy link

changeset-bot bot commented Oct 22, 2023

🦋 Changeset detected

Latest commit: 4f8d008

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@skeletonlabs/skeleton Patch

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

@vercel
Copy link

vercel bot commented Oct 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
skeleton-docs ✅ Ready (Inspect) Visit Preview Oct 25, 2023 3:51pm

@endigo9740
Copy link
Contributor

Thanks @Mahmoud-zino I'll try to get a review in tomorrow if time allows!

@Mahmoud-zino
Copy link
Contributor Author

@endigo9740 I think you missed this in the last release, there were some conflicts from the other PR so I fixed them.

@endigo9740 endigo9740 merged commit df5caa1 into skeletonlabs:dev Oct 27, 2023
3 checks passed
@endigo9740
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants