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

feat(core): use figma variables to store/export raddii slices #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gabrieleAngius
Copy link
Collaborator

Proposed changes

introduced logic to init the morfeo variable collection and save on the state the radii variables found. Add also some defaults if there are no valid radii variables found

wip #27

Types of changes

  • ✨ New feature (non-breaking change which adds functionality or enhancements)
  • 🐛 Bugfix (non-breaking change which fixes an issue)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • ✅ Tests (added tests for an existing feature)
  • 📚 Chore / Documentation Update (if none of the other choices apply)
  • 🙌 Other (please, write a clear and concise description of the proposal in the section above)

Checklist

  • ✂️ I have ensured that the PR is concise and broken down if needed
  • 👀 I have read the README doc
  • 🧪 I have added tests that prove my fix is effective or that my feature works
  • 📚 I have added necessary documentation (if appropriate)
  • 🔀 Any dependent changes have been merged and published in downstream modules

introduced logic to init the morfeo variable collection and save on the state the radii variables
found. Add also some defaults if there are no valid radii variables found

wip #27
@codecov
Copy link

codecov bot commented Jun 30, 2023

Codecov Report

Patch coverage: 98.11% and project coverage change: +9.25 🎉

Comparison is base (243d05f) 90.36% compared to head (40175c8) 99.62%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
+ Coverage   90.36%   99.62%   +9.25%     
==========================================
  Files          13       15       +2     
  Lines         218      267      +49     
  Branches       41       51      +10     
==========================================
+ Hits          197      266      +69     
+ Misses         20        1      -19     
+ Partials        1        0       -1     
Impacted Files Coverage Δ
widget-src/types.ts 100.00% <ø> (ø)
widget-src/utils/getVariablesBySlice.ts 93.75% <93.75%> (ø)
widget-src/constants.ts 100.00% <100.00%> (ø)
widget-src/hooks/useInitCollection.ts 100.00% <100.00%> (ø)
widget-src/hooks/useInitTheme.ts 100.00% <100.00%> (+77.77%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

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