feat: add session creation and ID management with localStorage

- Session store with UUID v4 generation and localStorage persistence
- Session ID in URL params (?session=<id>) for deep linking
- "New Chat" button for creating fresh sessions
- Message history persisted per session
- Session title auto-generated from first user message

Closes #11

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shahondin1624
2026-03-12 11:52:19 +01:00
parent 9613a5ad5b
commit 247abfe32c
4 changed files with 165 additions and 2 deletions

View File

@@ -12,3 +12,4 @@
| #8 | Orchestration state progress indicator | COMPLETED | [issue-008.md](issue-008.md) |
| #9 | Intermediate results display | COMPLETED | [issue-009.md](issue-009.md) |
| #10 | Final result rendering with artifacts | COMPLETED | [issue-010.md](issue-010.md) |
| #11 | Session creation and ID management | COMPLETED | [issue-011.md](issue-011.md) |

View File

@@ -0,0 +1,17 @@
---
---
# Issue #11: Session creation and ID management
**Status:** COMPLETED
**Issue:** https://git.shahondin1624.de/llm-multiverse/llm-multiverse-ui/issues/11
**Branch:** `feature/issue-11-session-management`
## Acceptance Criteria
- [x] UUID v4 session ID generated on new chat creation
- [x] Active session ID persisted in URL params (?session=<id>)
- [x] Session ID also stored in localStorage for recovery
- [x] "New Chat" button creates a fresh session
- [x] Switching sessions updates URL and loads correct message history
- [x] Session ID passed to ProcessRequest gRPC calls