Commit a1ffbaf
authored
Refactor: Replace ArchivedBadge with Flexible StatusBadge Component (#2444)
* Delete ArchivedBadge component and its tests
* feat: Add StatusBadge component for repository status indication
* feat: Replace ArchivedBadge with StatusBadge in DetailsCard and RepositoriesCard components
* test: Update RepositoriesCard test to use StatusBadge and add StatusBadge tests
* refactor: improve input handling and validation
* test: Refactor StatusBadge tests for improved class assertion and update icon rendering
* fix: Update tooltip and aria-label for archived status in StatusBadge component
* test: Update StatusBadge tests to use SVG for icon rendering and adjust queries1 parent 7f0e5fa commit a1ffbaf
File tree
7 files changed
+432
-249
lines changed- frontend
- __tests__/unit/components
- src/components
7 files changed
+432
-249
lines changedLines changed: 0 additions & 205 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
0 commit comments