Commit Graph

218 Commits

Author SHA1 Message Date
Jack Wills 9362d7b481 test: Use insta, closes #57
Use insta for UI tests, adds snapshots of UI layout
2025-04-16 11:24:08 +00:00
Jack Wills 9acf60334c chore: Rust 1.86.0 linting 2025-04-14 11:47:00 +00:00
Jack Wills 8fc845415d docs: typo 2025-02-23 14:25:29 +00:00
Jack Wills a1f31c6c88 fix: update_redraw on delete container change 2025-02-23 14:24:04 +00:00
Jack Wills bb4eec2b5e refactor: headers::draw() 2025-02-23 13:14:22 +00:00
Jack Wills 1394da9033 docs: changelog 2025-02-21 22:54:52 +00:00
Jack Wills 7e4a960b88 feat: update Rust edition to 2024 2025-02-21 22:45:06 +00:00
Jack Wills f90e831239 feat: filter panel colors 2025-02-21 22:00:12 +00:00
Jack Wills bfc295c50e fix: Only re-draw the screen if data/layout has changed 2025-02-21 16:40:34 +00:00
Jack Wills 53625e67cb fix: reduce render execution in the err loop 2025-02-21 11:41:26 +00:00
Jack Wills 17a5e7a258 feat: set log timezone, closes #56
Implement a CLI arg, and config file setting, for changing the timezone of the Docker logs timestamp
2025-02-21 11:03:19 +00:00
Jack Wills f4d54e1ba8 feat: config file, closes #47
Enable use of a config file, with custom keymap and custom colours
2025-02-16 12:54:35 +00:00
Jack Wills 08b1e34054 fix: cargo fmt 2024-12-05 20:14:11 +00:00
Jack Wills de76bc2293 refactor: draw_block
make TX & RX color consts,
refactor filter_by_spans
2024-12-05 17:45:16 +00:00
Jack Wills 69f6c96b70 refactor: remove input_poll_rate from Ui, instead use const POLL_RATE 2024-12-04 22:24:46 +00:00
Jack Wills 35aec5060f refactor: pass &FrameDate into draw_frame() 2024-12-04 21:28:10 +00:00
Jack Wills b596916b97 docs: changelog 2024-12-04 09:23:47 +00:00
Jack Wills 6e2f82db81 refactor: FrameData::from()
use &Arc<Mutex<T>> instead of MutexGuard<T>
2024-12-03 23:46:38 +00:00
Jack Wills 57781701ff refactor: FrameData 2024-12-03 23:25:30 +00:00
Jack Wills 356ea5549b refactor: get_filter
combine filter_term and term_by into a tuple, and insert into FrameData, to reduce .lock() calls
2024-12-03 21:59:00 +00:00
Jack Wills 9b22f5da18 tests: fix logs tests 2024-12-03 21:29:49 +00:00
Jack Wills 1a8dab654a refactor: remove app_data param from generate_lock()
insert data into FrameData instead
2024-12-03 20:42:24 +00:00
Jack Wills 1b26997d25 feat: ContainerPorts use ipaddr 2024-12-03 20:39:51 +00:00
Jack Wills e5927f781a refactor: Remove numerous clones()
get_container_name_by_id clone, init_all_log refactor to remove clones,
remove id.clone() by using SpawnId.get_id()
2024-12-03 19:54:02 +00:00
Jack Wills c739637b91 feat: --no-stderr cli arg, closes #52
New cli argument which will remove stderr output from logs, defaults to false
2024-12-03 15:01:56 +00:00
Jack Wills 751d997a3d chore: Rust 1.83 linting 2024-11-28 14:27:47 +00:00
Jack Wills 5ee48d5708 refactor: dead code removed 2024-11-19 08:27:45 +00:00
Jack Wills ba6a952413 refactor: dead code removed, methods renamed 2024-11-18 10:28:27 +00:00
Jack Wills 2860426d57 refactor: help_box closure fn 2024-11-16 11:32:33 +00:00
Jack Wills c058c5a301 refactor: Rust 1.82 linting 2024-10-21 16:32:33 +00:00
Jack Wills 578ed9f085 revert: expect lint
Expect lint was causing issues with crates/docker builds, revert until fix is found
2024-09-07 21:25:14 +00:00
Jack Wills 2a0ab6d81c refactor: switch lints from allow(x) to expect(x)` 2024-09-06 22:48:36 +00:00
Jack Wills 372f759ca4 chore: Rust 1.81.0 linting 2024-09-05 20:50:54 +00:00
Jack Wills d6238587ff chore: dependencies updated
Replace depreciated ratatui methods
2024-08-15 15:18:29 +00:00
Jack Wills ffac05a9cd chore: release v0.7.0 2024-08-01 21:59:45 +00:00
Jack Wills 12f24357a6 feat: place image name in logs panel title 2024-08-01 21:35:43 +00:00
Jack Wills de87681816 feat: unhealthy status, closes #43
Highlight an unhealthy container in Orange, and display "! running" as the state,

refactor: Move dev Docker files to docker directory
2024-08-01 21:35:37 +00:00
Jack Wills 0e927aae17 fix: heading section help margin 2024-07-27 11:07:28 +00:00
Jack Wills 51e9b1da2a refactor: formatting 2024-07-27 09:14:24 +00:00
Jack Wills 2cc2a65d57 tests: fix layout tests with new left alignment 2024-07-26 22:47:19 +00:00
Jack Wills 38a2c52247 Merge branch 'aljazerzen-left-align' into dev 2024-07-25 16:06:59 +00:00
Jack Wills 93e1279b1f chore: Rust 1.80 linting 2024-07-25 14:30:24 +00:00
Jack Wills d472d074f6 fix: left align headers,
Remove pointless match statements
2024-07-24 21:07:25 +00:00
Aljaž Mur Eržen 8daa4f5b8a fix tests 2024-07-24 19:04:09 +02:00
Jack Wills 26a2cf55d2 feat: advanced filtering
Allow filtering by name, image name, status, or a combination of all of the three
2024-07-24 14:20:29 +00:00
Aljaž Mur Eržen 4ba27f126c feat: left align text fieds of container block 2024-07-24 00:55:39 +02:00
Jack Wills 91b451c6a3 refactor: filter mode displayed updated 2024-07-15 12:09:56 +00:00
Jack Wills a04ef1b701 tests: refactor all draw tests 2024-07-13 22:08:42 +00:00
Jack Wills 94e4d693ab wip: test refactors 2024-07-12 21:56:35 +00:00
Jack Wills 3aebc8de15 wip: test refactors 2024-07-12 20:28:57 +00:00