-
-
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
Fix some mistakes when using ignSignIn
#24415
Conversation
7d8e985
to
b5f5936
Compare
Can we refactor to readable |
|
|
Really? You wrote But next PR please (for the renaming) |
To get an agreement quickly, I started a vote in maintainer channel.
|
Yes, I'm guilty, but in the CSS helper case it had a performance benefit, in go code, naming of functions does not affect performance 😆 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would still like to see the function rename, but can be done in another PR.
* upstream/main: Harmonize title formatting in `docs/content/doc/development/api-usage.en-us.md` (go-gitea#24529) automate locking closed threads (go-gitea#24525) [skip ci] Updated translations via Crowdin Display warning when user try to rename default branch (go-gitea#24512) Upgrade to Node 20 on CI, enable actions cancellation (go-gitea#24524) Fix incorrectly quoted translation (go-gitea#24514) Fix color for transfer related buttons when having no permission to act (go-gitea#24510) Fix some mistakes when using `ignSignIn` (go-gitea#24415) Remove unused zapx replace statement on go.mod (go-gitea#24515) Don't display creating page button in a mirror wiki repository (go-gitea#24395) Improve template system and panic recovery (go-gitea#24461) Faster git.GetDivergingCommits (go-gitea#24482) Merge setting.InitXXX into one function with options (go-gitea#24389)
Some old code doesn't respect the definition of
RequireSignInView
(theignSignIn
is forgotten).After #24413, this PR will do more fixes,
and rename the strangeignSignIn
tooptSignIn
.This PR is ready for review, I think we can postpone the "ignSignIn" renaming to another, to make this PR simple and clear.