MicroFish/frontend/src
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
..
api fix(interview): repair interview-history endpoint and surface past interviews in UI 2026-06-13 14:28:29 +07:00
assets/logo Enhance homepage layout and styling 2025-12-10 15:15:44 +08:00
components fix(interview): repair interview-history endpoint and surface past interviews in UI 2026-06-13 14:28:29 +07:00
i18n feat(i18n): set up vue-i18n with dynamic locale loading 2026-04-01 15:22:14 +08:00
router Implement interaction features in Step5Interaction component and add routing for interaction view 2025-12-16 17:50:43 +08:00
store Add D3.js dependency and implement pending upload state management 2025-12-10 18:17:26 +08:00
views fix(i18n): fix English workflow desc font size with correct CSS selectors 2026-04-01 19:11:22 +08:00
App.vue Update font styles across the application to include 'Noto Sans SC' for improved typography consistency. 2025-12-26 17:35:09 +08:00
main.js feat(i18n): set up vue-i18n with dynamic locale loading 2026-04-01 15:22:14 +08:00