feat: live markdown preview toggle in chat input

- Eye icon button next to file picker toggles preview on/off
- Shows rendered markdown above textarea in real-time
- Lazy-loads ReactMarkdown (no bundle impact when off)
- Preference persisted in localStorage
- i18n: EN/FR labels for show/hide preview
This commit is contained in:
Nicolas Varrot
2026-02-13 01:56:13 +00:00
parent 550a9dbba9
commit 4dfaaff2b5
3 changed files with 32 additions and 3 deletions

View File

@@ -554,7 +554,8 @@
## Item #52
- **Date:** 2026-02-12
- **Priority:** medium
- **Status:** pending
- **Status:** done
- **Completed:** 2026-02-13 — commit `82d2e37`
- **Description:** Raw JSON viewer — toggle to see raw gateway messages
- Toggle button to switch between rendered view and raw JSON
- Show the full gateway message payload as formatted JSON