alpha
Login
or
Join now
oyster.cafe
/
tangled-core
forked from
tangled.org/core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Monorepo for Tangled
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
appview: pulls: improve stack ui
author
oppiliappan
date
1 year ago
(May 20, 2025, 3:04 PM +0100)
commit
9d250f3a
9d250f3a9844b6d5c3e359744b5621b66a13cb00
parent
a373e2e1
a373e2e1575abac5256acaae209aae1d6ebb9f6a
change-id
lkqsylsw
lkqsylswpqqwqwppnxuwsrxnyoprwvlm
+6
-4
1 changed file
Expand all
Collapse all
Unified
Split
appview
pages
templates
repo
pulls
fragments
pullStack.html
+6
-4
appview/pages/templates/repo/pulls/fragments/pullStack.html
Reviewed
···
5
5
{{ with $.Pull }}
6
6
{{ $isCurrent = eq $pull.PullId $.Pull.PullId }}
7
7
{{ end }}
8
8
-
<div class="flex gap-2 items-center p-2">
9
9
-
{{ block "summarizedHeader" (list $pull $) }} {{ end }}
8
8
+
<div class="flex gap-2 items-center p-2 hover:bg-gray-100 hover:dark:bg-gray-700 {{ if $isCurrent }}bg-gray-100 dark:bg-gray-700{{ end }}">
10
9
{{ if $isCurrent }}
11
11
-
{{ i "arrow-left" "w-4 h-4" }}
10
10
+
{{ i "arrow-right" "w-4 h-4" }}
12
11
{{ end }}
12
12
+
<div {{ if not $isCurrent }} class="ml-6" {{ end }}>
13
13
+
{{ block "summarizedHeader" (list $pull $) }} {{ end }}
14
14
+
</div>
13
15
</div>
14
16
{{ end }}
15
17
</div>
···
18
20
{{ define "summarizedHeader" }}
19
21
{{ $pull := index . 0 }}
20
22
{{ $root := index . 1 }}
21
21
-
<a href="/{{ $root.RepoInfo.FullName }}/pulls/{{ $pull.PullId }}" class="no-underline hover:no-underline">
23
23
+
<a href="/{{ $root.RepoInfo.FullName }}/pulls/{{ $pull.PullId }}">
22
24
<div class="flex text-sm items-center gap-2">
23
25
{{ block "summarizedPullState" $pull }} {{ end }}
24
26
<span class="dark:text-white">