Skip to content

feat(export): Phase 7 - Export and Lab Trust Pass #81

@d-oit

Description

@d-oit

Description

Modernize Export panel with preview-first UX and clarify AI Harness status.

Tasks

ExportPanel.tsx

  • Replace generic panel copy with preview-first export UX
  • Add format cards: Markdown, JSON, SQLite snapshot, Graph data, Static Site
  • Add scope selector: all, selected entity, graph neighborhood, search results
  • Add counts before export (e.g., "12 entities, 47 claims, 156 links")
  • Add progress and success/failure states
  • Explain that SQLite/OPFS is canonical and Markdown/JSON/site are exports

AIHarness.tsx

  • Move under Lab or mark experimental
  • Stop reusing .chat-view if it becomes an agent console
  • Add truthful state: local model unavailable, local-only, or provider configured
  • Disable non-functional send action until behavior exists
  • Use panels: Prompt, Context, Run Log, Artifacts

JobMetrics.tsx

  • Move inline styles into tokenized CSS
  • Gate as debug-only if not a product surface
  • Consider product job queue indicator: indexing, exporting, stale index, failed jobs

Acceptance Criteria

  • Export does not look complete until artifacts are available
  • AI Harness does not imply working assistant when none exists
  • Local-first boundaries visible and truthful
  • Copy does not mention DB, console, or "agent ready"

Anti-Slop Rules

  • No vague AI badges
  • No implementation words in product UI
  • No toasts as only feedback for saving/indexing/export

References

  • plans/UI_MODERNIZATION_2026.md Phase 7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions