detached 83c4486

Basic CSS/htmlx layout for v0.1

commit
83c4486011b963c98e4b30dcc66f9000d403b9bc
author
bnema · · 2023-09-04 07:04 UTC
parent
c88cec9
signature
unsigned
1 file · +8 -0
M internal/ui/public/assets/css/tailwind.css +8 -0
@@ -577,6 +577,10 @@ video {
577577 height: 100%;
578578 }
579579
580+.h-8 {
581+ height: 2rem;
582+}
583+
580584 .w-1\/5 {
581585 width: 20%;
582586 }
@@ -597,6 +601,10 @@ video {
597601 width: 100%;
598602 }
599603
604+.w-24 {
605+ width: 6rem;
606+}
607+
600608 .flex-1 {
601609 flex: 1 1 0%;
602610 }
@@ -577,6 +577,10 @@ video {
577 height: 100%;577 height: 100%;
578 }578 }
579 579
580+.h-8 {
581+ height: 2rem;
582+}
583+
580 .w-1\/5 {584 .w-1\/5 {
581 width: 20%;585 width: 20%;
582 }586 }
@@ -597,6 +601,10 @@ video {
597 width: 100%;601 width: 100%;
598 }602 }
599 603
604+.w-24 {
605+ width: 6rem;
606+}
607+
600 .flex-1 {608 .flex-1 {
601 flex: 1 1 0%;609 flex: 1 1 0%;
602 }610 }

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 7

Tags 106

↑↓ moveenter openesc close