Skip to content

feat(webui): aesthetics, layout, informability — surface what matters #956

Closed

Description

@Sinity

Summary

A pass on the web reader's visual design and information architecture: layout, density, hierarchy, the discoverability of filters/controls/folding/TOCs, and the at-a-glance answers it gives.

Why

The MK2 cockpit (`polylogue/daemon/web_shell.py`) carries dense state — provider, lane, FTS readiness, conversation metadata, message-level annotations, search facets — but exposes most of it as inline text. There's room for:

  • Layout: better use of the three-column grid; collapsible side panels; per-panel resize and persistence
  • Density modes: comfortable / compact / dense, persisted per-user
  • Hierarchy: clear primary action vs secondary, real type scale (not just one font size with semantic colors)
  • Filters & controls: chips for active filter chain, one-keystroke clear, keyboard-first navigation
  • TOC / outline: per-conversation outline with anchors to long messages, headings, code blocks
  • Folding: code-block fold/unfold, tool-output fold-by-default with token count, thinking-block show/hide
  • Surface what matters: when a session has cost data, anomaly alerts, FTS-stale flags, lineage parents — pull those out of inline text into status chips
  • Theme: dark theme is the only one; offer light / sepia; persist
  • Accessibility: keyboard nav, ARIA, contrast — at least pass axe-core

Acceptance criteria

  • Visual style guide doc with tokens (color, type scale, spacing) referenced by the CSS
  • Each design move ships with a screenshot in `docs/media/webui/` (see docs: revamp README + assurance visuals (screencasts, webui+extension screenshots) #952)
  • Lighthouse score >= 90 on `/` for performance, accessibility, best practices
  • Keyboard-only navigation works for: open conversation, navigate between conversations, search, apply/clear filter, fold/unfold

Related

Activity

  1. Sinity commented on May 8, 2026

    @Sinity
    OwnerAuthor

    Closing: webui aesthetics is deferred to the MK2 reader milestone. The current web reader (daemon/web_shell.py) serves the conversation list/view/inspector core. Aesthetic refinement follows the realtime (#957) and advanced functionality tracks.

  2. Sinity commented on May 9, 2026

    @Sinity
    OwnerAuthor

    Reopening: closeout deferred this to "MK2/future" without explicit authorization. Per CLAUDE.md §10 (Completion Stewardship) and the issue-closeout-honesty rule, deferral isn't a close reason unless the user agrees. Either complete or convert to a tracked successor with explicit user sign-off.

  3. reopened this on May 9, 2026
  4. Sinity commented on May 11, 2026

    @Sinity
    OwnerAuthor

    Strengthening pass — web UI aesthetics and informability

    This issue should be tied to operator workflows, not generic visual redesign. The reader is a dense local archive cockpit: it needs scanability, state clarity, and safe interaction under degraded archive states.

    Refined scope:

    • Layout should support list/search/detail/inspector/status without hiding critical archive readiness or privacy cues.
    • Density modes should be based on repeated-use operator workflows; avoid marketing-style hero/layout work.
    • Informability means the UI answers: what am I looking at, what filters are active, is data fresh, are insights/FTS ready, what failed, what can I safely do next.
    • Design work should consume real data fixtures and seeded degraded states, not static mock text only.
    • Visual changes need screenshot/DOM evidence; otherwise this becomes subjective and hard to review.

    Implementation anchors:

    • polylogue/daemon/web_shell.py and design-canvas artifacts under docs/design/mk2/.
    • Reader/web tests and the visual smoke harness tracked elsewhere.
    • Shared status/facet/query payloads.

    Acceptance should define target states: empty archive, healthy archive, search no-results with diagnostics, degraded FTS, ingest running, raw failures present, insight stale, detail view with long transcript, mobile/narrow viewport if supported.

  5. Sinity commented on May 15, 2026

    @Sinity
    OwnerAuthor

    MK3 integration update

    MK3 is now the canonical aesthetic/layout target for the local reader/workbench, committed under docs/design/mk3/ and folded into docs/execution-plan.md.

    For this issue, aesthetics and informability should mean:

    • dense operational workbench, not a marketing dashboard;
    • readable transcript first, with metadata in chips, folds, hover sheets, and inspector panels;
    • explicit state language for unavailable, inferred, heuristic, unresolved, repaired, stale, partial, estimated, unavailable, and redacted data;
    • consistent chip ordering from docs/design/mk3/docs/11-little-details.md;
    • layouts for command center, search/result cockpit, conversation reader, long-session map, topology, attachments, paste browser, insights, provenance, live/capture, maintenance, settings, and command palette as they become real through owner issues.

    This issue should consume the substrate and evidence owners rather than implementing fake charts or frontend-only data: #848, #865, #866, #867, #957, #993, #1019, and #995.

  6. Sinity commented on May 17, 2026

    @Sinity
    OwnerAuthor

    Status — leaving open

    PR #1127 (merged 2026-05-17) brought the daemon web reader part-way onto MK3: shared data-quality chip vocabulary, tri-state FTS readiness chip, session-insight freshness chip, MK3 conversation-header chip order, context-preserving sidebar empty states, disabled-action tooltips.

    Per the MK3 integration note this issue's bar is the full operational workbench: state language for unavailable/inferred/heuristic/unresolved/repaired/stale/partial/estimated/redacted data; layouts for command center, search/result cockpit, conversation reader, long-session map, topology, attachments, paste browser, insights, provenance, live/capture, maintenance, settings, command palette. PR #1127 covered the chip vocabulary slice — most MK3 layouts and state-language coverage still pending and tied to substrate owner issues (#848, #865, #866, #867, #957, #993, #1019, #995).

    Remaining as the MK3 reader-UI umbrella.

  7. Sinity commented on May 17, 2026

    @Sinity
    OwnerAuthor

    Closing — subsumed by #993 MK3 children

    The 2026-05-17 MK3 integration note made #993 the canonical successor for layout/aesthetics work. With #993 decomposed into MK3 slices #1199-#1205, every remaining acceptance item for #956 belongs to one of those children:

    Light/sepia theme + lighthouse 90 + axe-core are folded into #1205 (visual + a11y coverage) and #1202 (keyboard-first navigation). Closing here with explicit successor mapping; the MK3 children carry concrete AC.

    Ref #993 #1199 #1201 #1202 #1203 #1204 #1205.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions