Skip to content

docs(flaky-tests): document monitor preview panel status filter#587

Draft
samgutentag wants to merge 1 commit intomainfrom
sam-gutentag/monitor-preview-panel-status-filter
Draft

docs(flaky-tests): document monitor preview panel status filter#587
samgutentag wants to merge 1 commit intomainfrom
sam-gutentag/monitor-preview-panel-status-filter

Conversation

@samgutentag
Copy link
Copy Markdown
Member

Summary\n- Adds a Preview Panel section to the failure count monitor page describing the status filter dropdown (Healthy / Flaky / Broken), truncation handling, and how the filter affects the info tooltip.\n- Adds a Preview Panel section to the failure rate monitor page describing the status filter dropdown, the collapsed-Current default, and how the filter interacts with the Proposed vs Current sections.\n\n## Source\n- trunk2 PR: https://github.com/trunk-io/trunk2/pull/3732\n\n## Test plan\n- [ ] Preview in GitBook


Generated by Claude Code

Adds a Preview Panel section to both the failure count and failure rate
monitor pages describing the new multi-select status filter dropdown
(Healthy / Flaky / Broken), truncation handling on the failure count panel,
and the collapsed-Current default on the failure rate panel.

Source: trunk-io/trunk2#3732

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@trunk-staging-io
Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@claude
Copy link
Copy Markdown
Contributor

claude Bot commented Apr 28, 2026

Claude finished @samgutentag's task in 1m 28s —— View job


PR Review

  • Gather context
  • Read CLAUDE.md for repo guidelines
  • Review changed files for typos, grammar, and formatting
  • Post review findings

The documentation additions are clear, well-structured, and accurately describe the preview panel behavior. One minor grammar fix suggested via inline comment.

Findings:

  • failure-rate-monitor.md line 173 — Missing comma before "so" in a compound sentence. Suggestion posted inline.

Minor observations (non-blocking):

  • The info tooltip description is slightly inconsistent between the two files: failure-count-monitor.md says "the info tooltip in the panel header shows" while failure-rate-monitor.md just says "the info tooltip shows". Both are clear enough given their respective context.
  • "not-in-window count" (failure-rate-monitor.md line 183) is a UI-specific label — no change needed unless the UI uses different terminology.

Overall the PR is in good shape. The one inline suggestion is a minor grammar fix and not blocking.

- **Current** shows tests flagged by the existing configuration (if editing an existing monitor).
- **Proposed** shows tests that would be flagged with the settings currently entered in the form.

The Current section is collapsed by default so the Proposed view is immediately visible when you open the form.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Missing comma before "so" in this compound sentence.

Suggested change
The Current section is collapsed by default so the Proposed view is immediately visible when you open the form.
The Current section is collapsed by default, so the Proposed view is immediately visible when you open the form.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Auto-approved: Claude code review passed.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants