Skip to content

Conversation

@pawelangelow
Copy link
Collaborator

@pawelangelow pawelangelow commented Nov 12, 2025

What

This PR serves as a prerequisite for upcoming changes. It removes the StatusIndicator component since we can achieve the same functionality using Indicator with a minor update to support semantic colors (danger, warning, success, etc.).

In addition to adding color support, another key consideration is the size difference:

  • The existing Indicator defaults to 0.8rem (≈8px)
  • The removed StatusIndicator uses 1rem (≈10px)
  • The RDI pages (upcoming PR) rely on a 6px reference

a.k.a. 8px vs 10px vs 6px, so this PR also helps unify these sizes, which was the original goal behind this change.

Testing

No regression on the Indicator component

Before After
Screenshot 2025-11-12 at 16 00 44 Screenshot 2025-11-12 at 16 00 17

Using the new size in RDI statistics

Before After
Screenshot 2025-11-12 at 16 01 00 Screenshot 2025-11-12 at 16 01 12

@pawelangelow pawelangelow self-assigned this Nov 12, 2025
@pawelangelow pawelangelow changed the title RI:7728: Support semantic colors in indicator RI:7728: Support semantic colors in Indicator Nov 12, 2025
@github-actions
Copy link
Contributor

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 82.66% 20602/24925
🟡 Branches 67.83% 8787/12954
🟡 Functions 77.4% 5555/7177
🟢 Lines 83.06% 20173/24286

Test suite run success

5280 tests passing in 689 suites.

Report generated by 🧪jest coverage report action from ed0af7e

@pawelangelow pawelangelow merged commit ff5f269 into main Nov 14, 2025
18 checks passed
@pawelangelow pawelangelow deleted the fe/RI-7728/refactor-indicator branch November 14, 2025 08:59
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.

3 participants