Skip to content

Conversation

@clarasb
Copy link
Collaborator

@clarasb clarasb commented Feb 10, 2026

This PR adds icon support for the Button, IconButton and Tabs components by,

  • adding an Iconcomponent with the property iconName. iconName has to be a string that corresponds with the names of the Material Icons
  • integrating the Icon component into Button, IconButton and Tabs

Other changes:

  • in chartlets.py/chartlets/components/button.py: Added size and removed variant property from IconButton
    component to align with component in chartlets.js.

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.24%. Comparing base (5d9b673) to head (5b46611).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #138      +/-   ##
==========================================
+ Coverage   92.21%   92.24%   +0.03%     
==========================================
  Files          86       87       +1     
  Lines        1503     1509       +6     
  Branches      231      233       +2     
==========================================
+ Hits         1386     1392       +6     
  Misses         98       98              
  Partials       19       19              
Flag Coverage Δ
backend 100.00% <100.00%> (ø)
frontend 84.03% <100.00%> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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