Commit 2a55eb0
committed
refactor(test-results-bar): move tab logic into pane component
Remove the TopSection component and inline its tab rendering
directly inside the Pane template. Move the tabs getter and
handleTabClick action from TopSection.ts to pane.ts. This
simplifies the test results bar by consolidating tab-related
logic and markup, reducing component indirection and improving
maintainability.1 parent 30a4e94 commit 2a55eb0
File tree
4 files changed
+35
-62
lines changed- app/components/course-page/test-results-bar
4 files changed
+35
-62
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
18 | 41 | | |
19 | 42 | | |
20 | 43 | | |
| |||
Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 0 additions & 42 deletions
This file was deleted.
0 commit comments