-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
feat: add button to quickly clear merge message #21548
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
Changes from 13 commits
29cbfe6
49aaa81
e88bf88
f13ecdc
84a5110
1f947a8
35228b5
326bf4d
1019112
8fae2fc
b1f07a7
2e43ec0
f44960e
b8c77e7
11605de
754c4b5
b6a89b4
4e46907
f6b7142
c96e5bd
a9d0d90
33b5656
2598ba9
65322f1
ddc470e
5801938
6da4174
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1625,6 +1625,8 @@ pulls.reopened_at = `reopened this pull request <a id="%[1]s" href="#%[1]s">%[2] | |
pulls.merge_instruction_hint = `You can also view <a class="show-instruction">command line instructions</a>.` | ||
pulls.merge_instruction_step1_desc = From your project repository, check out a new branch and test the changes. | ||
pulls.merge_instruction_step2_desc = Merge the changes and update on Gitea. | ||
pulls.clear_merge_message = Clear merge message | ||
pulls.clear_merge_message_hint = Clearing the merge message will only remove the commit message content and keep generated git trailers such as "Co-Authored-By …". | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this could do with a tooltip to explain that it removes the message but not the trailers. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tried adding a tooltip but it looks like this does not work within vue components. I assume because tooltips are handled by jquery/foomantic js which does not talk to vue js. Looks like the file diff list uses a workaround to make this load automatically in the vue component. This is probably something that should be cleaned up at some point so that it uses tippy's own vue plugin with proper support for directives. I see two options on how to solve this in this PR:
I'd like to go with the second option. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. wouldn't a plain old There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no probs There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Probably, yes. I didn't think about that, was focused to much on the tooltip that's used everywhere else :) |
||
pulls.auto_merge_button_when_succeed = (When checks succeed) | ||
pulls.auto_merge_when_succeed = Auto merge when all checks succeed | ||
|
Uh oh!
There was an error while loading. Please reload this page.