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

UI: Refactor Info Text Blocks into a Reusable Template #2961

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

Sn0w3y
Copy link
Contributor

@Sn0w3y Sn0w3y commented Jan 13, 2025

  • Extracted the repeated “info storage” content into a single <ng-template> named infoStorageText.
  • Replaced each duplicated block with *ngTemplateOutlet="infoStorageText".
  • Reduced code duplication and simplified future maintenance.

No functionality or styling changes were made beyond consolidating the repeated markup.

@Sn0w3y Sn0w3y changed the title Simplify storagechartoverview.component.html Refactor Info Text Blocks into a Reusable Template Jan 13, 2025
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #2961      +/-   ##
=============================================
+ Coverage      57.08%   57.08%   +0.01%     
- Complexity      9729     9732       +3     
=============================================
  Files           2266     2266              
  Lines          96819    96819              
  Branches        7163     7163              
=============================================
+ Hits           55260    55262       +2     
+ Misses         39498    39494       -4     
- Partials        2061     2063       +2     

@Sn0w3y Sn0w3y changed the title Refactor Info Text Blocks into a Reusable Template UI: Refactor Info Text Blocks into a Reusable Template Jan 17, 2025
@sfeilmeier sfeilmeier requested a review from lukasrgr January 18, 2025 19:31
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