Commit Graph

58 Commits

Author SHA1 Message Date
Alexis Sellier 45ccbde226
Update `radicle-surf` and `git-ref-format` 2023-07-14 16:57:55 +02:00
Alexis Sellier 63ff4717dc
cli: Implement hunk-based code review
Review code with an interface similar to `git add -p`.
2023-06-22 11:15:42 +02:00
Alexis Sellier e700608095
Update `radicle-surf` 2023-06-22 11:15:42 +02:00
Erik Kundt df5cf4023b tui: Add detail widget to issue page 2023-06-08 22:08:05 +02:00
Erik Kundt 3b88e13e91 tui: Implement larger list on issue page 2023-06-08 22:05:35 +02:00
Erik Kundt c2b6fefb8e tui: Select correct list item on issue page 2023-06-08 21:55:00 +02:00
Erik Kundt dd16ed780e tui: Implement larger list on issue page 2023-06-08 21:54:57 +02:00
Erik Kundt 8e7d53aa9a tui: Fire proper list selection messages 2023-06-08 21:51:09 +02:00
Erik Kundt a3077d5b15 tui: Improve cob retrieval 2023-06-08 21:47:26 +02:00
Erik Kundt 0d652d78e9 tui: Make patch and issue items sortable 2023-06-08 20:42:30 +02:00
Erik Kundt 78344f8a9f tui: Use application context in widgets 2023-06-08 20:42:30 +02:00
Erik Kundt 0eb37431ff tui: Move application context to separate module 2023-06-08 20:42:30 +02:00
Alexis Sellier 4652f309b4
Update to Rust 1.70 2023-06-02 14:40:44 +02:00
Erik Kundt 474d21741e
tui: Fix global navigation subscriptions 2023-06-01 13:55:49 +02:00
Erik Kundt 21533f37eb tui: Add issue page with placeholder 2023-05-30 22:02:44 +02:00
Erik Kundt 56a61b61c9 tui: List issues 2023-05-30 21:30:19 +02:00
Erik Kundt 0361ca3818 tui: Use table model in patch browser 2023-05-30 15:03:12 +02:00
Erik Kundt 0a673bc552 tui: Remove page state for patches 2023-05-30 15:03:12 +02:00
Erik Kundt d01028502e tui: Use table model for labeled container 2023-05-30 15:03:12 +02:00
Erik Kundt de6bb8fdb0 tui: Implement table item patches 2023-05-30 15:03:09 +02:00
Erik Kundt 5d7bf9f663 tui: Introduce table item and table model 2023-05-30 14:39:52 +02:00
Erik Kundt a4be8f4fa9
tui: Consolidate widgets and components 2023-05-29 22:07:10 +02:00
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 376adde1f9
tui: Redraw on resize 2023-05-23 12:33:31 +02:00
Erik Kundt 4142d85178
tui: Implement page stack and page state 2023-05-12 14:35:03 +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 a2da673c31
tui: Split application into separate 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 38c9f0a1c0
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 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 52222939ae tui: Introduce subscription module
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:23:55 +02:00
Erik Kundt 594b63197c tui: Fix incorrect component focus
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:21: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 3ce1e1147a 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 85fad7aee0 tui: Implement generic table component
Signed-off-by: Erik Kundt <erik@zirkular.io>
2023-04-18 16:21:54 +02:00