[PR #2759] [CLOSED] Add a single-file chat HUD #4250

Closed
opened 2026-11-07 15:34:20 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2759
Author: @matrix9neonebuchadnezzar2199-sketch
Created: 10/16/2026
Status: ❌ Closed

Base: main ← Head: feat/chat-hud-page


📝 Commits (3)

  • 96c4ffa feat(serve): add a single-file chat HUD
  • 1d4cbc8 fix(serve): attach a history thread dropped on the prompt
  • 9f11bd3 fix(serve): summarize a dropped thread before the prompt

📊 Changes

1 file changed (+2566 additions, -0 deletions)

View changed files

➕ strata-chat-hud.html (+2566 -0)

📄 Description

Title

Add a single-file chat HUD

Issue: none

Summary

Chat and the live monitor share one page. Saved chats are a two-level tree, and a thread can be dragged onto the prompt to attach it.

The change is one HTML file. Copy strata-chat-hud.html over serve/web/index.html. GET / already serves that path, so the server does not need a code change. The four composer icons use the existing serve/web/sprite.svg.

What changed

  • Add strata-chat-hud.html.
  • One screen: live figures, context, and the machine sit in the side panel next to the chat. History is the other tab of that panel.
  • History: folders and threads, two levels deep. New threads appear at the top and can be dragged into a folder. A folder that already has children cannot be nested again. The tree is stored in this browser's localStorage.
  • Drag a thread onto the prompt. On send, that chat is summarized first. The summary is placed ahead of what you typed, and the answer is generated from both together.

Extra Notes

  • Chat, metrics, and Unload use the existing server endpoints.
  • The Load button's model list calls a local helper that is not in this PR. Without it, that list does not load. The screen, the history tree, and the drag do not need it.
  • Nunito and JetBrains Mono are requested from Google Fonts. Segoe UI and Consolas are the fallbacks.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/2759 **Author:** [@matrix9neonebuchadnezzar2199-sketch](https://github.com/matrix9neonebuchadnezzar2199-sketch) **Created:** 10/16/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/chat-hud-page` --- ### 📝 Commits (3) - [`96c4ffa`](https://github.com/Niko1221/Strata/commit/96c4ffaf9d46f60daa486c804ed8468c7fcf42da) feat(serve): add a single-file chat HUD - [`1d4cbc8`](https://github.com/Niko1221/Strata/commit/1d4cbc86518f3e18c977a33f967645779635641b) fix(serve): attach a history thread dropped on the prompt - [`9f11bd3`](https://github.com/Niko1221/Strata/commit/9f11bd31974cedee8c30934d036a69cae42c33ce) fix(serve): summarize a dropped thread before the prompt ### 📊 Changes **1 file changed** (+2566 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `strata-chat-hud.html` (+2566 -0) </details> ### 📄 Description ## Title Add a single-file chat HUD Issue: none ## Summary Chat and the live monitor share one page. Saved chats are a two-level tree, and a thread can be dragged onto the prompt to attach it. The change is one HTML file. Copy `strata-chat-hud.html` over `serve/web/index.html`. `GET /` already serves that path, so the server does not need a code change. The four composer icons use the existing `serve/web/sprite.svg`. ## What changed - Add `strata-chat-hud.html`. - One screen: live figures, context, and the machine sit in the side panel next to the chat. History is the other tab of that panel. - History: folders and threads, two levels deep. New threads appear at the top and can be dragged into a folder. A folder that already has children cannot be nested again. The tree is stored in this browser's localStorage. - Drag a thread onto the prompt. On send, that chat is summarized first. The summary is placed ahead of what you typed, and the answer is generated from both together. ## Extra Notes - Chat, metrics, and Unload use the existing server endpoints. - The Load button's model list calls a local helper that is not in this PR. Without it, that list does not load. The screen, the history tree, and the drag do not need it. - Nunito and JetBrains Mono are requested from Google Fonts. Segoe UI and Consolas are the fallbacks. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:34:20 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#4250
No description provided.