Jesse Duffield
f5ff116af9
Use IsProjectScoped at remaining call sites + add test
...
Addresses Copilot review comments on PR #797 :
- Containers panel title, initial focus selection, and the local-project
inclusion in getDiscoveredProjects all switched from
InDockerComposeProject to IsProjectScoped, so they stay consistent
when -p is given outside a compose dir.
- Adds TestIsProjectScoped table test covering all four combinations.
InDockerComposeProject is still used at the call sites that genuinely
require a compose dir (renderDockerComposeConfig, GetServices).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 12:47:30 +10:00
Jesse Duffield
3974f6fec1
Support -p flag and DRY up code
2026-04-19 12:16:55 +10:00
Daniel Dibiasi
b17d474148
Fixed forced project view
2026-04-16 09:23:12 +02:00
copilot-swe-agent[bot]
e3c1c8630a
Hide project/services panels when not in a docker-compose project
...
Co-authored-by: jesseduffield <8456633+jesseduffield@users.noreply.github.com>
2026-03-15 22:26:03 +00:00
Jesse Duffield
26ce871368
Improve projects support
2026-03-15 14:53:48 +11:00
Sebastiaan van Stijn
0232610967
go.mod: github.com/docker/docker, docker/cli v25.0.5
...
Update to v25.0, and remove uses of deprecated types.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-15 11:25:11 +02:00
Martin Cross
dffe6970aa
Short status ( #419 )
...
Co-authored-by: Martin Cross <martinidc1992@gmail.com>
2023-07-21 18:22:18 +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
Jesse Duffield
b0241c79db
use context instead of struct channel
2022-11-10 19:38:49 +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
95cee378cb
restore sorting tests
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
9b58b8188a
remove redundant function
2022-11-09 21:21:35 +11:00
Jesse Duffield
e6d4a97545
better search logic
2022-11-09 21:21:35 +11:00
Jesse Duffield
60df208924
convert menu panel to use new struct
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
79a58c8d48
convert services panel to use new struct
2022-11-09 21:21:35 +11:00
Jesse Duffield
e46b908006
support filtered list panel without dependency on gui package
2022-11-09 21:21:35 +11:00
Jesse Duffield
dcce4c67ec
create list panel struct
2022-11-09 21:21:35 +11:00
Jesse Duffield
46de6b365d
clean up some things
...
remove redundant g argument
2022-10-09 18:36:42 -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
fb7b28243b
improve subprocess approach
2022-10-09 18:03:46 -07:00
Jesse Duffield
270c9de796
Merge pull request #352 from rmtsrc/master
2022-10-08 12:02:59 -07:00
Jesse Duffield
cd791e576f
appease linter
...
see if this works
2022-10-08 09:25:31 -07:00
rmt/src
3c607534d1
Include image name on config tab
2022-07-13 14:06:25 +01:00
Jesse Duffield
14af9f4547
exec shell handler for services panel
2022-05-19 15:30:39 +10:00
Luka Markušić
a03f550535
Refactor pausing a bit
2022-05-12 14:19:06 +02:00
Luka Markušić
badc92f192
Add container pause functionality
2022-05-12 14:01:44 +02:00
Jesse Duffield
d0a53fbe60
use SDK to print container logs to stdout
2022-05-12 19:03:15 +10:00
Jesse Duffield
8319aed87c
deal with TTY containers gracefully
2022-05-11 22:11:01 +10:00
Jesse Duffield
b4509fb45e
add TODO's for using the docker SDK
2022-05-11 19:41:53 +10:00
Jesse Duffield
0b7017150c
use sdk to obtain container logs
2022-05-11 19:12:11 +10:00
Jesse Duffield
a100caa0d9
use sdk to inspect containers
2022-05-11 18:22:14 +10:00
Jesse Duffield
75ed6b12e5
refresh images upon receiving an event
2022-05-10 23:14:46 +10:00
Jesse Duffield
ac1e47766a
ensure we refresh after hiding stopped containers
2022-05-10 22:24:19 +10:00
Jesse Duffield
052c2ec1d1
appease linter
2022-05-10 20:59:28 +10:00
Jesse Duffield
6bc57b7628
appease linter
2022-05-09 21:31:24 +10:00
Jesse Duffield
2fe7505ebc
use event channel to reduce CPU usage by a LOT
2022-05-09 20:31:16 +10:00
Jesse Duffield
15105d87ff
fix overflow bug
2022-02-02 10:32:13 +11:00
glendsoza
9a0bbd1e38
Fixed the typo and removed the uncessory comment
2022-01-18 21:42:49 +05:30