detached 72abcb1

fix(sign-on): resize the window per tab instead of scrolling

commit
72abcb10bfedb434979807b522210da1b1c3217d
author
Kit · · 2026-09-27 13:19 UTC
parent
fea78dd
signature
SSH UnverifiedSHA256:H91DFuEG4jpk5edzLA4aUKkpv4zv9Q339ipRmkph6Tk The key is unknown
2 files · +10 -3
M src/lib/components/desktop/sign-on-window.svelte +3 -3
@@ -176,7 +176,7 @@
176176 <XpWindow
177177 id={WINDOW_ID}
178178 width={300}
179- height={activeTab === 'signin' ? 400 : 520}
179+ height={activeTab === 'signin' ? 380 : 600}
180180 resizableWindow={false}
181181 >
182182 <div class="signon">
@@ -269,7 +269,7 @@
269269 onfocus={() => (showStrength = true)}
270270 />
271271 {#if showStrength}
272- <PasswordStrengthIndicator password={suPassword} showDetails={true} />
272+ <PasswordStrengthIndicator password={suPassword} showDetails={false} />
273273 {/if}
274274 </div>
275275 <div class="field-row-stacked">
@@ -306,7 +306,7 @@
306306 gap: 8px;
307307 font-size: 11px;
308308 height: 100%;
309- overflow-y: auto;
309+ overflow: hidden;
310310 }
311311
312312 .banner {
@@ -176,7 +176,7 @@
176 <XpWindow176 <XpWindow
177 id={WINDOW_ID}177 id={WINDOW_ID}
178 width={300}178 width={300}
179- height={activeTab === 'signin' ? 400 : 520}179+ height={activeTab === 'signin' ? 380 : 600}
180 resizableWindow={false}180 resizableWindow={false}
181 >181 >
182 <div class="signon">182 <div class="signon">
@@ -269,7 +269,7 @@
269 onfocus={() => (showStrength = true)}269 onfocus={() => (showStrength = true)}
270 />270 />
271 {#if showStrength}271 {#if showStrength}
272- <PasswordStrengthIndicator password={suPassword} showDetails={true} />272+ <PasswordStrengthIndicator password={suPassword} showDetails={false} />
273 {/if}273 {/if}
274 </div>274 </div>
275 <div class="field-row-stacked">275 <div class="field-row-stacked">
@@ -306,7 +306,7 @@
306 gap: 8px;306 gap: 8px;
307 font-size: 11px;307 font-size: 11px;
308 height: 100%;308 height: 100%;
309- overflow-y: auto;309+ overflow: hidden;
310 }310 }
311 311
312 .banner {312 .banner {
M src/lib/components/desktop/xp-window.svelte +7 -0
@@ -70,6 +70,13 @@
7070 return () => window.removeEventListener('resize', onResize);
7171 });
7272
73+ // Follow explicit size changes from the parent (e.g. a dialog switching tabs)
74+ $effect(() => {
75+ if (isMaximized) return;
76+ w = width;
77+ h = height;
78+ });
79+
7380 function close() {
7481 onClose?.();
7582 desktop.close(id);
@@ -70,6 +70,13 @@
70 return () => window.removeEventListener('resize', onResize);70 return () => window.removeEventListener('resize', onResize);
71 });71 });
72 72
73+ // Follow explicit size changes from the parent (e.g. a dialog switching tabs)
74+ $effect(() => {
75+ if (isMaximized) return;
76+ w = width;
77+ h = height;
78+ });
79+
73 function close() {80 function close() {
74 onClose?.();81 onClose?.();
75 desktop.close(id);82 desktop.close(id);

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 3

Tags 8

↑↓ moveenter openesc close