mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 00:39:47 +08:00
* fix(chat): open quiz settings only when the learner picks the mode The Activity panel auto-open watched the active capability, so loading or reloading a session that was already in Quiz / Visualize / Research mode counted as a switch into that mode. On a phone the panel is a full-screen sheet, so every reopened quiz session started covered by its settings. Open the config card from handleSelectCapability instead, the only path for an explicit mode change (composer picker, slash command, launch intent). Session hydration no longer opens it; restored per-session settings are untouched. Signed-off-by: Benjamin Schwing <63053132+BenjiAvH@users.noreply.github.com> * test(chat): record viewer panel props through a spy Assigning to the hoisted fixture inside the forwardRef stub trips react-hooks/immutability; capture the props with a mock call instead. Signed-off-by: Benjamin Schwing <63053132+BenjiAvH@users.noreply.github.com> * fix(quiz): translate question badges and the German mimic label The quiz card header printed the raw question type (short_answer, fill_in_blank) and difficulty ids instead of the labels the quiz settings already use, and the German catalog left "Mimic Paper" untranslated. Signed-off-by: Benjamin Schwing <63053132+BenjiAvH@users.noreply.github.com> --------- Signed-off-by: Benjamin Schwing <63053132+BenjiAvH@users.noreply.github.com>