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-04-29 20:56:49 +03:00
2026-04-29 20:56:49 +03:00
2026-05-02 15:25:05 +03:00
2026-04-29 20:56:49 +03:00
2026-04-29 20:56:49 +03:00
2026-04-29 20:56:49 +03:00
2026-04-30 12:30:49 +03:00
2026-04-29 20:56:49 +03:00
2026-04-29 20:56:49 +03:00
2026-05-02 15:25:05 +03:00