Commit 84b388f
committed
fix(review): address PR review feedback
- Remove dead imports (checkGhAuth, createGithubIssue) from review.ts
- Remove unused moveTo function and ESC constant
- Drop unused pendingPublish parameter from renderCard
- Deduplicate inline readline logic in 'e' handler by calling promptTitle
- Fix "1 / 0" header bug when publishing the last item — skip render entirely
- Wrap post-publish DB update in try/catch in both publish command and
review TUI so a failed DB update after a successful GitHub issue creation
logs the URL rather than silently losing it1 parent aa807ef commit 84b388f
2 files changed
+29
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
280 | 283 | | |
281 | | - | |
282 | | - | |
283 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
284 | 294 | | |
285 | 295 | | |
286 | 296 | | |
| |||
1011 | 1021 | | |
1012 | 1022 | | |
1013 | 1023 | | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
1014 | 1027 | | |
1015 | | - | |
1016 | | - | |
1017 | | - | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
1018 | 1038 | | |
1019 | 1039 | | |
1020 | 1040 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 33 | | |
40 | 34 | | |
41 | 35 | | |
| |||
101 | 95 | | |
102 | 96 | | |
103 | 97 | | |
104 | | - | |
105 | 98 | | |
106 | 99 | | |
107 | 100 | | |
| |||
234 | 227 | | |
235 | 228 | | |
236 | 229 | | |
237 | | - | |
| 230 | + | |
238 | 231 | | |
239 | 232 | | |
240 | 233 | | |
| |||
311 | 304 | | |
312 | 305 | | |
313 | 306 | | |
314 | | - | |
315 | | - | |
316 | 307 | | |
317 | 308 | | |
318 | 309 | | |
| |||
333 | 324 | | |
334 | 325 | | |
335 | 326 | | |
336 | | - | |
337 | 327 | | |
338 | 328 | | |
339 | 329 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
| 330 | + | |
| 331 | + | |
352 | 332 | | |
353 | 333 | | |
354 | 334 | | |
| |||
0 commit comments