Inbox: Topic Tree view (List, Tree, Growth, per-topic Artifacts, and Topic Timeline)

未关闭
#4,086 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
18/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript

调研方向

The issue names no source files or tests; begin by tracing the existing Inbox thread view and its Artifacts/Links toggle in the repository. Compare those entry points with the proposed List, Tree, Growth, Artifacts, and Timeline views, then ask maintainers which data fields and phased scope they prefer. Done means an agreed implementation scope; the issue does not define that yet.

由索引模型根据 Issue 内容生成。

描述

Inbox: Topic Tree view (List, Tree, Growth, per-topic Artifacts, and Topic Timeline)

Problem

When an Inbox thread spans multiple rounds of agent and user exchanges—open questions, draft picks, replaced decisions, and attached/linked artifacts—a flat chronological message stream becomes difficult to scan. It is hard to see:

  • Which messages belong to which sub-branch or open question
  • Which earlier decisions were superseded and what replaced them
  • Which message produced a given artifact when the same document is attached and later linked again
  • The high-level chronological arc of a topic without scrolling through full message bodies

Proposal

Add a Topic Tree workspace view for Inbox threads with four complementary lenses, a chronological Topic Timeline modal, and a collapsible sidebar + sticky context rail:

  1. List view: Grouped topic branches with live Open / Answered / Replaced counts, Collapse all / Expand all, and direct links to unassigned messages outside branches.
  2. Tree view: Horizontal reply graph with rounded connector edges, single-line Replaced badges, explicit Picked in draft indicators, and keyboard return to source.
  3. Growth view: Compact branch-and-canopy overview mapping numbered artifact "fruits" to their originating branch, expandable pruned/abandoned branches, collision-free tooltips (hoverable and Escape-dismissible without losing focus), and a responsive linear list fallback on narrow screens (390px).
  4. Per-topic Artifacts view: Filterable artifact grid (type chips, Your uploads, single date or inclusive date range, clear empty-state reset), 2D spatial arrow-key card navigation matching Inbox 0.29.4, safe offline image lightbox (fit / 100% zoom) and opaque sandboxed HTML preview with plain-text source toggle, plus bidirectional links across source message, Growth fruit, and Timeline row (preserving distinct provenance when the same file is referenced more than once).
  5. Topic Timeline modal: Chronological event stream with kind filters (All / Messages / Questions / Answers / Replacements / Artifacts), sticky header with unobscured keyboard focus scrolling, jump-to-artifact / jump-to-message links, and full canonical Markdown export.
  6. Theme & Accessibility: Synchronized light/dark theme with <meta name="color-scheme"> and live OS fallback after clearing an explicit override, WCAG AA/AAA text and non-text boundary contrast (plus prefers-contrast: more), composite role="toolbar" keyboard navigation (focusgroup with roving-tabindex fallback), top-layer skip link, and reduced-motion support.

Visual Prototype Preview (Synthetic Fixtures Only)

All screenshots and the walkthrough clip attached to this issue use an entirely fictional "Trail signage pilot" synthetic fixture (no real threads, repositories, or user data).

List & Tree views
  • List view (light mode): Grouped branches, Open / Answered / Replaced status badges, and the direct link to unassigned messages outside branches.
  • Tree view (dark mode): Horizontal reply links, explicit Picked in draft indicator, and single-line Replaced badge.
Growth view & Per-topic Artifacts
  • Growth view (dark mode): Organic branch-and-canopy overview with numbered artifact fruits, collision-free tooltip, and high-contrast labels.
  • Per-topic Artifacts (light mode): Type, Your uploads, and date filters alongside the linked message preview rail.
  • Per-topic Artifacts (dark mode): Scrolled view showing the sticky sidebar, topbar, filter strip, and preview rail.
Topic Timeline
  • Topic Timeline modal (dark mode): Chronological event stream highlighting artifact entry #6 with its jump-to-artifact action.
Walkthrough Demo

A 31-second continuous desktop walkthrough demonstrates keyboard skip-link navigation, List / Tree / Growth / Artifacts / Timeline interactions, mixed keyboard/mouse tooltip Escape dismissal, image zoom, sandboxed HTML source view, and light/dark theme switching. (Note: the walkthrough clip includes Chinese subtitle overlays from prototype review; all UI chrome and synthetic fixture content are in English.)

Open Questions for Maintainers

I plan to follow up with an implementation PR from a fork once feedback on scope and layout settles:

  • Should Topic Tree / Growth / Timeline live as an opt-in view switcher inside an Inbox thread header alongside the existing thread Artifacts/Links toggle?
  • Which existing Inbox message fields (replyTo, question/answer state, replacement links, attachments[], inline links) should feed the branch graph directly vs. remain heuristic?
  • Would you prefer a phased PR sequence (e.g., List + Tree + Timeline first, then Growth canvas) if this direction fits the Inbox roadmap?
list-light-1440 tree-dark-1440 growth-dark-1440 artifacts-light-1440 artifacts-dark-1440 timeline-dark-1440

https://github.com/user-attachments/assets/9c355aec-3c03-48fa-b498-c25de51737df

主要语言
TypeScript
星标
8.7k
派生
649
平均合并
16 小时 1 分钟
30 天内合并 PR
756

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

backnotprop/plannotator 的其他 Issue

查看 backnotprop/plannotator 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。