feat(ui): persist the chat conversation in localStorage — survives refresh and navigation, with a New chat reset
This commit is contained in:
@@ -21,6 +21,11 @@
|
||||
<a href="/" class="nav-link is-active" aria-current="page">Chat</a>
|
||||
<a href="/sources.html" class="nav-link">Sources</a>
|
||||
</nav>
|
||||
<!-- Phase 14: reset the local (localStorage) conversation — chat page only. -->
|
||||
<button type="button" class="new-chat-btn" id="new-chat-btn" aria-label="New chat">
|
||||
<svg aria-hidden="true" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg>
|
||||
<span class="new-chat-label">New chat</span>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user