Commit Graph

28 Commits

Author SHA1 Message Date
Alexis Sellier e6baeab0c9
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 a5d85a0d24
tui: Use default colors in theme 2023-05-10 17:20:13 +02:00
Erik Kundt 362f26a0c8
tui: Update navigation design 2023-04-28 11:41:33 +02:00
Erik Kundt e757750398
tui: Fix clippy warnings 2023-04-28 10:27:37 +02:00
Erik Kundt 7c7379c733
tui: Implement new table design for patches 2023-04-28 10:22:58 +02:00
Erik Kundt b1c92f4a0d
tui: New labeled container design 2023-04-28 10:22:58 +02:00
Erik Kundt e268e75280
tui: Add custom block implementation 2023-04-28 10:22:58 +02:00
Erik Kundt 1fa49796ff
tui: Remove obsolete event handling 2023-04-28 10:22:58 +02:00
Erik Kundt fed4e84dd7
tui: Reorganize component modules 2023-04-24 17:49:56 +02:00
Erik Kundt 969219c51d
tui: Split widgets into separate modules 2023-04-24 17:49:56 +02:00
Erik Kundt e13bf0b75b
tui: Move shortcuts to root widget 2023-04-19 10:40:05 +02:00
Erik Kundt 95b0029267
tui: Add dashboard widget 2023-04-19 10:40:05 +02:00
Erik Kundt 1bde528a1b
tui: Add placeholder for issue browser
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-19 10:40:05 +02:00
Alexis Sellier f7799e1474
tui: Fix clippy warnings 2023-04-19 10:37:39 +02:00
Erik Kundt 0381aa3281 tui: Add context bar to patch view page 2023-04-18 16:30:05 +02:00
Erik Kundt 0f52af8b2e tui: Implement patch view page
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:30:05 +02:00
Erik Kundt f0ef4efe6c tui: Implement view pages
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:23:55 +02:00
Erik Kundt a0695005f5 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 8325eb69d7 tui: Implement patches workspace
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:21:54 +02:00
Erik Kundt 80c1e45a99 tui: Add ui wrapper for patches
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:21:54 +02:00
Erik Kundt 85fad7aee0 tui: Implement generic table component
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:21:54 +02:00
Erik Kundt ceb1f8e700 tui: Change content handling for labels
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:14:22 +02:00
Erik Kundt 708e202dcc tui: Restructure component modules
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:12:41 +02:00
Erik Kundt d331389ada
tui: Implement workspaces container
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-03-20 16:27:42 +01:00
Erik Kundt 791c378d4e
tui: Show project payload
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-03-20 16:27:42 +01:00
Erik Kundt 897f4c5250
tui: Support property lists
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-03-20 16:27:42 +01:00
Erik Kundt bd4efee897
tui: Implement basic application
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-03-20 16:27:42 +01:00
Erik Kundt 62867d26bd
tui: Add basic framework
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-03-20 16:27:42 +01:00