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 — fix(web): pull request action menus no longer show duplicate dividers by RakshithBhat03 · Pull Request #6500 · pingdotgg/t3code

Conversation

@RakshithBhat03

@RakshithBhat03 RakshithBhat03 commented Aug 13, 2026 •
edited by cursor Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Pull request action menus could show two dividers back to back when every permission-gated management action was unavailable. The empty section made the menu look like an action had failed to render.

Dividers around the optional management section now render only when it contains an action, and the merge-method divider only appears when another management action precedes it. This covers every combination of draft and ready-for-review actions, auto-merge, and merge-method choices without changing the surrounding environment, conflict, or close and reopen groups.

Verification

  • vp test run apps/web/src/components/pullRequest/pullRequestDetail.logic.test.ts apps/web/src/components/pullRequest/PullRequestListFilters.test.tsx — 67 tests passed.
  • vp run -F @t3tools/web typecheck
  • vp lint apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx apps/web/src/components/pullRequest/pullRequestDetail.logic.ts apps/web/src/components/pullRequest/pullRequestDetail.logic.test.ts --report-unused-disable-directives
  • Checked in local web and macOS development builds.
Before After
Two adjacent dividers in the pull request actions menu One divider between populated pull request action groups

Built by GPT-5.6 in T3 Code through the Codex harness.


Note

Low Risk
UI-only menu rendering change with covered logic; no API, auth, or data handling impact.

Overview
Fixes back-to-back menu dividers in the pull request “more actions” menu when draft, auto-merge, and merge-method entries are all hidden by permissions or state.

Adds resolvePullRequestManagementMenuLayout in pullRequestDetail.logic.ts to decide whether the optional management block should render at all and whether a separator should appear before the merge-method radio group (only when at least one other management action is visible). PullRequestDetailPanel pulls visibility into named flags and gates the whole management section and inner separator on that layout instead of always inserting a separator for open PRs.

Unit tests exhaust all combinations of the three visibility inputs so empty subsections never leave stray separators.

Reviewed by Cursor Bugbot for commit 1ba4df9. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

[!NOTE]

Fix duplicate dividers in pull request action menus

Adds resolvePullRequestManagementMenuLayout in pullRequestDetail.logic.ts to compute whether the management menu group and its internal separator should render. In PullRequestDetailPanel, the entire management block is now conditional on at least one action being available, and the separator before merge methods only renders when a management action is also present.

Macroscope summarized 1ba4df9.

Sorry, something went wrong.

Uh oh!

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

All reactions
@RakshithBhat03 @codex
fix(web): pull request action menus no longer show duplicate dividers
65562f3
Co-authored-by: Codex <[email protected]>
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Aug 13, 2026
@coderabbitai

coderabbitai Bot commented Aug 13, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: afdd0856-0c2b-40ba-9665-1ef683c5198b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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
  • X
  • Mastodon
  • Reddit
  • LinkedIn

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.

@macroscopeapp

macroscopeapp Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved 65562f3

This is a straightforward UI bug fix that prevents duplicate menu dividers. The changes extract existing conditions into variables and add a well-tested helper function to control separator visibility. No functional behavior changes beyond the visual fix.

You can customize Macroscope's approvability policy. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

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

macroscopeapp[bot]
macroscopeapp Bot approved these changes Aug 13, 2026
View reviewed changes
RakshithBhat03 added 2 commits August 14, 2026 07:55
@RakshithBhat03
Merge branch 'main' into fix/pr-action-menu-dividers
ef18c16
@RakshithBhat03
Merge branch 'main' into fix/pr-action-menu-dividers
1ba4df9
@maria-rcks

maria-rcks commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

superseded by #6534

All reactions

Sorry, something went wrong.

Uh oh!

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

@maria-rcks maria-rcks closed this Aug 15, 2026
@RakshithBhat03
RakshithBhat03 deleted the fix/pr-action-menu-dividers branch August 19, 2026 07:09
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:unvouched Author is not yet trusted in 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.

2 participants

@RakshithBhat03 @maria-rcks
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.