Files
gitea-MIRROR/web_src/js
Jing Lu a21860f90e enhance(ui): align the work-in-progress merge box with GitHub (#40594)
The work-in-progress state of a pull request now uses GitHub's wording:
"Draft pull requests cannot be merged.", "Ready for review", "Still in
progress? Convert to draft" and "marked the pull request as draft".

The tooltip of the blocked merge button opens below the button, so it no
longer covers the explanation. The merge style trigger takes the
disabled look of the merge button and stays usable, as on GitHub.

Before:

<img width="600" alt="Before"
src="https://github.com/user-attachments/assets/f0720a8c-d870-45e0-9ebb-9b355a3f414d">

After:

<img width="600" alt="After"
src="https://github.com/user-attachments/assets/4abfe57e-de93-4933-9717-6e533ae801c4">

Ref: https://github.com/go-gitea/gitea/issues/40588

Assisted-by: OpenAI Codex:GPT-5
Assisted-by: Claude Code:claude-fable-5-2

---------

Co-authored-by: silverwind <me@silverwind.io>
2026-12-03 20:24:29 +00:00
..