Commit 7d20b8b
fix(message-box): resolve auto-close not working for success message
- Add configurable `messageAutoCloseSeconds` setting (0-60s, default 5s) to auto-close the commit message success dialog
- Implement `showAutoCloseMessage()` helper function to display messages with automatic dismissal after specified timeout
- Update success message UI to use auto-close behavior, supporting both managed and feedback modes
- Display countdown hint in message text to inform user of auto-close delay
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 398eca6 commit 7d20b8b
2 files changed
Lines changed: 56 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
141 | 149 | | |
142 | 150 | | |
143 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
5 | 40 | | |
6 | 41 | | |
7 | 42 | | |
| |||
157 | 192 | | |
158 | 193 | | |
159 | 194 | | |
160 | | - | |
161 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
162 | 205 | | |
163 | | - | |
164 | | - | |
| 206 | + | |
| 207 | + | |
165 | 208 | | |
166 | 209 | | |
167 | 210 | | |
168 | | - | |
169 | | - | |
| 211 | + | |
170 | 212 | | |
171 | 213 | | |
172 | 214 | | |
| |||
0 commit comments