Commit graph

70 commits

Author SHA1 Message Date
DevLeonardoK
d5f6eee69f Support cycling the log tail count from the services panel too
The services panel's Logs tab renders the underlying container's logs
through the same code path, so bind 't' there as well and include the
tail value in the services context cache key so the tab re-renders
when the value changes. Also switch the tail-limiting writer to
SetContent so the clear+rewrite is atomic and the view never renders
empty in between.
2026-07-14 21:45:37 -03:00
Jesse Duffield
3974f6fec1 Support -p flag and DRY up code 2026-04-19 12:16:55 +10: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
Martin Cross
dffe6970aa
Short status (#419)
Co-authored-by: Martin Cross <martinidc1992@gmail.com>
2023-07-21 18:22:18 +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
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
b453ce8940 cleaning things up 2022-11-09 21:21:36 +11:00
Jesse Duffield
dfff845469 more refactoring 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
79a58c8d48 convert services panel to use new struct 2022-11-09 21:21:35 +11:00
Jesse Duffield
129402fd50 use confirmation panel for upping project 2022-10-10 20:40:51 -07:00
Jesse Duffield
0cdac0bca3 allow upping and downing whole project 2022-10-10 20:33:56 -07:00
Jesse Duffield
15990effff wait when upping 2022-10-10 19:57:34 -07:00
Jesse Duffield
195ccf41ce allow upping a service 2022-10-10 19:19:07 -07: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
cd791e576f appease linter
see if this works
2022-10-08 09:25:31 -07: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ć
0ced576d9c Add services 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
2f08e0942a support starting a service 2022-05-11 19:48:11 +10:00
Jesse Duffield
75ed6b12e5 refresh images upon receiving an event 2022-05-10 23:14:46 +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
glendsoza
4d90a0345f Changes as requested per review 2022-01-17 19:24:32 +05:30
Jesse Duffield
52fb944bfb refactor 2021-11-26 21:38:52 +11:00
Konstantin Mikhailov
6c27cf3f32 Open service in browser 2021-03-27 07:15:41 +10:00
Jesse Duffield
1f9f82601b support bulk commands in each of the panels 2019-07-29 18:59:07 +10:00
Jesse Duffield
ea8258d66e more stuff 2019-06-30 11:40:55 +10:00
Jesse Duffield
4e86732cf2 support custom commands that filter down to service names 2019-06-29 21:29:35 +10:00
Jesse Duffield
e220bedc79 support actual mouse support and focusing the main view 2019-06-29 13:41:15 +10:00
Jesse Duffield
dcb8b3329f fix up click events on list panels 2019-06-29 10:22:37 +10:00
Jesse Duffield
ee688746f0 more 2019-06-23 12:27:31 +10:00
Jesse Duffield
014dce909c no more separate code paths for tty container logs 2019-06-23 08:11:16 +10:00
Jesse Duffield
5ab4ef6f8c support docker daemon going down randomly 2019-06-16 12:37:47 +10:00
Jesse Duffield
383f8a51e3 move goroutine call into the NewTask function 2019-06-15 14:51:09 +10:00
Jesse Duffield
344c72f91a allow showing TOP of a container/service 2019-06-15 14:31:49 +10:00