Improve timeline entries for WIP prefix changes in pull requests#36518
Improve timeline entries for WIP prefix changes in pull requests#36518wxiaoguang merged 25 commits intomainfrom
Conversation
- Added CommentTypeMarkedAsWorkInProgress and CommentTypeMarkedAsReadyForReview - Updated ChangeIssueTitle to detect WIP prefix changes - Added locale strings for the new messages - Updated template to render new comment types Co-authored-by: silverwind <115237+silverwind@users.noreply.github.com>
Co-authored-by: silverwind <115237+silverwind@users.noreply.github.com>
…for WIP Co-authored-by: silverwind <115237+silverwind@users.noreply.github.com>
Co-authored-by: silverwind <115237+silverwind@users.noreply.github.com>
- Changed translation keys from repo.issues.* to repo.pulls.* - Removed unnecessary %s placeholder and $createdStr argument from messages Co-authored-by: silverwind <115237+silverwind@users.noreply.github.com>
Co-authored-by: silverwind <115237+silverwind@users.noreply.github.com>
|
Maybe a new column |
If we wanna completely implement it like GitHub, the "WIP" prefix would need to be removed but I guess that would be too breaking for users which may be used to manually adding that prefix, potentially in their git commit message title. The only gain that a separate |
Another benefit is that it could be used as a filter option in the pull request list. |
Hmm yes I agree but can be added in another PR imho. It will be a bit complex because it requires a migration. I would like to keep this PR focused on only adjusting the timeline messages. |
|
AGENTS.md is further slimmed down. The removed instructions are unnecessary for a somewhat smart agent and a non-issue with local agents. |
|
The issue https://github.com/go-gitea/gitea/pull/36518/files#r2765306365 need to be resovled. |
No, you can still have different icons by #36518 (comment), it's clearer and simpler. And it's easier to "cover that case user edit title and changed wip prefix also title at the same time". |
|
I don't understand "cover that case user edit title and changed wip prefix also title at the same time". These are two distinct actions on the UI, one is a title edit and there's the wip toggle button. How could those be triggered at the same time? |
What kind of timeline item should it use? Is there a a generic type? |
Edit the title manually
|
Ah, a title edit with wip state change, yes in this case it needs to show the rename timeline item. |
* giteaofficial/main: Refactor merge conan and container auth preserve actions taskID (go-gitea#36560) Fix assignee sidebar links and empty placeholder after go-gitea#32465 refactor (go-gitea#36559) Fix various version parsing problems (go-gitea#36553) Fix highlight diff result (go-gitea#36539) Refactor Nuget Auth to reuse Basic Auth Token Validation (go-gitea#36558) Update go dependencies (go-gitea#36548) Prevent navigation keys from triggering actions during IME composition (go-gitea#36540) Fix various mermaid bugs (go-gitea#36547) Add `elk` layout support to mermaid (go-gitea#36486) Allow configuring default PR base branch (fixes go-gitea#36412) (go-gitea#36425) [skip ci] Updated translations via Crowdin Color command/error logs in Actions log (go-gitea#36538) Add paging headers (go-gitea#36521) Fix issues filter dropdown showing empty label scope section (go-gitea#36535) [SECURITY] fix: Adjust the toolchain version (go-gitea#36537) Hide `add-matcher` and `remove-matcher` from actions job logs (go-gitea#36520) Improve timeline entries for WIP prefix changes in pull requests (go-gitea#36518)


Add new timeline event types when the WIP prefix is added or removed, replacing the previous ugly title change messages.
Fixes: #36517