Skip to content

Commit 6e33dbf

Browse files
authored
Merge branch 'main' into git-code-search
2 parents 12d488a + 3ccda41 commit 6e33dbf

File tree

137 files changed

+352
-356
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+352
-356
lines changed

.eslintrc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ rules:
119119
"@stylistic/js/arrow-spacing": [2, {before: true, after: true}]
120120
"@stylistic/js/block-spacing": [0]
121121
"@stylistic/js/brace-style": [2, 1tbs, {allowSingleLine: true}]
122-
"@stylistic/js/comma-dangle": [2, only-multiline]
122+
"@stylistic/js/comma-dangle": [2, always-multiline]
123123
"@stylistic/js/comma-spacing": [2, {before: false, after: true}]
124124
"@stylistic/js/comma-style": [2, last]
125125
"@stylistic/js/computed-property-spacing": [2, never]

playwright.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default {
2020
* Maximum time expect() should wait for the condition to be met.
2121
* For example in `await expect(locator).toHaveText();`
2222
*/
23-
timeout: 2000
23+
timeout: 2000,
2424
},
2525

2626
/* Fail the build on CI if you accidentally left test.only in the source code. */

templates/admin/emails/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{{ctx.Locale.Tr "admin.emails.email_manage_panel"}} ({{ctx.Locale.Tr "admin.total" .Total}})
55
</h4>
66
<div class="ui attached segment">
7-
<div class="ui secondary filter menu tw-content-center gt-mx-0">
7+
<div class="ui secondary filter menu tw-items-center gt-mx-0">
88
<form class="ui form ignore-dirty tw-flex-1">
99
{{template "shared/search/combo" dict "Value" .Keyword}}
1010
</form>

templates/admin/layout_head.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{template "base/head" .ctxData}}
22
<div role="main" aria-label="{{.ctxData.Title}}" class="page-content {{.pageClass}}">
3-
<div class="ui container gt-mb-4">
3+
<div class="ui container">
44
{{template "base/alert" .ctxData}}
55
</div>
66
<div class="ui container fluid padded flex-container">

templates/admin/org/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</div>
88
</h4>
99
<div class="ui attached segment">
10-
<div class="ui secondary filter menu tw-content-center gt-mx-0">
10+
<div class="ui secondary filter menu tw-items-center gt-mx-0">
1111
<form class="ui form ignore-dirty tw-flex-1">
1212
{{template "shared/search/combo" dict "Value" .Keyword "Placeholder" (ctx.Locale.Tr "search.org_kind")}}
1313
</form>

templates/admin/repo/unadopted.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{{if .Dirs}}
2121
<div class="ui aligned divided list">
2222
{{range $dirI, $dir := .Dirs}}
23-
<div class="item tw-flex tw-content-center">
23+
<div class="item tw-flex tw-items-center">
2424
<span class="tw-flex-1"> {{svg "octicon-file-directory-fill"}} {{$dir}}</span>
2525
<div>
2626
<button class="ui button primary show-modal gt-p-3" data-modal="#adopt-unadopted-modal-{{$dirI}}">{{svg "octicon-plus"}} {{ctx.Locale.Tr "repo.adopt_preexisting_label"}}</button>

templates/admin/stacktrace-row.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="item">
2-
<div class="tw-flex tw-content-center">
2+
<div class="tw-flex tw-items-center">
33
<div class="icon gt-ml-3 gt-mr-3">
44
{{if eq .Process.Type "request"}}
55
{{svg "octicon-globe" 16}}
@@ -40,7 +40,7 @@
4040
</summary>
4141
<div class="list">
4242
{{range .Entry}}
43-
<div class="item tw-flex tw-content-center">
43+
<div class="item tw-flex tw-items-center">
4444
<span class="icon gt-mr-4">{{svg "octicon-dot-fill" 16}}</span>
4545
<div class="content tw-flex-1">
4646
<div class="header"><code>{{.Function}}</code></div>

templates/admin/stacktrace.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin monitor")}}
22
<div class="admin-setting-content">
33

4-
<div class="tw-flex tw-content-center">
4+
<div class="tw-flex tw-items-center">
55
<div class="tw-flex-1">
66
<div class="ui compact small menu">
77
<a class="{{if eq .ShowGoroutineList "process"}}active {{end}}item" href="?show=process">{{ctx.Locale.Tr "admin.monitor.process"}}</a>

templates/base/head_navbar.tmpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<div class="navbar-right ui secondary menu">
5757
{{if and .IsSigned .MustChangePassword}}
5858
<div class="ui dropdown jump item" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
59-
<span class="text tw-flex tw-content-center">
59+
<span class="text tw-flex tw-items-center">
6060
{{ctx.AvatarUtils.Avatar .SignedUser 24 "gt-mr-2"}}
6161
<span class="only-mobile gt-ml-3">{{.SignedUser.Name}}</span>
6262
<span class="not-mobile">{{svg "octicon-triangle-down"}}</span>
@@ -83,8 +83,8 @@
8383
<span class="only-mobile gt-ml-3">{{ctx.Locale.Tr "active_stopwatch"}}</span>
8484
</a>
8585
<div class="active-stopwatch-popup item tippy-target gt-p-3">
86-
<div class="tw-flex tw-content-center">
87-
<a class="stopwatch-link tw-flex tw-content-center" href="{{.ActiveStopwatch.IssueLink}}">
86+
<div class="tw-flex tw-items-center">
87+
<a class="stopwatch-link tw-flex tw-items-center" href="{{.ActiveStopwatch.IssueLink}}">
8888
{{svg "octicon-issue-opened" 16 "gt-mr-3"}}
8989
<span class="stopwatch-issue">{{.ActiveStopwatch.RepoSlug}}#{{.ActiveStopwatch.IssueIndex}}</span>
9090
<span class="ui primary label stopwatch-time gt-my-0 gt-mx-4" data-seconds="{{.ActiveStopwatch.Seconds}}">
@@ -142,7 +142,7 @@
142142
</div><!-- end dropdown menu create new -->
143143

144144
<div class="ui dropdown jump item gt-mx-0 gt-pr-3" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
145-
<span class="text tw-flex tw-content-center">
145+
<span class="text tw-flex tw-items-center">
146146
{{ctx.AvatarUtils.Avatar .SignedUser 24 "gt-mr-2"}}
147147
<span class="only-mobile gt-ml-3">{{.SignedUser.Name}}</span>
148148
<span class="not-mobile">{{svg "octicon-triangle-down"}}</span>

templates/explore/navbar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<overflow-menu class="ui secondary pointing tabular top attached borderless menu navbar">
1+
<overflow-menu class="ui secondary pointing tabular top attached borderless menu secondary-nav">
22
<div class="overflow-menu-items tw-justify-center">
33
<a class="{{if .PageIsExploreRepositories}}active {{end}}item" href="{{AppSubUrl}}/explore/repos">
44
{{svg "octicon-repo"}} {{ctx.Locale.Tr "explore.repos"}}

0 commit comments

Comments
 (0)