Files
DeepTutor/web
Bingxi Zhao (Frank) 877a503bad feat(home): show three starter chips under the composer
Each chip renders its label and sends its prompt — the whole sentence the
learner would have typed — so one click starts a real conversation instead of
prefilling something they still have to finish. No handoff is involved: the
home screen is already a draft session while it has no messages, so the chips
go through the same send path as the composer, which both creates the session
and starts it on the topic.

The time-of-day greeting above the composer is untouched. Chips sit between
the composer and the flex spacer, so they ride up with it on the empty screen
and disappear the moment there is a first message.

Generated text does NOT go through the i18n table — a generated label that
happened to match a key would be silently replaced by an unrelated
translation. Only the fixed starters are keys, and the component tracks which
of the two it is holding.

Nothing renders until the first response lands: chips appearing a beat late is
calmer than fixed copy visibly swapping for generated copy. A failed read
falls back to the fixed starters rather than an empty row, and a reroll that
comes back empty keeps what is already on screen.
2026-08-17 09:57:55 +08:00
..
2026-01-23 01:42:25 +08:00
2026-07-31 00:25:48 +08:00
2026-06-17 00:56:27 +08:00
2025-12-28 23:45:41 +08:00
2025-12-28 23:45:41 +08:00
2026-08-02 13:07:32 +08:00
2026-05-08 02:36:24 +08:00
2026-07-31 00:25:48 +08:00
2025-12-28 23:45:41 +08:00
2026-08-02 13:07:32 +08:00