suhird.singh
1a71302f11
gui: add gotoTopMain/gotoBottomMain navigation handlers
...
Add handlers that scroll the main panel to the top and bottom. gotoTopMain
implements the vim-style "gg" double press (gocui has no native key-sequence
support) by tracking the last 'g' press timestamp in the gui state, while
gotoBottomMain jumps to the final line, honouring the ScrollPastBottom config.
The origin math and double-press timing are factored into pure helpers so they
can be unit tested.
2026-06-24 13:39:16 -04:00
Jesse Duffield
b0241c79db
use context instead of struct channel
2022-11-10 19:38:49 +11:00
Jesse Duffield
d6ad538426
refactor side list panel some more
2022-11-09 21:21:36 +11:00
Jesse Duffield
751dbef42e
refactor some more
2022-11-09 21:21:35 +11:00
Jesse Duffield
9b58b8188a
remove redundant function
2022-11-09 21:21:35 +11:00
Jesse Duffield
158ef68372
convert project panel to use new struct
2022-11-09 21:21:35 +11:00
Jesse Duffield
5aea90c08b
convert containers panel to use new struct
2022-11-09 21:21:35 +11:00
Jesse Duffield
a4b4fee868
convert volumes panel to use new struct
2022-11-09 21:21:35 +11:00
Jesse Duffield
79a58c8d48
convert services panel to use new struct
2022-11-09 21:21:35 +11:00
Jesse Duffield
b80c8edcd0
convert images panel to use new struct
2022-11-09 21:21:35 +11:00
Jesse Duffield
008ad719d6
allow jumping to top of main panel with home key
2022-10-10 20:34:05 -07:00
Jesse Duffield
540c592b04
prevent issue where opening popup in maximised main view shows popup in front of a side view
2022-10-09 18:03:57 -07:00
Jesse Duffield
aa8504b8f6
fix focus issues
2022-10-09 18:03:57 -07:00
Dawid Dziurla
f95b49cd6b
gui: actually pop stack and keep it fit
2019-09-02 15:49:13 +02:00
winhung
4e25f78507
scrollDownMain now works properly with ScrollPastBottom enabled #31
2019-08-06 21:46:24 +08:00
winhung
b899796a52
removed scrollCount #31
2019-08-05 21:42:18 +08:00
winhung
082034d345
used ViewLinesHeight for scrolling down function #31
2019-08-04 11:07:48 +08:00
winhung
07bfb9255e
implemented review comments by adding improved scrolling checking #31
2019-08-04 10:23:15 +08:00
winhung
4de994e030
scrolling does not go beyond the displayed text #31
2019-07-22 21:04:50 +08:00
Pieter van de Bruggen
12f3cfab55
Rename StatusPanel to ProjectPanel
2019-07-03 10:48:55 -07:00
mjarkk
cb926cd20a
Fixed an escape bug
2019-07-02 09:14:22 +02:00
Jesse Duffield
ec7624c3a3
fix menu overlap bug
2019-07-01 21:17:55 +10:00
Jesse Duffield
e220bedc79
support actual mouse support and focusing the main view
2019-06-29 13:41:15 +10:00
Jesse Duffield
405bb85ed0
support clicking on tabs
2019-06-29 11:27:21 +10:00
Jesse Duffield
c55e83aeaa
support custom commands and do minor refactor
2019-06-05 19:58:08 +10:00