-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fix user labels are invisible #27279
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
Conversation
It looks strange. I will take a look. |
@@ -35,6 +35,7 @@ export function initGiteaFomantic() { | |||
|
|||
const isIn = arg?.animation?.endsWith(' in'); | |||
const isOut = arg?.animation?.endsWith(' out'); | |||
const isScale = arg?.animation?.includes('scale'); |
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.
Maybe startsWith
, assuming this is scale in
etc.
The old code is not right either. According to the Fomantic UI design pattern, the |
The code does accept both arg forms, but I do confess this implementation was mostly trial end error. |
related(#27286) |
-> Fix some animation bugs #27287 The new PR is not "trial end error", while it (almost) strictly follows the Fomantic UI's definition. |
Currently, when editing whitelists of protected branch rules in the repo setting, the user labels are invisible.


That's because the transition module is removed and couldn't handle "transition: scale".
This PR adds the code logic to handle this case and fix the bug.