Skip to content

Commit 5e6fe78

Browse files
authored
UI updates (#7320)
* fix: chrome frame padding * add tooltips to the sidebar * change dotted grid background size
1 parent 8d49dcb commit 5e6fe78

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

apps/desktop/src/components/Chrome.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
.chrome-content {
3636
display: flex;
3737
flex-grow: 1;
38-
padding: 0 16px 16px 0;
38+
padding: 0 14px 14px 0;
3939
align-items: self-start;
4040
user-select: none;
4141
overflow: hidden;

apps/desktop/src/components/ChromeSidebar.svelte

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
onclick={() => goto(routes.workspacePath(project.id))}
4343
width={34}
4444
class={['btn-square', routes.isWorkspacePath && 'btn-active']}
45+
tooltip="Workspace"
4546
>
4647
<svg viewBox="0 0 16 13" fill="none" xmlns="http://www.w3.org/2000/svg">
4748
<path
@@ -67,6 +68,7 @@
6768
onclick={() => goto(routes.branchesPath(project.id))}
6869
width={34}
6970
class={['btn-square', routes.isBranchesPath && 'btn-active']}
71+
tooltip="Branches"
7072
>
7173
<svg viewBox="0 0 16 14" fill="none" xmlns="http://www.w3.org/2000/svg">
7274
<path d="M5 3L11 3" stroke-width="1.5" stroke="var(--clr-branches)" />
@@ -117,6 +119,7 @@
117119
onclick={() => goto(routes.targetPath(project.id))}
118120
width={34}
119121
class={['btn-square', routes.isTargetPath && 'btn-active']}
122+
tooltip="Target"
120123
>
121124
<svg viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
122125
<path
@@ -144,6 +147,7 @@
144147
onclick={() => goto(routes.historyPath(project.id))}
145148
width={34}
146149
class={['btn-square', routes.isHistoryPath && 'btn-active']}
150+
tooltip="History"
147151
>
148152
<svg
149153
viewBox="0 0 18 18"
@@ -176,6 +180,9 @@
176180
onclick={() => goto(routes.projectSettingsPath(project.id))}
177181
width={34}
178182
class={['btn-square', routes.isProjectSettingsPath && 'btn-active']}
183+
tooltipPosition="top"
184+
tooltipAlign="start"
185+
tooltip="Project settings"
179186
/>
180187
</div>
181188

@@ -201,7 +208,6 @@
201208
<Icon name="profile" />
202209
{/if}
203210
</div>
204-
<!-- TODO: Replace with the select-chevron icon -->
205211
<div class="user-button__select-icon">
206212
<Icon name="select-chevron" />
207213
</div>

apps/desktop/src/components/v3/StackDetails.svelte

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,11 @@
9696
9797
background-color: transparent;
9898
opacity: 1;
99-
background-image: radial-gradient(var(--clr-border-2) 0.9px, #ffffff00 0.9px);
100-
background-size: 12px 12px;
99+
background-image: radial-gradient(
100+
oklch(from var(--clr-scale-ntrl-50) l c h / 0.5) 0.6px,
101+
#ffffff00 0.6px
102+
);
103+
background-size: 6px 6px;
101104
border-right: 1px solid var(--clr-border-2);
102105
}
103106

0 commit comments

Comments
 (0)