Jesse Duffield
630ea7d324
Fix issue where logs were buggy after returning from subprocess
...
Turns out that upon switching to a subprocess we were cancelling ALL
periodic tasks, which includes re-rendering the main view ever 30ms.
This completely broke our log rendering and meant that it only updated
when an event occurred
2024-05-26 13:02:54 +10:00
Jesse Duffield
8a0fcf99f4
Gracefully handle situation when container details have not yet loaded
...
This should be very rare but it does happen sometimes
2024-05-26 12:27:01 +10:00
Jesse Duffield
623fdb4f33
Use taskID mutex properly
2024-05-26 12:25:32 +10:00
Jesse Duffield
bca15cf6b1
Get container details immediately after getting containers
...
Previously we separately obtained container details every second,
meaning there was a second of not knowing whether a given container was
using a TTY or not, and that meant we were using the wrong streaming
method for logs, which led to a black screen.
2024-05-26 12:19:17 +10:00
Jesse Duffield
a6ade7e78d
Close stream when done with it
...
We should have been doing this from the start. Potential cause of a
memory leak?
2024-05-26 11:34:05 +10:00
Jesse Duffield
e860416ee4
Gracefully check for docker config
...
It's fine if the file doesn't exist
2023-10-12 17:42:34 +11:00
Jesse Duffield
2dda39dff0
Appease linter
2023-10-10 17:39:09 +11:00
Jesse Duffield
966570ce6c
Forward env vars to commands
...
We want to forward env vars to commands just because it's good practice,
and probably enables things that previously weren't possible.
2023-10-09 22:03:40 +11:00
Rajiv Kushwaha
d2fa5e9e9c
feat(docker): Honor the host specified in current docker context ( #464 )
2023-10-09 17:13:22 +11:00
Paul Rivière
722fb88792
Fix mistakes in French translation ( #427 )
2023-10-09 17:05:34 +11:00
Luis Quiñones
d2dd4db582
i18n: spanish translation ( #473 )
...
Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
2023-10-09 17:02:04 +11:00
Bartosz Jablonski
42a9668e55
Fixes #466 ( #467 )
2023-10-09 16:59:45 +11:00
Miguel Figueira Ferraz
50582db9b7
feat(i18n): 🌐 Portuguese translation ( #479 )
...
Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
2023-09-19 22:44:27 +10:00
Luka Markušić
937a6a9c93
Re-enable custom command template application ( #470 )
2023-08-03 20:38:53 +10:00
tiagovla
454eaee2cf
feat: add selectedLineBgColor theme customization ( #420 )
2023-07-21 18:31:27 +10:00
Quan Dong
7c074d25f7
feat(i18n): 🌐 Chinese translation ( #441 )
...
Co-authored-by: tabris <tabrisdong@gmail.com>
2023-07-21 18:24:47 +10:00
Martin Cross
dffe6970aa
Short status ( #419 )
...
Co-authored-by: Martin Cross <martinidc1992@gmail.com>
2023-07-21 18:22:18 +10:00
Rdkang
07f26c1e91
Allow setting default screenMode ( #421 )
2023-07-21 18:08:21 +10:00
Jesse Duffield
e5ca391291
287 Display hotkeys to detach from the container ( #465 )
...
Co-authored-by: glendsoza <glendsouza23@gmail.com>
2023-07-21 17:47:00 +10:00
Tony Soloveyv
2a9ed70896
Allow to render container stats and configs both in json and yaml ( #444 )
2023-05-21 14:06:56 +10:00
Dawid Dziurla
0066c1c76c
os: fix linter issue
2023-03-29 15:55:53 +02:00
Tony-Sol
ce95ddea2a
Add networks panel
2023-03-06 01:25:23 +03:00
Jesse Duffield
17fcdb2b20
Merge pull request #407 from nakaakist/fix-service-id
...
Resolves https://github.com/jesseduffield/lazydocker/issues/402
2022-12-13 21:11:53 +11:00
Gustavo Andrioli
d77b895319
Wrap custom commands on shell
2022-12-01 19:04:29 +11:00
Nariyuki Saito
8871edc1a0
use service name as service ID
2022-11-24 00:05:06 +09:00
Jesse Duffield
821cd81b72
allow configuring number of logs to tail
2022-11-23 20:58:35 +11:00
Jesse Duffield
b0cef73dc1
hide underscores on VSCode integrated terminal while they're glitchy
2022-11-15 19:44:26 +11:00
Jesse Duffield
3e2a3e608a
update cheatsheet
2022-11-10 20:13:41 +11:00
Jesse Duffield
b7fea7a44d
separate quit and close options
2022-11-10 19:45:32 +11:00
Jesse Duffield
d1ccf11502
small refactor
2022-11-10 19:42:02 +11:00
Jesse Duffield
b0241c79db
use context instead of struct channel
2022-11-10 19:38:49 +11:00
Jesse Duffield
7f38cf2ab2
fix some things
2022-11-10 19:27:28 +11:00
Jesse Duffield
52040d1d99
better way of rendering to the main view
2022-11-10 19:14:12 +11:00
Jesse Duffield
5ffbeae3e8
preparing to refactor main render functions
2022-11-09 21:21:36 +11:00
Jesse Duffield
7324254414
better name: GetTableCells
2022-11-09 21:21:36 +11:00
Jesse Duffield
d6ad538426
refactor side list panel some more
2022-11-09 21:21:36 +11:00
Jesse Duffield
02a03ed18d
move container stats stuff into presentation layer
2022-11-09 21:21:36 +11:00
Jesse Duffield
a87b698761
move things into presentation package
2022-11-09 21:21:36 +11:00
Jesse Duffield
fc592b5806
more refactoring of list panels
2022-11-09 21:21:36 +11:00
Jesse Duffield
5d498c796a
move context stuff into its own struct
2022-11-09 21:21:36 +11:00
Jesse Duffield
c6d424e4a4
show loader when filtering
2022-11-09 21:21:36 +11:00
Jesse Duffield
95cee378cb
restore sorting tests
2022-11-09 21:21:36 +11:00
Jesse Duffield
82516385c0
use lazycore stuff
2022-11-09 21:21:36 +11:00
Jesse Duffield
52d2c1ce8c
remove unused string
2022-11-09 21:21:36 +11:00
Jesse Duffield
b453ce8940
cleaning things up
2022-11-09 21:21:36 +11:00
Jesse Duffield
0bdd0e0539
yellow ports in container panel for consistency
2022-11-09 21:21:36 +11:00
Jesse Duffield
d964c59df0
dont store cyclable views in state
2022-11-09 21:21:36 +11:00
Jesse Duffield
dfff845469
more refactoring
2022-11-09 21:21:36 +11:00
Jesse Duffield
751dbef42e
refactor some more
2022-11-09 21:21:35 +11:00
Jesse Duffield
aab8bcfbcc
add deadlock detection for debug mode
2022-11-09 21:21:35 +11:00