Skip to content

feat(clients): the Follow-ups tab sorts work by who moves it next - #137

Merged
HaukeSchnau merged 3 commits into
redesignfrom
gitea-pr/281
Dec 1, 2026
Merged

HaukeSchnau merged 3 commits into
redesignfrom
gitea-pr/281

Conversation

@HaukeSchnau

Copy link
Copy Markdown
Owner

Mirror of schnau/t3code#281 for CodeRabbit. Discuss and merge it on Gitea; this pull request closes when that one does.

More than 100 follow-ups are open, mostly written by agents in threads Hauke never saw, and the Follow-ups page listed them by date. Nothing said which ones need him, which ones an agent could just do, or how they connect, so the list grew and nobody picked anything up.

The page (web) and the tab (mobile) now sort open follow-ups by who moves them next, from the snapshot alone (`followUpBoard.ts` in client-runtime, shared by both):

- **Needs you**: a card per question with the plain-language summary, the question and the agent's recommendation, where it came from (thread, date, sightings), what it connects to (parent, waits on, unblocks, links, pull requests) and its nodes lit on a small copy of the map. **Answer** starts a thread whose first message is the answer, **Snooze 30 days** moves it under Later, **Drop** closes it (with its open parts).
- **Ready to start**: parents first, with progress and their open parts nested. **Start a thread** hands one thread a brief of the whole open subtree and marks every member picked up. Within a priority, startable work comes before blocked work, then what unblocks the most.
- **Unsorted** (no lane yet), **Picked up**, and folded **Later** and **Checks**. **Ideas** get their own view and no count anywhere.
- On top: the **map** (hosts as columns with their services, outside services at the edge, a count per node; choosing one filters the board) and the **flow** (written, done and dropped per week, which the snapshot now carries for the last 12 weeks, and how long the open ones have waited).
- The web **Graph** draws parts beside their parent and dashed arrows to what each one waits on, with a switch that hides threads. The detail views show lane, priority, summary, next step, parent, parts, dependencies, touches and sightings.

Docs, `patches/follow-ups.md` and both apps' catalogs (translated by hand into all nine locales) are updated.

Proved in real clients against a dev server with a seeded home and a map file: web in T3's browser (Answer, Start on a parent, Snooze, the map filter, Graph, Ideas, detail) and mobile on m1's iOS simulator (board, Later and clearing its date, Answer). Each started thread was checked in the database: its first message, and the follow-ups marked picked up.

