-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
The ‘Manually merged’ button does not display the SHA input field #20983
Comments
I think I have found the issue; it happened after rewriting the merge dialog in Vue (commit 368baf9) In this commit, there was a new Vue component introduced,
However, if the manual merge took place, the condition gitea/templates/repo/issue/view_content/pull.tmpl Lines 198 to 202 in bb0ff77
In this case, line 413 will not be rendered. In the end, there is a separate condition for manual merging. It displays a form, which is hidden by default, but since the old script for un-hiding those files is gone, there is no way to show it: gitea/templates/repo/issue/view_content/pull.tmpl Lines 492 to 514 in bb0ff77
In particular, this is where the lines, that would show this form, were deleted. |
I did the refactoring, but I missed this issue. So, I will fix it. |
Sorry for the inconvenience, the fix: Fix the Manually Merged form #23015 |
Regression bug of #19650 Close #20983 Close #21912 ### The "Manually Merged" form ![image](https://user-images.githubusercontent.com/2114189/220170503-32638994-b509-4251-8aa1-d8393dda7184.png) ### Mark a PR as Manually Merged and close it ![image](https://user-images.githubusercontent.com/2114189/220170537-25c91b2c-7a9a-44d1-9e6a-ebe3f1dfc26a.png) --------- Co-authored-by: Jason Song <i@wolfogre.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
I get Compare & pull request button, when I click the button I see this page. there are don't have any button to merge the commit `Search or jump to… @TFMahabub ... There isn’t anything to compare. Showing with 38 additions and 0 deletions. const SophisticatedInterpretation = () => {
); }; export default SophisticatedInterpretation; const about = () => { const about = () => { Footer |
Description
I have noticed this issue on Codeberg, but I have been able to replicate it on Gitea.
Steps to reproduce
Expected behaviour
Just like in pre-1.17 versions, an input field appears, where one can enter the SHA of the merge commit
Actual behaviour
Nothing happens
Additional information
If one opens the DevTools, one can see that the input field is actually there, but hidden. I guess some script doesn’t toggle the
display: none
property off. If one does it manually, the field appears and functions well.The issue doesn’t happen, if the auto-detection for manual merges is on and such merge gets automatically detected correctly.
Gitea Version
1.17.1+48-g91c2bab
Can you reproduce the bug on the Gitea demo site?
Yes, I have tested it.
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Debian 10
How are you running Gitea?
AFAIK, Codeberg runs Gitea as a
systemd
service on a Debian 10 server.Database
MySQL
The text was updated successfully, but these errors were encountered: