Commit Graph
55 Commits
Author SHA1 Message Date
Erik Kundt f22523ebbd tui: Add detail widget to issue page 2023-06-08 22:08:05 +02:00
Erik Kundt bff8ab2804 tui: Implement larger list on issue page 2023-06-08 22:05:35 +02:00
Erik Kundt 2410baf188 tui: Select correct list item on issue page 2023-06-08 21:55:00 +02:00
Erik Kundt 23fe24ac7d tui: Implement larger list on issue page 2023-06-08 21:54:57 +02:00
Erik Kundt 716738e84c tui: Fire proper list selection messages 2023-06-08 21:51:09 +02:00
Erik Kundt 8901655302 tui: Improve cob retrieval 2023-06-08 21:47:26 +02:00
Erik Kundt f478c6743b tui: Make patch and issue items sortable 2023-06-08 20:42:30 +02:00
Erik Kundt b54d6b7d59 tui: Use application context in widgets 2023-06-08 20:42:30 +02:00
Erik Kundt e0de4cf209 tui: Move application context to separate module 2023-06-08 20:42:30 +02:00
Alexis Sellier 66421f7088 Update to Rust 1.70 2023-06-02 14:40:44 +02:00
Erik Kundt d681231001 tui: Fix global navigation subscriptions 2023-06-01 13:55:49 +02:00
Erik Kundt 33d4ec0f1a tui: Add issue page with placeholder 2023-05-30 22:02:44 +02:00
Erik Kundt 53db584b58 tui: List issues 2023-05-30 21:30:19 +02:00
Erik Kundt b3581de617 tui: Use table model in patch browser 2023-05-30 15:03:12 +02:00
Erik Kundt 4245406b89 tui: Remove page state for patches 2023-05-30 15:03:12 +02:00
Erik Kundt 5051f43edf tui: Use table model for labeled container 2023-05-30 15:03:12 +02:00
Erik Kundt 0b615459bc tui: Implement table item patches 2023-05-30 15:03:09 +02:00
Erik Kundt 20f4bbed3b tui: Introduce table item and table model 2023-05-30 14:39:52 +02:00
Erik Kundt 062a4a4d48 tui: Consolidate widgets and components 2023-05-29 22:07:10 +02:00
Alexis Sellier 7e15b273a0 cob: Guarantee there is always a latest revision
We change `Patch::latest` to always return something, because a patch is
malformed if it doesn't have at least one revision, and thus would not
load in the first place.

This also implies that there is a latest revision in the face of
concurrent updates.

Note that currently, traversal order for concurrent updates is still random.
This will be fixed in another patch.
2023-05-26 10:31:00 +02:00
Erik Kundt cd07a1d0e0 tui: Redraw on resize 2023-05-23 12:33:31 +02:00
Erik Kundt 46959969c6 tui: Implement page stack and page state 2023-05-12 14:35:03 +02:00
Erik Kundt 11bcf343d7 tui: Use default colors in theme 2023-05-10 17:20:13 +02:00
Erik Kundt 0585894c4c tui: Update navigation design 2023-04-28 11:41:33 +02:00
Erik Kundt 784d95e507 tui: Fix clippy warnings 2023-04-28 10:27:37 +02:00
Erik Kundt e639d8f8b5 tui: Implement new table design for patches 2023-04-28 10:22:58 +02:00
Erik Kundt 7a3ef6af26 tui: New labeled container design 2023-04-28 10:22:58 +02:00
Erik Kundt ea13c7b7e3 tui: Add custom block implementation 2023-04-28 10:22:58 +02:00
Erik Kundt d940b4aa69 tui: Remove obsolete event handling 2023-04-28 10:22:58 +02:00
Erik Kundt d29a47af16 tui: Reorganize component modules 2023-04-24 17:49:56 +02:00
Erik Kundt ed631a0f26 tui: Split application into separate modules 2023-04-24 17:49:56 +02:00
Erik Kundt 72f8eebc3a tui: Split widgets into separate modules 2023-04-24 17:49:56 +02:00
Erik Kundt 689413ac3d tui: Move shortcuts to root widget 2023-04-19 10:40:05 +02:00
Erik Kundt f94900c469 tui: Add dashboard widget 2023-04-19 10:40:05 +02:00
Erik Kundt 4de821e6c5 tui: Re-render only if message received
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-19 10:40:05 +02:00
Erik Kundt eea29b0d5d tui: Add placeholder for issue browser
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-19 10:40:05 +02:00
Alexis Sellier 9bc62563d0 tui: Fix clippy warnings 2023-04-19 10:37:39 +02:00
Erik Kundt f287b62259 tui: Add context bar to patch view page 2023-04-18 16:30:05 +02:00
Erik Kundt 01ded9b0f2 tui: Implement patch view page
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:30:05 +02:00
Erik Kundt 47b021e840 tui: Implement view pages
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:23:55 +02:00
Erik Kundt 0f31228dad tui: Introduce subscription module
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:23:55 +02:00
Erik Kundt a1d29ba794 tui: Fix incorrect component focus
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:21:55 +02:00
Erik Kundt ee62888101 tui: Pass widget props to command handler
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:21:54 +02:00
Erik Kundt efda39e801 tui: Implement patches workspace
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:21:54 +02:00
Erik Kundt 3358c264ed tui: Add ui wrapper for patches
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:21:54 +02:00
Erik Kundt 0b6e32a351 tui: Add module providing access to patch cob
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:21:54 +02:00
Erik Kundt 46e05e8469 tui: Implement generic table component
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:21:54 +02:00
Erik Kundt 2c74fb7e8f tui: Change content handling for labels
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:14:22 +02:00
Erik Kundt 007aa1578e tui: Restructure component modules
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:12:41 +02:00
Alexis Sellier 222b26dd10 tui: Fix clippy issue 2023-03-21 13:19:38 +01:00