Web Chat: split component markup and presentation files #553

Closed
opened 2026-10-27 13:36:47 +00:00 by sam · 0 comments
Owner

Refactor the Web Chat out of a large JavaScript-built markup blob. Keep HTML structure in a dedicated template, CSS in dedicated chat styles, Markdown rendering in its own module, and interaction/rendering behavior in focused modules while preserving current API behavior.

Acceptance Criteria

Chat has dedicated HTML, CSS, Markdown, view, catalog, panel, render, and state modules; chat.js contains only chat-specific coordination and event wiring with no static markup blob; npm tests/build and task check pass; Playwright confirms chat interactions and Markdown rendering.


Imported from beads archie-core-1786637490459-26-4b407a88 · GitHub #47 · type task · priority P2 · created 2026-08-08 · closed 2026-08-08

Refactor the Web Chat out of a large JavaScript-built markup blob. Keep HTML structure in a dedicated template, CSS in dedicated chat styles, Markdown rendering in its own module, and interaction/rendering behavior in focused modules while preserving current API behavior. ### Acceptance Criteria Chat has dedicated HTML, CSS, Markdown, view, catalog, panel, render, and state modules; chat.js contains only chat-specific coordination and event wiring with no static markup blob; npm tests/build and task check pass; Playwright confirms chat interactions and Markdown rendering. --- _Imported from beads `archie-core-1786637490459-26-4b407a88` · GitHub #47 · type task · priority P2 · created 2026-08-08 · closed 2026-08-08_
sam added the mediumtask labels 2026-10-27 13:36:47 +00:00
sam self-assigned this 2026-10-27 13:36:47 +00:00
sam closed this issue 2026-10-27 13:36:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#553