Skip to content

[UI] Use Angular property binding for SVG fill attribute#3542

Merged
sfeilmeier merged 2 commits intodevelopfrom
feature/pr/3377
Jan 24, 2026
Merged

[UI] Use Angular property binding for SVG fill attribute#3542
sfeilmeier merged 2 commits intodevelopfrom
feature/pr/3377

Conversation

@sfeilmeier
Copy link
Copy Markdown
Contributor

This PR replaces attr.fill="{{ fillRef }}" with [attr.fill]="fillRef" in SVG polygon bindings for improved Angular consistency and maintainability. The property binding syntax [attr.fill] is the standard Angular approach for dynamic attribute values, ensuring type safety, better template parsing, and alignment with the rest of the codebase.

Based on #3377

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #3542      +/-   ##
=============================================
- Coverage      59.36%   59.35%   -0.01%     
  Complexity       105      105              
=============================================
  Files           3066     3066              
  Lines         132833   132833              
  Branches        9816     9816              
=============================================
- Hits           78841    78826      -15     
- Misses         51011    51019       +8     
- Partials        2981     2988       +7     
🚀 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.

@sfeilmeier sfeilmeier merged commit c1a6b01 into develop Jan 24, 2026
7 checks passed
@sfeilmeier sfeilmeier deleted the feature/pr/3377 branch January 24, 2026 12:37
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.

2 participants