Skip to content

Update children interactions #168

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

Merged
merged 16 commits into from
Jun 30, 2022
Merged

Update children interactions #168

merged 16 commits into from
Jun 30, 2022

Conversation

jamesrweb
Copy link
Collaborator

@jamesrweb jamesrweb commented Jun 17, 2022

Fixes #167

Proposed Changes

  • Throw an error at runtime if no sketch is provided. Currently nothing will render in such a case but this should provide feedback as to why that is. This issue only affected JavaScript users and not those who used TypeScript since they were protected by the compiler. Now both forms of user will have the same behaviour being applied.
  • Update test coverage including skipped tests for future cases.
  • Update the examples to add a new plane based example.
  • Update project dependencies with minor version changes.
  • Add tests / validations for project exports.
  • Expose the wrapper class name for users wishing to use it with styles.
  • Add documentation for styling and positioning of children with a code sample.

Additional Notes (optional)

Please check the local example app, ensure the documented example runs with the latest code as expected and feel free to comment on the new throwing behaviour. 😄

@jamesrweb jamesrweb added bug dependencies Pull requests that update a dependency file documentation Pull requests that update project documentation labels Jun 17, 2022
@jamesrweb jamesrweb requested a review from yevdyko June 17, 2022 00:24
@jamesrweb jamesrweb self-assigned this Jun 17, 2022
@jamesrweb jamesrweb enabled auto-merge (squash) June 17, 2022 00:24
@jamesrweb jamesrweb force-pushed the update-children-interactions branch 2 times, most recently from 04d4f5f to a4cc592 Compare June 19, 2022 14:47
@jamesrweb jamesrweb force-pushed the update-children-interactions branch from a4cc592 to dc39b9d Compare June 19, 2022 14:48
Copy link
Collaborator

@yevdyko yevdyko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jamesrweb for the enhancements!

I left a few minor comments and will check the examples code a bit later.

jamesrweb and others added 3 commits June 19, 2022 18:05
Co-authored-by: Eugene Dyko <yevdyko@gmail.com>
Co-authored-by: Eugene Dyko <yevdyko@gmail.com>
@jamesrweb
Copy link
Collaborator Author

jamesrweb commented Jun 19, 2022

@yevdyko I resolved the failing CI issue happening in this PR as part of #170 which has a merge target of here anyway. When that is merged CI will re-run here and pass assumedly, it was just a formatting issue with the commit suggestions 😄🤞🏻!

jamesrweb and others added 2 commits June 19, 2022 18:32
* update major changes in dependencies

* Add pnpm support for the project

* Update README.md

Co-authored-by: Eugene Dyko <yevdyko@gmail.com>

* Update README.md

Co-authored-by: Eugene Dyko <yevdyko@gmail.com>

Co-authored-by: Eugene Dyko <yevdyko@gmail.com>
@jamesrweb jamesrweb requested a review from yevdyko June 19, 2022 16:40
@jamesrweb jamesrweb force-pushed the update-children-interactions branch from 7710b17 to fd2438f Compare June 19, 2022 17:24
@jamesrweb
Copy link
Collaborator Author

@yevdyko I am finished making changes here, the PR is ready for re-review. 😄

@jamesrweb
Copy link
Collaborator Author

@yevdyko have you been able to review / test yet? If not, any idea when you'll get time? 😊

Copy link
Collaborator

@yevdyko yevdyko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamesrweb I've tested the changes in the example app and the new example with styled-components, and they work as expected. Also left a few clarifying questions

@jamesrweb jamesrweb requested a review from yevdyko June 30, 2022 11:39
@jamesrweb
Copy link
Collaborator Author

@yevdyko updated the PR, it's ready for re-review now, thanks for the comments! 👍🏻

@jamesrweb jamesrweb merged commit 4e6f4b8 into master Jun 30, 2022
Copy link
Collaborator

@yevdyko yevdyko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's ready to go! Thanks @jamesrweb for all these improvements 🚢

@jamesrweb jamesrweb deleted the update-children-interactions branch June 30, 2022 11:53
jamesrweb added a commit that referenced this pull request Aug 15, 2022
* Add example using a rotating plane

* Cover and error for the runtime issue when a sketch is not provided

* Update dependencies

* Update logic to actually throw rather than log until a workaround for the hook execution order is found

* Document how to handle the styling / positioning of children with a working example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dependencies Pull requests that update a dependency file documentation Pull requests that update project documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update children documentation
2 participants