-
-
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
Add priority to protected branch #32286
Add priority to protected branch #32286
Conversation
as its an object we can add stuff later on
vid-20241021-211051.mp4 |
@wxiaoguang now the webui is broken and dont update anymore ... the frontend test also catched that :/ |
Sorry I couldn't get the meaning. Which part is broken? Which don't update? |
if you drag the priority is not updated correctly ... see https://github.com/go-gitea/gitea/actions/runs/12032094762/job/33543141029?pr=32286 could you please suggest a fix for your code? |
But I do not see why the code causes broken? #32286 (comment) it should be the right approach. |
I will check out your branch to test. Meanwhile if you have time, please help to review my non-draft PRs: https://github.com/go-gitea/gitea/pulls/wxiaoguang |
OK, the problems are clear.
So I think this code will make everything work:
|
Also please review this: Bypass vitest bug #32647 , to make |
@@ -154,4 +155,5 @@ export function initRepoSettings() { | |||
initRepoSettingsCollaboration(); | |||
initRepoSettingsSearchTeamBox(); | |||
initRepoSettingsGitHook(); | |||
initRepoBranchesSettings(); |
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.
Other function names are unified to initRepoSettingsXxx
🤣
anyway, just a nit, no block, feel free to update or just merge (already 2 approvals)
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.
... well there will be a refactor that catches it at some point
* giteaofficial/main: Allow cropping an avatar before setting it (go-gitea#32565) Add webpack EnvironmentPlugin (go-gitea#32661) Move team related functions to service layer (go-gitea#32537) Make frontend unit test code could know it is in testing (go-gitea#32656) Add priority to protected branch (go-gitea#32286)
Solves
Currently for rules to re-order them you have to alter the creation date. so you basicly have to delete and recreate them in the right order. This is more than just inconvinient ...
Solution
Add a new col for prioritization
TODOs:
Demo WebUI Video
vid-20241021-211051.mp4
Sponsored by Kithara Software GmbH