Migrate `sw-color-badge` to `mt-color-badge` in the Administration
- Dominant language
- PHP
- Stars
- 3.4k
- Forks
- 1.2k
- Avg merge
- 3d 55m
- Merged PRs (30d)
- 436
Description
Sub-issue of #15461.
### Scope
Replace all remaining `` usages in the Administration with ``.
Usage at the time of writing: **25 occurrences in 12 files**
```bash
grep -rE '/]|$)' src/Administration/Resources/app/administration/src
```
### Acceptance criteria
- All in-scope `` tags are replaced by ``.
- No new usages of `sw-color-badge` are introduced.
- Behaviour parity is maintained for props, emitted events and slot content.
- Unit/E2E tests are updated only where selectors or DOM structure changed.
- AC validation is based on component tags (`sw-color-badge` -> `mt-color-badge`), not on
internal Meteor DOM classes (e.g. `.mt-color-badge`).
- Wrapper or deprecated fallback usage is not required for this component.
Contributor guide
Research direction
Start in src/Administration/Resources/app/administration/src and run the issue's grep command to locate all 25 sw-color-badge usages across 12 files. Replace the component tags while preserving props, emitted events, and slot content; inspect any affected unit or E2E selectors where DOM structure changes. Done means no in-scope sw-color-badge tags remain and no new usages are introduced.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 84/100