Skip to content

Commit 7a8aa2d

Browse files
committed
Improve description of hash changes in updates
1 parent eacef0d commit 7a8aa2d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/UnisonShare/Page/ProjectContributionChangesPage.elm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ viewChangedDefinitionsCards projectRef toggledChangeLines branchDiff =
567567
(viewInfo
568568
[ viewTitle i.fullName
569569
, clickableHash branchDiff.oldBranch i.ref i.oldHash
570-
, Icon.view Icon.arrowRight
570+
, span [ class "small-label" ] [ text "updated to" ]
571571
, clickableHash branchDiff.newBranch i.ref i.newHash
572572
]
573573
)
@@ -582,7 +582,7 @@ viewChangedDefinitionsCards projectRef toggledChangeLines branchDiff =
582582
(viewInfo
583583
[ viewTitle i.newFullName
584584
, clickableHash branchDiff.oldBranch i.newRef i.hash
585-
, span [ class "extra-info" ]
585+
, span [ class "small-label" ]
586586
[ text "(was "
587587
, branchLink projectRef
588588
branchDiff.oldBranch
@@ -606,7 +606,7 @@ viewChangedDefinitionsCards projectRef toggledChangeLines branchDiff =
606606
(viewInfo
607607
[ viewTitle i.aliasFullName
608608
, clickableHash branchDiff.newBranch i.ref i.hash
609-
, span [ class "extra-info" ]
609+
, span [ class "small-label" ]
610610
[ text "(AKA "
611611
, i.otherNames
612612
|> NEL.map FQN.toString

src/css/unison-share/page/project-contribution-changes-page.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
align-items: center;
108108
gap: 0.25rem;
109109

110-
& .extra-info {
110+
& .small-label {
111111
font-size: var(--font-size-small);
112112
color: var(--u-color_text_subdued);
113113
& a {

0 commit comments

Comments
 (0)