koko210Serve
6b922d84ae
frontend: rewrite Last Prompt as Prompt History viewer
- status.js: replace loadLastPrompt() with loadPromptHistory() + helpers
- fetch /prompts with optional source filter, populate dropdown
- selectPromptEntry() renders metadata bar + collapsible subsections
- parsePromptSections() splits full_prompt into System/Context/Conversation
- buildCollapsibleSection() with toggle arrows (▼/▶)
- copyPromptToClipboard() copies raw text
- toggleMiddleTruncation() truncates response from middle
- togglePromptHistoryCollapse() collapses entire section
- legacy loadLastPrompt() delegates to loadPromptHistory()
- core.js: add promptInterval to polling (10s), visibility resume
- update switchPromptSource() for 'all' filter + new button IDs
- update initPromptSourceToggle() default to 'all'
- declare promptInterval variable
2026-05-02 15:25:05 +03:00
..
2026-05-02 15:19:10 +03:00
2026-05-02 15:25:05 +03:00
2025-12-07 17:15:09 +02:00
2026-05-02 15:19:10 +03:00
2025-12-07 17:15:09 +02:00
2026-01-11 02:01:41 +02:00
2026-01-10 20:46:19 +02:00
2026-01-10 20:46:19 +02:00