Commit Graph

60 Commits

Author SHA1 Message Date
Daniel Boll 1d1b42516f refactor(draw_blocks.rs): remove unnecessary .as_ref() calls on constraints method to improve code readability
refactor(mod.rs): remove unnecessary .as_ref() calls on constraints method to improve code readability
2023-10-30 10:04:16 -03:00
Jack Wills 3b61a704e2 feat: Clippy mem drop,
re-arrange .lock() ordering, and use `value_capture!`, to satisfy has_significant_drop rule
2023-06-14 20:47:24 +00:00
Jack Wills 591b569e60 feat: value_capture! for draw_frame values 2023-06-14 20:23:05 +00:00
Jack Wills ef39082276 chore: release v0.3.1 2023-06-04 00:40:39 +00:00
Jack Wills 4679ddc885 chore: Spans -> Line, ratatui 0.21 update 2023-06-03 20:30:00 +00:00
Jack Wills 937202fe34 feat: delete container, closes #27
Enable a user to delete a container. A dialog will pop up to ask the user to confirm the deletion. A user can then click on either button, or press N/Y to make a selection
2023-03-30 02:12:03 +00:00
Jack Wills f906799782 fix: alter the help box link underlining 2023-03-29 17:20:20 +00:00
Jack Wills d431f85021 feat: use ratatui 2023-03-19 21:08:33 +00:00
Jack Wills d9f0bd5566 refactor: result return 2023-03-11 21:04:16 +00:00
Jack Wills 8ba37a165b refactor: reaplace unwrap_or(()) with .ok() 2023-03-09 15:18:00 +00:00
Jack Wills 507660d835 feat: only send relevant mouse events to input handler 2023-03-02 16:01:37 +00:00
Jack Wills 340893a860 fix: correctly set gui error 2023-03-02 05:18:06 +00:00
Jack Wills cb7518afe6 docs: changelog 2023-03-02 04:13:31 +00:00
Jack Wills c74f6c1179 refactor: enable_mouse_capture() moved into Ui struct 2023-03-02 04:10:38 +00:00
Jack Wills 9d2e72086b docs: comment typos 2023-03-02 03:54:55 +00:00
Jack Wills 93f7c07f70 fix: nullify_event_read(), mouse event output fix 2023-03-02 03:48:21 +00:00
Jack Wills 495d5ae789 docs: changelog 2023-03-02 03:20:35 +00:00
Jack Wills 0a1b531116 feat: Acutal fix the the mouse events output
The EnableMouseCapture from Crossterm was too broad, by only enabling a subject of the events, 1) performance is improvedand 2) and intermittent bug where mouse events were output to stdout has been removed
2023-03-02 01:09:17 +00:00
Jack Wills b8f5792d18 refactor: dead code removed 2023-03-01 19:18:36 +00:00
Jack Wills 3437df5988 refactor: ui into a struct 2023-02-28 19:48:49 +00:00
Jack Wills 31bfaa7a95 wip: fix for mouse capture bug 2023-02-28 04:10:31 +00:00
Jack Wills 846e0641d0 wip: mouse capture errors 2023-02-27 19:52:03 +00:00
Jack Wills b6c3ce21ca fix: move final stout flush to main.rs 2023-02-27 02:56:38 +00:00
Jack Wills c0bb5355d6 refactor: app_data methods re-ordered & renamed 2023-01-29 01:52:38 +00:00
Jack Wills c4d80061da revert: is_running AtomicBool back to SeqCst 2023-01-28 20:45:02 +00:00
Jack Wills b4488e4bdb refactor: major refactor of internal data handling
What started off as an inquisitive look at how the gui drawing blocks get the data they require in order to draw to the screen, ended up as a realisation  that it could be achieved in a better manner. Basically just use x.get(y), instead of using x[y] all over the place
2023-01-28 20:44:09 +00:00
Jack Wills 93dbc614d1 chore: release v0.2.0 2023-01-21 22:20:40 +00:00
Jack Wills 51c580010a fix: memory column aligned, closes #20 2023-01-18 02:06:05 +00:00
Jack Wills 0350293de3 refactor: param reduction, AtomicBool to Relaxed 2023-01-14 17:59:33 +00:00
Jack Wills bf9dcac704 chore: Rust 1.66 linting 2022-12-15 16:34:24 +00:00
Jack Wills a98e8b7260 chore: cargo fmt 2022-10-16 00:00:41 +00:00
Jack Wills 9e9d51559a feat: use gui_status for various gui states 2022-10-15 00:23:26 +00:00
Jack Wills 90e26c300e wip: gui_status, should use a hashset? 2022-10-14 21:26:20 +00:00
Jack Wills 67c4957568 feat: terminal.clear() after run_app 2022-10-13 17:45:29 +00:00
Jack Wills f5fc446295 refactor: use map_or_else 2022-10-02 00:31:01 +00:00
Jack Wills 31fb2cb1e6 fix: u16::try_from for text widths 2022-10-01 23:28:08 +00:00
Jack Wills 6731002ee4 refactor: remove pointless clone()'s & variable declarations 2022-10-01 21:02:38 +00:00
Jack Wills e76878f424 refactor: Impl Copy where able to 2022-10-01 19:57:27 +00:00
Jack Wills 34275b0220 refactor: gui const fn's take self 2022-09-07 13:59:40 +00:00
Jack Wills fd0081ee7f revert: Dockerdate stat refactor, inadvertently reduced update interval 2022-09-07 03:25:36 +00:00
Jack Wills eb25744472 refactors: unwraps() removed, and/or map_or() used 2022-09-07 02:53:28 +00:00
Jack Wills 3d760d23cd docs: comments 2022-09-06 14:40:00 +00:00
Jack Wills 305f3ee980 chore: release v0.1.3 2022-08-04 17:25:50 +00:00
Jack Wills 258ada731b chore: linting warns removed 2022-08-04 13:29:09 +00:00
Jack Wills 1bd61d4ce8 chore: linting nursery 2022-08-04 13:01:16 +00:00
Jack Wills 1263662bd9 chore: linting pedantic 2022-08-04 12:56:45 +00:00
Jack Wills ca3315a69f chore: lint unused unwraps 2022-08-04 11:47:45 +00:00
Jack Wills a70d6fa968 refacor: creation & drawing of headers 2022-07-22 20:38:22 +00:00
Jack Wills 96ca208197 wip: header+column widths 2022-07-22 19:38:19 +00:00
Jack Wills d14744b378 wip: sort by 2022-07-22 16:33:40 +00:00