Refactor pull request view (6) (#37522)

Clean up legacy logic.

* Use backend logic to choose PR timeline icon color
* Always use the Vue form to merge, remove the "StillCanManualMerge" logic
This commit is contained in:
wxiaoguang authored and GitHub committed 2026-05-04 14:15:33 +08:00
1 parent f26f71f1b2
commit dd17521808
16 files changed
+293 -316

No files matched your search

+2 -4
View File
@@ -9,10 +9,8 @@
</span>
{{end}}
<div class="tippy-target">
<div class="ui segment">
<div class="flex-divided-list">
{{template "repo/pulls/status" (dict "CommitStatuses" .Statuses "CommitStatus" .Status)}}
</div>
<div class="flex-divided-list items-px-default">
{{template "repo/pulls/status_items" (dict "CommitStatuses" .Statuses)}}
</div>
</div>
{{end}}