-
-
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
actions view: move loading of task attributes etc... into own func #31494
Conversation
review it via: https://github.com/go-gitea/gitea/pull/31494/files?diff=unified&w=1 make it simple :D |
Tests are necessary. |
yes and the code is not in the right place ... as there is code logic I would expect more in the services package etc ... this is just a small refactor, do i need tests when they initially where not here... yes they should be added if that's a blocker, #24980 and #24516 also should never have been merged as they actually touch this code and change it's behavior. |
I have split the I think they could make the development easier. Would you still like to make following up changes in this PR? |
@6543 ping |
convlicts resolved |
well I wont add frontend tests for actions just for get this smal code split merged ... but If someone else wana do It' I'll happily accept such pulls/patches |
@lunny @techknowlogick @KN4CK3R Diff with ignoring spaces: https://github.com/go-gitea/gitea/pull/31494/files?diff=unified&w=1 |
* giteaofficial/main: (53 commits) [skip ci] Updated licenses and gitignores Correct bot label `vertical-align` (go-gitea#33477) chore: fix some trivial problems and TODOs (go-gitea#33473) Worktime tracking for the organization level (go-gitea#19808) Skip deletion error for action artifacts (go-gitea#33476) Update .changelog file to add performance label group (go-gitea#33472) actions view: move loading of task attributes etc... into own func (go-gitea#31494) [skip ci] Updated translations via Crowdin Update feishu icon (go-gitea#33470) Inclusion of rename organization api (go-gitea#33303) [skip ci] Updated translations via Crowdin Hide/disable unusable UI elements when a repository is archived (go-gitea#33459) Fix SSH LFS memory usage (go-gitea#33455) Revert empty lfs ref name (go-gitea#33454) Update `@github/text-expander-element`, adapt type imports (go-gitea#33449) Support choose email when creating a commit via web UI (more) (go-gitea#33445) Fix issue sidebar dropdown keyboard support (go-gitea#33447) Fix "redirect link" handling (go-gitea#33440) Refactor repository transfer (go-gitea#33211) Enable two more strict options in tsconfig (go-gitea#33438) ...
just a smal refactor to make the function length smaler ... and code more reusable in the future