Commit Graph
85 Commits
Author SHA1 Message Date
Erik Kundt 7b0692df51 Switch to published Radicle crates 2023-08-10 22:38:38 +02:00
Erik Kundt 682400f7cb Add context bar to issue page 2023-08-09 09:49:54 +02:00
Erik Kundt cd5522f6a9 Fix formatting and clippy warnings 2023-08-08 12:36:58 +02:00
Erik Kundt 8aef9b3775 Implement patch browser context on home page 2023-08-08 12:34:10 +02:00
Erik Kundt 46f9acd75e Implement issue browser context on home page 2023-08-08 12:34:06 +02:00
Erik Kundt 2bf3e69d77 Add empty browse context bar to home page 2023-08-08 12:34:02 +02:00
Erik Kundt 5e9b069960 Adapt patch page to new structure 2023-08-08 12:24:14 +02:00
Erik Kundt 1899411c0a Prepare home page for context bar 2023-08-08 12:20:23 +02:00
Erik Kundt 9fb41c45c4 Adaptive shortcuts on issue page 2023-08-05 11:46:44 +02:00
Erik Kundt b66b44fe15 Complete issue detail header 2023-08-05 11:43:14 +02:00
Erik Kundt 77b6744480 Add description to issue page 2023-08-05 11:42:08 +02:00
Erik Kundt 244ece0a73 Restructure issue page widgets 2023-08-05 11:37:37 +02:00
Erik Kundt 6d14f62eb6 Add message, warning and error popup 2023-08-05 11:05:01 +02:00
Erik Kundt 92e74a6680 Fix Cargo.lock 2023-08-05 11:04:44 +02:00
Erik Kundt 6b33bd9b66 Add scrollable textarea widget 2023-08-04 21:49:58 +02:00
Erik Kundt 5ad3593cba Introduce batched message updates 2023-08-04 17:32:00 +02:00
Erik Kundt 930f27792a Message processing can return more messages 2023-08-04 17:31:57 +02:00
Erik Kundt 0ba4b81347 Move source files to root directory 2023-08-04 15:08:14 +02:00
Alexis Sellier a102102d3e cob: Remove CRDTs from COB state
It turns out that the CRDT formed by the union of Git DAGs
is enough to guarantee everything we need for COBs.

This changes the following things:
* COB operations no longer need to be commutative
* COB histories are traversed in the same deterministic order on all
  replicas
* It's now possible to implement RSMs on top of COBs, eg. scripting
* Lamport clocks have been removed
* `radicle-crdt` is no longer a dependency of `radicle`
* COBs are no longer instances of `Semilattice`
* The `Ops` type was removed in favor of having `Op` contain multiple
  actions
2023-07-25 15:29:27 +02:00
Vincenzo Palazzo 61f6bcd006 tui: Fix code format issue
During the testing of my CI proposal code, I discovered that our current
master branch is not building correctly.

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2023-07-25 12:55:05 +02:00
xphoniex 3e133ba085 Add -h flag to binaries
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-07-25 11:58:39 +02:00
Erik Kundt bf45481280 tui: Implement container focus on issue page 2023-07-22 22:36:24 +02:00
Erik Kundt adf3f993b9 tui: Support container focus 2023-07-22 22:36:24 +02:00
Erik Kundt 4766f76660 tui: Sort issues by time and state 2023-07-22 22:34:51 +02:00
Erik Kundt cbfba97543 tui: Add app header to issue page 2023-07-22 22:32:38 +02:00
Erik Kundt dbcde21a90 tui: Improve application header 2023-07-22 22:32:38 +02:00
Erik Kundt bc803d89ad tui: Fix cargo doc 2023-07-22 22:30:34 +02:00
Alexis Sellier 5758d60c63 Update radicle-surf and git-ref-format 2023-07-14 16:57:55 +02:00
Alexis Sellier bf69ead984 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 88db410cd3 Update radicle-surf 2023-06-22 11:15:42 +02:00
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