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

♻️ Alluvial diagram refactor #143

Merged
merged 3 commits into from
Jan 31, 2023

Conversation

joao-m-santos
Copy link
Contributor

Relates to #130

📝 Description

  • Renamed the alluvial group composables
  • Simplified composable code and their responsibilities
  • Moved alluvialInstance properties to be options (better aligned with other charts work)
  • Added new AlluvialDiagramOptions type
  • Simplified alluvial specific typings
  • Added new errors composable to log chart errors
  • Improved alluvial diagram performance
    • Decreased re-render count
    • Decreased overall function calls

💥 Is this a breaking change (Yes/No):

  • No
  • Yes (please describe the impact and migration path for existing Lume users)

📝 Additional Information

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@joao-m-santos joao-m-santos requested a review from a team as a code owner January 23, 2023 11:44
@joao-m-santos joao-m-santos self-assigned this Jan 23, 2023
@netlify
Copy link

netlify bot commented Jan 23, 2023

Deploy Preview for adyen-lume ready!

Name Link
🔨 Latest commit 9e92831
🔍 Latest deploy log https://app.netlify.com/sites/adyen-lume/deploys/63d3dfd108516500086ac2b7
😎 Deploy Preview https://deploy-preview-143--adyen-lume.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@joao-m-santos
Copy link
Contributor Author

Dependant on #139

* Renamed the alluvial group composables
* Simplified composable code and their responsibilities
* Moved alluvialInstance properties to be options (better
  aligned with other charts work)
* Added new AlluvialDiagramOptions type
* Simplified alluvial specific typings
* Added new errors composable to log chart errors
* Improved alluvial diagram performance
  * Decreased re-render count
  * Decreased overall function calls
@joao-m-santos joao-m-santos changed the base branch from main to 130-code-clean-up January 27, 2023 14:34
@joao-m-santos joao-m-santos merged commit d1534f0 into 130-code-clean-up Jan 31, 2023
@joao-m-santos joao-m-santos deleted the 130-alluvial-refactor branch February 1, 2023 10:56
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.

3 participants