Skip to content

fix: replace SVG RECORDBUTTON with Material Icons ligature in toolbar#7783

Closed
ssz2605 wants to merge 1 commit into
sugarlabs:masterfrom
ssz2605:fix/record-button-material-icon
Closed

fix: replace SVG RECORDBUTTON with Material Icons ligature in toolbar#7783
ssz2605 wants to merge 1 commit into
sugarlabs:masterfrom
ssz2605:fix/record-button-material-icon

Conversation

@ssz2605

@ssz2605 ssz2605 commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Record button used an SVG string set via innerHTML, which broke when
PR 7757 converted innerHTML to textContent for security. Instead of
reverting to innerHTML, move the icon to index.html as a static
Material Icons ligature element, matching how Play and Stop work.

- Add fiber_manual_record to #record in HTML
- Remove dynamic icon creation from toolbar-ui.js
- Remove unused RECORDBUTTON import from turtledefs.js
- Update tests to reflect static icon
@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.00%. Comparing base (3aa560a) to head (409941e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7783      +/-   ##
==========================================
- Coverage   59.00%   59.00%   -0.01%     
==========================================
  Files         175      175              
  Lines       57916    57915       -1     
==========================================
- Hits        34172    34171       -1     
  Misses      23744    23744              

☔ View full report in Codecov by Harness.
📢 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

Development

Successfully merging this pull request may close these issues.

1 participant