-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Ctrl
+Enter
works when creating but not when updating a comment
#30710
Comments
We will get this support in 1.22 , but I guess I won't backport it to 1.21 since it would cause some non-bugfix changes. Related: [Feature Request] Add "Ctrl+Enter" posting of messages for all textareas #14843 |
Got it, is there a 1.22 image that I can test? |
Not yet at the moment. Maybe I could start coding in a few days 😄 |
A quick fix could be like this: Make Ctrl+Enter work for issue/comment edit #30720 Actually I have a complex plan for fixing the "enter" behaviors for various forms, while I think this quick fix doesn't cost much time and is good to have. If the quick fix could be merged, then you could try it by the nightly release |
Ok, found the docker image |
It seems the |
It is still there, only renamed. There is a breaking change for it: https://github.com/go-gitea/gitea/releases
The renaming is done to make it easier to support more user's custom themes. |
How would I go about that with docker? Let me know if there is a better place to discuss this theme issue. Thank you. |
Sorry, I didn't get the point of "How would I go about that with docker?". Do you mean you didn't see it? Maybe there is something in your Maybe there are some legacy options generated by old Gitea, now you could simply make |
Hmm, do you mean that you still need the "green dark theme" which is named "arc-green" ? There is one change for the dark theme: Recolor dark theme to blue shade (#29283) If I understand correctly, the "arc dark theme" was completely rewritten by #27419 / #29283, the color change proposal is in #27097, so there is no equivalent arc-green in 1.22 after #29283. Maybe @silverwind (the author of these issue/PR) knows more. |
Yes, I'm looking for the @silverwind Personally, the |
Maybe that theme could be copied as a third-party theme. |
I could share some of my opinions about this decision:
|
Yea, this would be great, any instructions on how to get it back in my docker setup?
Thanks for the insight. Maybe a blue gitea icon? 🤭 Jokes and considerations aside, and this is just my personal preference: I find the I guess this comes from my approach of having subtle success notifications, but loud failure alerts. As my reporting mechanisms may sometimes break, success notifications are necessary to assure that it is not broken. |
You can try to follow the below steps to add a custom theme
[UI]
THEMES=arc-green,gitea-auto,gitea-light,gitea-dark
|
Actually I wouldn't recommend to do so if end users do not want to spend enough time on customizing. The problem is that the theme variables (always) change between versions. So a 1.21 theme might not work well in 1.22 (some parts work, while some parts don't) If end users would like to spend enough time on customizing, the customized theme should base on the related release's theme variables.
No need to do so anymore after #30625, all themes are automatically discovered. |
Description
I often use
Ctrl
+Enter
when saving comments, but it only works when creating a new comment/issue, has no effect when trying to POST after editing a comment.Gitea Version
1.21.11+9-g0e20ccfe32
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
None
The text was updated successfully, but these errors were encountered: