hex/src/dictation
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax a2a583b95f
history: chart the dictation stats dialog (#1962)
* history: chart the dictation stats dialog

The Lab's Stats dialog now leads with four headline tiles (dictations, words,
words per minute, and the daily streak), then charts dictations per local day
over the last 30 days with empty days left at zero and today's bar in the
accent colour, lists the top apps as bars against the busiest one, meters
Output's share of the text, and names each rewrite profile's median and
slowest latency. A section with nothing to show stays out.

HistoryStats gains the daily series and per-profile latency, both additive in
hex history stats --json. The dialog moves to rune_ui/history/stats.rs so
history.rs keeps its headroom, the big number is controls::STATS_NUMBER, and
the History strings live in desktop/i18n/history.rs.

Docs cover the new contents and JSON fields, and the scene fixture shows every
section.

* history: make the stats dialog honest about Output time and fit small windows

Output time now names each mode's whole Output processing, rewrite plus any
transformations, and leaves out runs that fell back (a failure or a deadline)
and runs that only applied the person's transformations, whose profile is the
processor's `CUSTOM_TRANSFORMATIONS` constant. The field and its JSON are
`output_time`, renamed from the unreleased `rewrite_latency`.

The dialog's body scrolls inside the window (never past the minimum 860×560),
keeping the title and Close put, and sizes to its content otherwise. Tile
numbers group their thousands, truncate instead of spilling, and use tabular
figures; profile names match app names; decimal seconds use a comma where the
language writes one. The chart's accessible label names today's and the
busiest day's counts.

The scene fixture is the worst case: five apps, four modes, long names, and a
six-digit word count. Docs and translations follow, and tests cover fallback
and transformation-only runs, the JSON field names, and the smallest window.

* history: group stats numbers by language and fit the dialog to its content

Number grouping and the decimal comma now live together in
desktop/i18n/numbers.rs, keyed on the interface language: thousands are "."
in German, Spanish, and Portuguese, a narrow no-break space in French,
Polish, Russian, and Ukrainian, and "," in English, Chinese, and Japanese,
while the decimal comma covers Polish and Spanish too. Stats numbers and
latency seconds call them instead of the English-only helpers, and the
numbers tests cover every language Hex ships.

When the sections fit, the dialog now draws no scroll body at all: no bar, no
edge-fade padding, and the counts and timings end on the Close button's edge.
The title and footer are measured rather than assumed, so the body's room
follows their real heights, and only a short window gets the scrolling body.
2026-11-18 03:38:56 -05:00
..
processor use OpenCode's default model for meeting summaries (#1844) 2026-11-14 22:53:32 -05:00
apple_cleanup.rs fix: label an unset OpenCode rewrite model as automatic and log the model that answered (#1961) 2026-11-18 02:40:37 -05:00
audio.rs fix(dictation): release the warm mic while the display sleeps or the screen is locked (#1956) 2026-11-18 02:34:47 -05:00
browser_page.rs Meetings: read Arc's page through Accessibility when Automation is off (#831) (#833) 2026-11-01 08:57:15 -05:00
caret_prompt.rs feat(labs): let the rewrite read text around the cursor (macOS) (#1815) 2026-11-13 23:36:24 -05:00
caret_text.rs feat(labs): let the rewrite read text around the cursor (macOS) (#1815) 2026-11-13 23:36:24 -05:00
config.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
context.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
corpus_tests.rs Fold dictation_* into dictation/ 2026-10-31 15:13:56 -07:00
diagnostics.rs refactor: derive hand-kept lists and literals from one source (t1539) (#1749) 2026-11-12 11:58:11 -08:00
filler_words.rs only remove filler words from english dictation (#1492) 2026-11-07 11:26:30 -05:00
indicator.rs fix: notch ears reach the menu bar's bottom edge; build with pre-26.4 SDKs (#1882) 2026-11-16 02:13:35 -05:00
live_text.rs feat(windows): /dictations records with Hex's own microphone, and a dictation can stream its live text (#1474) 2026-11-07 16:21:52 -06:00
modes.rs history: chart the dictation stats dialog (#1962) 2026-11-18 03:38:56 -05:00
processor.rs history: chart the dictation stats dialog (#1962) 2026-11-18 03:38:56 -05:00
release_tail.rs dictation: keep the live stream inside the clip and stop calling a feedback tone a lost opening (#1911) 2026-11-16 14:36:17 -05:00
screen_vocabulary.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
service.rs fix: query recording owners and unify transformation startup (t1549) (#1760) 2026-11-12 17:56:25 -08:00
spoken_formatting.rs Fix #1167: dictation text post-processing (spoken quote/unquote keywords) (#1169) 2026-11-03 12:27:07 -05:00
spoken_symbols.rs Fix #1040: spoken symbols and spoken formatting commands (#1041) 2026-11-02 11:39:43 -05:00
stop_phrase.rs labs: stop phrase finishes a hands-free dictation (#1886) 2026-11-16 06:19:37 -05:00
tail_tests.rs Fold dictation_* into dictation/ 2026-10-31 15:13:56 -07:00
text_replacements.rs Fold dictation pipeline modules into dictation/ 2026-10-31 16:12:40 -07:00
vocabulary.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
voice_prompt.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
yolo_mode.rs fix(dictation): send short replies in YOLO mode (t1596) (#1903) 2026-11-16 16:00:14 -08:00