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

fix tests and newly found bug #2859

Merged
merged 1 commit into from
Nov 17, 2024
Merged

fix tests and newly found bug #2859

merged 1 commit into from
Nov 17, 2024

Conversation

adumesny
Copy link
Member

@adumesny adumesny commented Nov 17, 2024

Description

fixed the main test file which exposed multiple bugs! :

  • GridStack:init(null) didn't set this.opts
  • loading exiting layout incorrecly moved items (when just one caused collision)
  • update(el, {id: 'newId'}) didn't update the id
  • some attr setting optimization

going forward need to get full test coverage to help find issues...
continue #2850

Checklist

  • Created tests which fail without the change (if possible)
  • All tests passing (yarn test)
  • Extended the README / documentation, if necessary

fixed the main test file which exposed multiple bugs! :

* GridStack:init(null) didn't set this.opts
* loading exiting layout incorrecly moved items (when just one caused collision)
* update(el, {id: 'newId'}) didn't update the id
* some attr setting optimization

going forward need to get full test coverage to help find issues...
continue gridstack#2850
@adumesny adumesny merged commit d7ae9e5 into gridstack:master Nov 17, 2024
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.

1 participant