Commit c759026
Show viewer counts compactly rather than by system locale
Driving the TV view against a live server turned up 74,71,034 watching
Yahoo Finance. That is 7,471,034 grouped in lakhs, which is what
toLocaleString does on an Indian machine and is correct there — but it sits
in a column beside US market data, where a reader parses digit groups
without thinking about it and gets the wrong magnitude for a moment.
Compact form fixes both halves at once. "7.5M" carries the whole meaning in
a third of the width, which is what a rail that gets scanned rather than
read actually wants, and it has no digit grouping to get locale-dependent.
Scoped to the new view deliberately. The rest of the terminal calls bare
toLocaleString in a dozen places and has the same property; changing that
is a decision about the whole UI, not a detail of this one.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent ed0d097 commit c759026
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2022 | 2022 | | |
2023 | 2023 | | |
2024 | 2024 | | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
2025 | 2030 | | |
2026 | 2031 | | |
2027 | 2032 | | |
| |||
2045 | 2050 | | |
2046 | 2051 | | |
2047 | 2052 | | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
2048 | 2058 | | |
2049 | | - | |
| 2059 | + | |
2050 | 2060 | | |
2051 | 2061 | | |
2052 | 2062 | | |
| |||
0 commit comments