Skip to content

Commit dbbae67

Browse files
authored
Remove commit status running and warning from the dashboard repo list (#26036)
Also added comments so the next time the dashboard repo list won't be forgotten Follows #25839 Signed-off-by: Yarden Shoham <[email protected]>
1 parent d0dbe52 commit dbbae67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/repo/commit_status.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- make sure this matches the color logic in web_src/js/components/DashboardRepoList.vue -->
12
{{if eq .State "pending"}}
23
{{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}}
34
{{end}}

web_src/js/components/DashboardRepoList.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,12 @@ import {SvgIcon} from '../svg.js';
152152
153153
const {appSubUrl, assetUrlPrefix, pageData} = window.config;
154154
155+
// make sure this matches templates/repo/commit_status.tmpl
155156
const commitStatus = {
156157
pending: {name: 'octicon-dot-fill', color: 'yellow'},
157-
running: {name: 'octicon-dot-fill', color: 'yellow'},
158158
success: {name: 'octicon-check', color: 'green'},
159159
error: {name: 'gitea-exclamation', color: 'red'},
160160
failure: {name: 'octicon-x', color: 'red'},
161-
warning: {name: 'gitea-exclamation', color: 'yellow'},
162161
};
163162
164163
const sfc = {

0 commit comments

Comments
 (0)