GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(web): cover notifications without expandable detail by MatthewFeroz · Pull Request #15535 · pingdotgg/t3code

Conversation

@MatthewFeroz

@MatthewFeroz MatthewFeroz commented Oct 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Problem and coverage

A notification without detail must remain a single row, rather than offering a disclosure that opens an empty inspector. A notification with detail must still expand and display it. This covers the delegated-task completion case reported in #15169.

Upstream #15505 now implements that behavior through the shared turnItemHasDetail check. This PR adds a component regression test using the same projected notification shape as the timeline. It checks that missing detail offers no expand toggle, and that clicking a detailed notification renders its result text.

Scope

The final diff contains only MessagesTimeline.test.tsx. Production code matches main at 5a96895a85b43c838da6c89cf21068b99c003d5a, preserving upstream lazy detail fetching and empty-row handling. Web and desktop share this component.

Verification

  • vp test run apps/web/src/components/chat/MessagesTimeline.test.tsx: all 75 tests passed on the merged tree.
  • vp run --filter @t3tools/web typecheck passed.
  • Targeted lint completed without errors, with warnings in upstream MessagesTimeline.tsx. Targeted formatting and whitespace checks passed.
  • The original missing-detail test failed before the initial fix. It now passes against the implementation incorporated into main by fix: expanded tool calls show their output, empty ones don't expand #15505.
  • Original before/after screenshots and interaction recordings document the historical empty-panel bug and its fix. This tests-only update introduces no runtime or UI change and does not claim a new native verification pass.

Branch update

Merged main at 5a96895a85b43c838da6c89cf21068b99c003d5a without rewriting branch history. Resolved the disclosure conflict by retaining upstream's shared detail check, which also covers notifications, and removed the redundant notification-only condition. Locally validated head: 71dd05cf06d5c2087407a9ff0811346dd3b82863. New-head CI and bot review are pending; maintainer acceptance of the remaining regression coverage is still required.

Regression implementation: Claude Opus 5.5 through Claude Code in T3 Code. Conflict resolution and validation: GPT-6.1 Sol through the Codex harness in T3 Code.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@MatthewFeroz
fix(web): notifications without detail no longer expand to an empty p…
aa747a1
…anel

A notification's expanded panel only shows its detail, but every labeled row offered the disclosure. Delegated-task completions and grouped background wakes have no detail, so expanding them showed an empty panel.

Fixes pingdotgg#15169
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Oct 4, 2026
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Oct 4, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Oct 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 71dd05c

Macroscope's review found this PR approvable — The PR adds regression coverage in an ignored test-only path and does not change production behavior, product defaults, or static-analysis configuration. Its runtime blast radius is limited to the test harness.

Notes:

  • No code objects were reviewed. Approvability was decided on eligibility alone.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: pingdotgg/t3code/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4a5b3746-2ad0-475c-992a-7dc66eb51dcb
📥 Commits

Reviewing files that changed from the base of the PR and between 0fe4fa4 and aa747a1.

📒 Files selected for processing (2)
  • apps/web/src/components/chat/MessagesTimeline.test.tsx
  • apps/web/src/components/chat/MessagesTimeline.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

WorkEntryLogRow now allows projected notifications to expand only when their trimmed detail is nonempty. Tests cover notifications with and without detail.

Changes

Notification expansion

Layer / File(s) Summary
Notification detail expansion
apps/web/src/components/chat/MessagesTimeline.tsx, apps/web/src/components/chat/MessagesTimeline.test.tsx
WorkEntryLogRow stores the projected notification and uses its source to resolve the child thread. A notification can expand only when its trimmed detail is nonempty. Tests check that missing detail does not show an expandable row and that provided detail appears in a <pre> after expansion.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix · Severity of issue fixed: Low

Suggested reviewers: juliusmarminge, maria-rcks

Merge Risk: ⚪ Minimal · up to aa747

Notifications without detail no longer offer an empty expansion panel. No actionable merge risk remains after normal checks.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Issue #15169 requires useful content on expansion or no expandable empty panel. WorkEntryLogRow now permits notification expansion only when detail contains non-whitespace text. The new `MessagesT…
Out of Scope Changes check ✅ Passed The production change is limited to notification expansion behavior in WorkEntryLogRow. The added tests cover both branches of the issue requirement. No unrelated changes appear in the reviewed diff…
Title check ✅ Passed The title clearly describes the regression-test coverage for notifications without expandable detail. It reflects a relevant part of the change, though it does not summarize the production behavior ch…
Description check ✅ Passed The description explains the problem, scope, and verification, and identifies the related issue and upstream change. It also states that maintainer acceptance is still required. The required sections …
  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MatthewFeroz

MatthewFeroz commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

Regarding CodeRabbit's docstring-coverage warning: no docstring change is warranted here. WorkEntryLogRow is an existing component, and the added comment explains the relevant constraint: the notification inspector renders only notification.detail. The repository's documentation guidance asks for local comments where reasoning helps and avoids documentation that merely restates source. Adding a docstring to describe this existing render function would not help explain this fix. The focused regression test covers missing detail and expansion with detail, and latest-head CI passed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

MatthewFeroz added 2 commits October 4, 2026 02:20
@MatthewFeroz
chore: merge main into PR pingdotgg#15535
652f9e4
@MatthewFeroz
chore: merge main into PR pingdotgg#15535
71dd05c
@MatthewFeroz MatthewFeroz changed the title fix(web): notifications without detail no longer expand to an empty panel test(web): cover notifications without expandable detail Oct 4, 2026
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 4, 2026 11:22

Dismissing prior approval to re-evaluate 71dd05c

@github-actions github-actions Bot added size:M 30-99 changed lines (additions + deletions). and removed size:S 10-29 changed lines (additions + deletions). labels Oct 4, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 4, 2026
View reviewed changes
@MatthewFeroz MatthewFeroz closed this Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@MatthewFeroz
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.