Skip to content

WebUI: Making PRs with no changes closable #9294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tkalir
Copy link
Contributor

@tkalir tkalir commented Jul 13, 2025

Closes #8690

Previously, the "Close pull request" button did not appear on PRs with no changes.
This turned out to be a UI issue, as the close\merge buttons were rendered but just covered by "merging is disabled.." alert.
Changing the bottom-buttons-group div to use flexbox seems to have solved the issue.
The existing code already makes the merge button disabled in the case of an empty merge.

image

@itaigilo itaigilo added the include-changelog PR description should be included in next release changelog label Jul 14, 2025
@itaigilo itaigilo changed the title making PRs with no changes closable WebUI: Making PRs with no changes closable Jul 14, 2025
@Ben-El
Copy link
Contributor

Ben-El commented Jul 14, 2025

LGTM

Copy link
Contributor

@itaigilo itaigilo left a comment

Choose a reason for hiding this comment

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

Looking good -
Thanks @tkalir for handling this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
include-changelog PR description should be included in next release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow closing a PR with no changes
3 participants