MicroFish/frontend/src/components
FeelRatchanons 878481eef3 fix(interview): repair interview-history endpoint and surface past interviews in UI
The interview-history feature already existed (interviews are recorded to each
platform's OASIS sqlite DB and `POST /api/simulation/interview/history` reads
them) but was broken on two fronts:

1. Backend crash: get_interview_history sorts merged twitter+reddit results by
   "timestamp", but the two platforms store created_at with different types
   (one int-like, one datetime string), raising
   "'<' not supported between instances of 'int' and 'str'". Coerce the sort
   key to str so mixed-type timestamps sort safely.

2. Step 5 (Interaction) never loaded that history, so past interviews vanished
   on reload. Add getInterviewHistory() and load it on mount, seeding the
   per-agent chat cache (chronological, prompt-prefix stripped, deduped across
   platforms) so selecting an agent shows prior Q&A.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-13 14:28:29 +07:00
..
GraphPanel.vue feat(i18n): replace hardcoded Chinese in frontend components with i18n calls 2026-04-01 15:43:11 +08:00
HistoryDatabase.vue feat(i18n): replace hardcoded Chinese in frontend components with i18n calls 2026-04-01 15:43:11 +08:00
LanguageSwitcher.vue fix(i18n): fix curly quotes in Home.vue and remove unused dark theme from LanguageSwitcher 2026-04-01 16:23:52 +08:00
Step1GraphBuild.vue feat(i18n): replace hardcoded Chinese in frontend components with i18n calls 2026-04-01 15:43:11 +08:00
Step2EnvSetup.vue feat(i18n): replace hardcoded Chinese in frontend addLog() messages 2026-04-01 16:35:35 +08:00
Step3Simulation.vue feat(i18n): replace remaining hardcoded Chinese in frontend addLog calls 2026-04-01 17:21:55 +08:00
Step4Report.vue fix(i18n): improve English layout for homepage left-pane and report title 2026-04-01 19:04:38 +08:00
Step5Interaction.vue fix(interview): repair interview-history endpoint and surface past interviews in UI 2026-06-13 14:28:29 +07:00