-
-
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
Rework repo buttons (#20602, #20718) #20719
Conversation
* Rework repo buttons - Replace "New PR" and "Go to File" button with Icon Button - Move all "Add File" actions into a dropdown button - Remove most custom styling of clone buttons - Margin and wiki tweaks Buttons are now all equal height, mobile layout wraps gracefully. Fixes: go-gitea#13671 Replaces: go-gitea#20375 Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
…ea#20718) Fix two regressions from go-gitea#20602: - Restore the 'History' button that was previously unable to render because it's show condition was never hit - Hide the 'Add File' button when there would be no items in the dropdown. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
I think that is a recipe for forgetting to backport them at all. We should do this now assuming that a good number of translations have |
Pushed to 1.17.2 - not enough translations ready. |
Yeah, will check for translations |
@jolheiser was so nice to backport the translations. We can land this if we land #20834 immediately afterwards. |
make lgtm work |
Backport #20602 and #20718 to 1.17. Translations can be backported separately.