Commit e360ecf
feat: migrate StageSummaryScreen to ratatui
StageSummaryScreenをratatuiに移行しました。
Changes:
- Migrate StageCompletionView to ratatui
- Add render() method with proper layout calculation
- Use GradationText for score ASCII display (completed challenges)
- Use solid colors for failed/skipped challenges
- Render title, score label, ASCII score, metrics, progress, and options
- Update StageSummaryScreen to use ratatui backend
- Add snapshot test with MockStageSummaryDataProvider
- Adjust spacing:
- 3 lines after title
- 2 lines before metrics (CPM/WPM/Time)
- Fix vertical centering calculation
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 5c3afaa commit e360ecf
File tree
7 files changed
+348
-294
lines changed- src/presentation/game
- screens
- views/stage_summary
- tests/integration/screens
- mocks
- snapshots
7 files changed
+348
-294
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
102 | 108 | | |
103 | 109 | | |
104 | 110 | | |
| |||
157 | 163 | | |
158 | 164 | | |
159 | 165 | | |
160 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
161 | 171 | | |
162 | 172 | | |
163 | 173 | | |
| |||
171 | 181 | | |
172 | 182 | | |
173 | 183 | | |
174 | | - | |
| 184 | + | |
| 185 | + | |
175 | 186 | | |
176 | 187 | | |
177 | 188 | | |
178 | 189 | | |
179 | 190 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
| 191 | + | |
185 | 192 | | |
| 193 | + | |
| 194 | + | |
186 | 195 | | |
187 | 196 | | |
188 | 197 | | |
| |||
0 commit comments