Commit 714deb9
committed
feat(issue-list): redesign table to match Sentry web UI
Redesign the `sentry issue list` table to match the Sentry web UI issue
stream layout with better information density and visual clarity.
Column layout:
SHORT ID | ISSUE | SEEN | AGE | TREND | EVENTS | USERS | TRIAGE
Key changes:
- Sparkline trend graphs using Unicode block characters (▁▂▃▄▅▆▇█)
with bucket-averaging downsample, rendered via new sparkline module
- TREND column with sparkline + substatus label (New, Ongoing,
Regressed, Escalating), auto-hidden on narrow terminals (<100 cols)
- TRIAGE column combining priority and Seer fixability into a composite
score: impact×0.6 + fixability×0.4, colored by tier
- 2-line default rows (title+subtitle, sparkline+substatus, id+alias)
with --compact flag for single-line condensed output
- Row separators between data rows for visual clarity
- Request groupStatsPeriod=auto from the API for sparkline data
Text table improvements:
- Row separator support (dimmed horizontal dividers between data rows)
- Multi-line cell width calculation fix: split on newlines and take max
line width instead of summing across the entire string
Removed columns: LEVEL, ALIAS (merged into SHORT ID), ASSIGNEE, PRIORITY
(replaced by TRIAGE). Renamed COUNT → EVENTS.1 parent 8ce5128 commit 714deb9
File tree
10 files changed
+1092
-206
lines changed- src
- commands/issue
- lib
- formatters
- test/lib/formatters
10 files changed
+1092
-206
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
438 | 439 | | |
439 | 440 | | |
440 | 441 | | |
441 | | - | |
| 442 | + | |
442 | 443 | | |
443 | 444 | | |
444 | 445 | | |
| |||
735 | 736 | | |
736 | 737 | | |
737 | 738 | | |
| 739 | + | |
738 | 740 | | |
739 | 741 | | |
740 | 742 | | |
| |||
745 | 747 | | |
746 | 748 | | |
747 | 749 | | |
| 750 | + | |
748 | 751 | | |
749 | 752 | | |
750 | 753 | | |
| |||
826 | 829 | | |
827 | 830 | | |
828 | 831 | | |
829 | | - | |
| 832 | + | |
830 | 833 | | |
831 | 834 | | |
832 | 835 | | |
| |||
1088 | 1091 | | |
1089 | 1092 | | |
1090 | 1093 | | |
1091 | | - | |
| 1094 | + | |
1092 | 1095 | | |
1093 | 1096 | | |
1094 | 1097 | | |
| |||
1198 | 1201 | | |
1199 | 1202 | | |
1200 | 1203 | | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
1201 | 1209 | | |
1202 | 1210 | | |
1203 | 1211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1149 | 1149 | | |
1150 | 1150 | | |
1151 | 1151 | | |
| 1152 | + | |
| 1153 | + | |
1152 | 1154 | | |
1153 | 1155 | | |
1154 | 1156 | | |
| |||
1175 | 1177 | | |
1176 | 1178 | | |
1177 | 1179 | | |
| 1180 | + | |
1178 | 1181 | | |
1179 | 1182 | | |
1180 | 1183 | | |
| |||
1221 | 1224 | | |
1222 | 1225 | | |
1223 | 1226 | | |
| 1227 | + | |
| 1228 | + | |
1224 | 1229 | | |
1225 | 1230 | | |
1226 | 1231 | | |
| |||
1247 | 1252 | | |
1248 | 1253 | | |
1249 | 1254 | | |
| 1255 | + | |
1250 | 1256 | | |
1251 | 1257 | | |
1252 | 1258 | | |
| |||
0 commit comments