Commit e8ec098
committed
refactor: simplify About Modal layout with HTML definition list
Replace PatternFly DescriptionList components with standard HTML
<dl>, <dt>, and <dd> tags for a cleaner two-column layout.
Changes:
- Remove PatternFly DescriptionList imports
- Use native HTML definition list elements (dl, dt, dd)
- Maintain all data-testid attributes and co-select-to-copy classes
- Keep the same information displayed:
- Dashboard Version
- Server Version
- Username
- Browser Name
- Browser Version
- Browser OS
Benefits:
- Simpler markup structure
- Better semantic HTML
- More flexible styling control
- Maintains accessibility and testability
All tests pass (12 passed).
Assisted-by: Claude Sonnet 4.5
Signed-off-by: Oleksii Orel <oorel@redhat.com>1 parent bbd5a5d commit e8ec098
File tree
2 files changed
+34
-50
lines changed- packages/dashboard-frontend/src/Layout/Header/Tools/AboutMenu
2 files changed
+34
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 33 additions & 49 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 13 | + | |
21 | 14 | | |
22 | 15 | | |
23 | 16 | | |
| |||
54 | 47 | | |
55 | 48 | | |
56 | 49 | | |
57 | | - | |
| 50 | + | |
58 | 51 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
65 | 55 | | |
66 | | - | |
67 | | - | |
| 56 | + | |
| 57 | + | |
68 | 58 | | |
69 | 59 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
76 | 63 | | |
77 | | - | |
78 | | - | |
| 64 | + | |
| 65 | + | |
79 | 66 | | |
80 | 67 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
84 | 71 | | |
85 | | - | |
86 | | - | |
| 72 | + | |
| 73 | + | |
87 | 74 | | |
88 | 75 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
92 | 79 | | |
93 | | - | |
94 | | - | |
| 80 | + | |
| 81 | + | |
95 | 82 | | |
96 | 83 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
103 | 87 | | |
104 | | - | |
105 | | - | |
| 88 | + | |
| 89 | + | |
106 | 90 | | |
107 | 91 | | |
108 | | - | |
109 | | - | |
110 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
111 | 95 | | |
112 | | - | |
113 | | - | |
| 96 | + | |
| 97 | + | |
114 | 98 | | |
115 | | - | |
| 99 | + | |
116 | 100 | | |
117 | 101 | | |
118 | 102 | | |
| |||
0 commit comments