| Web | Mobile |
| --- | --- |
| ![Needs you](https://files.schnau.dev/isolated/bc35ce82d7418f87c0e0/follow-ups-pr3/web-1-needs-you.png) | ![Board](https://files.schnau.dev/isolated/bc35ce82d7418f87c0e0/follow-ups-pr3/mobile-1-board.png) |
| ![Ready parent](https://files.schnau.dev/isolated/bc35ce82d7418f87c0e0/follow-ups-pr3/web-2-ready-parent.png) | ![Needs you card](https://files.schnau.dev/isolated/bc35ce82d7418f87c0e0/follow-ups-pr3/mobile-2-needs-you-card.png) |
| ![Map filter](https://files.schnau.dev/isolated/bc35ce82d7418f87c0e0/follow-ups-pr3/web-3-map-filter-tower.png) | ![Detail](https://files.schnau.dev/isolated/bc35ce82d7418f87c0e0/follow-ups-pr3/mobile-3-detail.png) |
| ![Graph](https://files.schnau.dev/isolated/bc35ce82d7418f87c0e0/follow-ups-pr3/web-4-graph-parts-and-waits.png) | ![Answer](https://files.schnau.dev/isolated/bc35ce82d7418f87c0e0/follow-ups-pr3/mobile-4-answer-prompt.png) |
| ![Detail](https://files.schnau.dev/isolated/bc35ce82d7418f87c0e0/follow-ups-pr3/web-5-detail.png) | ![Answer thread](https://files.schnau.dev/isolated/bc35ce82d7418f87c0e0/follow-ups-pr3/mobile-5-answer-thread.png) |

Created with Claude Opus 5.5 in Claude Code (T3 Code); the translations came from a Claude Opus 5.5 subagent.

The Follow-ups page and tab listed follow-ups by date. With more than 100 open,
mostly written by
agents in threads the user never saw, nothing told the user what needed them,
what an agent could
just do, or how the pieces connect.

Both clients now show a board built from the snapshot alone (client-runtime
followUpBoard.ts,
shared by web and mobile):

- Needs you: cards with the plain-language summary, the question, where it came
from, what it
  connects to and its nodes lit on a small map. Answer starts a thread whose
first message is the
  answer; Snooze 30 days moves it under Later; Drop closes it (with its open
parts).
- Ready to start: parents first, with progress and their open parts nested;
Start hands one thread
  a brief of the whole open subtree and marks every member picked up. Within a
priority, startable
  work comes before blocked work, then what unblocks the most.
- Unsorted, Picked up, and folded Later and Checks. Ideas get their own view and
no count.
- On top, the map (hosts as columns with their services, outside services at the
edge, a count per
  node; choosing one filters the board) and the flow: written, done and dropped
per week, which the
  snapshot now carries for the last 12 weeks, and how long the open ones have
waited.
- The web Graph draws parts beside their parent and dashed arrows to what each
waits on, with a
  switch that hides threads. The detail views show the new fields and sightings.

Docs, patches/follow-ups.md and the catalogs of both apps (translated by hand)
follow.

Co-Authored-By: Claude Opus 5.5 (Claude Code in T3 Code) <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T16:36:02.699689Z cef16f2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cef16f2858

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

[...(index.children.get(parentId) ?? [])].sort(compareWork(index)).flatMap((followUp) => {
if (seen.has(followUp.id)) return [];
seen.add(followUp.id);
return [{ followUp, depth }, ...walk(followUp.id, depth + 1)];

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep non-startable parts out of a group handoff

When a ready parent has an active descendant in lane you or with returnedAt, this traversal includes it in group.members; Start then briefs the whole list and marks open members as picked up, bypassing the needed answer or clearing its Back now state. It also includes already-picked-up descendants in the brief even though the launch helper skips saving them, so the new thread is told it owns work that still points to another thread. Keep non-startable descendants out of the handoff or explicitly preserve and describe their states.

Useful? React with 👍 / 👎.

const needsYou = active
.filter(
(f) =>
f.status === "open" && f.lane === "you" && f.returnedAt === null && !later(f) && shown(f),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep returned user questions answerable

When a user snoozes a you follow-up, its lane remains you; once its date arrives, returnedAt causes it to be excluded here and shown only in Back now. Back now uses generic rows, and the detail Start action does not pass an answer, so the intended answer flow disappears when the question returns. Keep returned you items in the answer card or provide that action in Back now.

Useful? React with 👍 / 👎.

@HaukeSchnau

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 4afebb5 and db9030d.

Files selected for processing: 47

  • apps/mobile/src/features/follow-ups/FollowUpBoard.tsx
  • apps/mobile/src/features/follow-ups/FollowUpRouteScreen.tsx
  • apps/mobile/src/features/follow-ups/FollowUpsScreen.tsx
  • apps/mobile/src/features/follow-ups/followUpPresentation.ts
  • apps/mobile/src/features/follow-ups/useStartFollowUpThread.ts
  • apps/mobile/src/i18n/translations/de.json
  • apps/mobile/src/i18n/translations/en.json
  • apps/mobile/src/i18n/translations/es.json
  • apps/mobile/src/i18n/translations/fr.json
  • apps/mobile/src/i18n/translations/ja.json
  • apps/mobile/src/i18n/translations/ko.json
  • apps/mobile/src/i18n/translations/pt-BR.json
  • apps/mobile/src/i18n/translations/ru.json
  • apps/mobile/src/i18n/translations/sv.json
  • apps/mobile/src/i18n/translations/zh.json
  • apps/server/src/followUps/FollowUps.test.ts
  • apps/server/src/followUps/FollowUps.ts
  • apps/server/src/htmlRender/HtmlRenderSources.test.ts
  • apps/web/src/components/followUps/FollowUpBoard.tsx
  • apps/web/src/components/followUps/FollowUpDetail.tsx
  • apps/web/src/components/followUps/FollowUpFlowChart.tsx
  • apps/web/src/components/followUps/FollowUpGraphView.tsx
  • apps/web/src/components/followUps/FollowUpMapView.tsx
  • apps/web/src/components/followUps/FollowUpProjectPicker.tsx
  • apps/web/src/components/followUps/FollowUpsPage.tsx
  • apps/web/src/components/followUps/followUps.logic.test.ts
  • apps/web/src/components/followUps/followUps.logic.ts
  • apps/web/src/components/followUps/useStartFollowUpThread.ts
  • apps/web/src/i18n/translations/de.json
  • apps/web/src/i18n/translations/en.json
  • apps/web/src/i18n/translations/es.json
  • apps/web/src/i18n/translations/fr.json
  • apps/web/src/i18n/translations/ja.json
  • apps/web/src/i18n/translations/ko.json
  • apps/web/src/i18n/translations/pt-BR.json
  • apps/web/src/i18n/translations/ru.json
  • apps/web/src/i18n/translations/sv.json
  • apps/web/src/i18n/translations/zh.json
  • apps/web/src/routes/_chat.follow-ups.tsx
  • docs/user/follow-ups.md
  • packages/client-runtime/package.json
  • packages/client-runtime/src/state/followUpBoard.test.ts
  • packages/client-runtime/src/state/followUpBoard.ts
  • packages/client-runtime/src/state/followUps.test.ts
  • packages/client-runtime/src/state/followUps.ts
  • packages/contracts/src/followUps.ts
  • patches/follow-ups.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

… questions keep Answer

From the sol-loop review of the Follow-ups board:

- A part moved to a later date shows under Later at any depth and stays out of its parent's
  Start; open ideas show in Ideas at any depth and stay out too. Parts of a question shown in
  Needs you get their own place, since the card shows no parts.
- A question that comes back from a snooze returns to Needs you with its Answer card instead of
  a Back now row.
- Groups sort as startable only when a part Start would claim can start, and the brief lists only
  the parts that thread claims, as a flat list.
- The map filter no longer admits a parent through a part moved to later, and Closed follows the
  filter on both clients. A part a section lists on its own no longer repeats under its parent.

Co-Authored-By: Claude Opus 5.5 (Claude Code in T3 Code) <[email protected]>
@HaukeSchnau

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@HaukeSchnau

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@HaukeSchnau
HaukeSchnau merged commit 054b6dc into redesign Dec 1, 2026
1 check passed
@HaukeSchnau
HaukeSchnau deleted the gitea-pr/281 branch December 1, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant