Commit Graph
445 Commits
Author SHA1 Message Date
Erik Kundt 3cd7833e29 lib: Fix column spacing 2025-12-11 09:52:09 +01:00
Erik Kundt a541323f1e lib: Remove widget for table with header 2025-12-11 01:26:12 +01:00
Erik Kundt 1481d4892b lib: Various widget naming improvements 2025-12-11 00:46:14 +01:00
Erik Kundt ad4d4a045a lib: Improve text widget interface 2025-12-11 00:37:11 +01:00
Erik Kundt 1150aa7ab5 lib: Improve container widget naming 2025-12-11 00:37:11 +01:00
Erik Kundt 9ecc9621c5 bin/inbox: Port to imUI 2025-12-10 15:04:12 +01:00
Erik Kundt 5c59e16719 bin/patch: Store UI state and patches separately 2025-12-10 12:30:41 +01:00
Erik Kundt 2aa5e4c51f bin/patch: Reorganize rendering code 2025-12-10 11:42:37 +01:00
Erik Kundt c502dae9fb bin/patch: Improve app messages 2025-12-10 00:57:59 +01:00
Erik Kundt 0a58d17716 bin/patch: Sunset rmUI app 2025-12-09 13:35:12 +01:00
Matthias Beyer 16d3e7b4d2 bin/patch: Inline format string variables where possible
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:17:57 +01:00
Matthias Beyer 6adf95d285 bin/log: Inline format string variables where possible
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:17:57 +01:00
Matthias Beyer 187f8e3611 bin/state: Inline format string variables where possible
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:17:57 +01:00
Matthias Beyer c528551689 bin/ui: Inline format string variables where possible
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:17:57 +01:00
Matthias Beyer b03e37184b ui/items: Remove useless Iterator::collect() call
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:17:57 +01:00
Matthias Beyer 02dc8e9a34 bin/ui: Simplify collecting of children vec
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:17:57 +01:00
Matthias Beyer d52dca76b6 bin/ui: Simplify impl of ui::format::assignees()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:16:57 +01:00
Matthias Beyer 8aeffe61ff bin/ui: Simplify impl of ui::format::labels()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:16:57 +01:00
Matthias Beyer f5af55472e bin/patch: Optimize collecting of patches into Vec
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:16:57 +01:00
Matthias Beyer be0ba80140 bin/issue: Optimize collecting of patches into Vec
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:16:57 +01:00
Matthias Beyer d3dcfd8e09 bin/patch: Replace manual filter-collect
This patch replaces the manual filtering and pushing of iterators to
collections by using the more performant iterator API.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:16:31 +01:00
Matthias Beyer 8772445083 bin/issue: Replace manual filter-collect
This patch replaces the manual filtering and pushing of iterators to
collections by using the more performant iterator API.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:16:31 +01:00
Matthias Beyer 31dd223e2d bin/issue: Replace collecing into Vec<_>
There's no need to collect a full Vec<_> here if we're only interested
in the first element.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:16:31 +01:00
Matthias Beyer 3816ebf557 bin/issue: Inline variable in format string
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:16:31 +01:00
Matthias Beyer dbe8823523 bin/patch: Do not panic if repository cannot be found
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:16:31 +01:00
Matthias Beyer 47cba584d4 bin/issue: Do not panic if repository cannot be found
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:16:31 +01:00
Matthias Beyer d236446445 bin/inbox: Do not panic if repository cannot be found
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:16:31 +01:00
Matthias Beyer 48945df404 Fix: Allocate stdout only when necessary
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-12-09 13:16:31 +01:00
Erik Kundt 3c18f68856 lib: Properly terminate event listener thread 2025-12-09 13:03:58 +01:00
Erik Kundt f157fa9f06 bin/inbox: Fix selection bug
There was a regression on the notification selection when exiting the app,
where the selected notification from the unfiltered instead of the filtered
list was returned.
2025-12-08 01:08:41 +01:00
Erik Kundt e6ddafbc5f bin/inbox: Improve item loading and filtering 2025-12-06 12:30:45 +01:00
Erik Kundt d962ec4b42 lib: Add support for async workers 2025-12-06 12:30:45 +01:00
Erik Kundt ee20b956ad chore: Update radicle dependencies 2025-11-06 00:12:44 +01:00
Erik Kundt 8d9f10f6d8 Fix clippy warnings 2025-09-01 14:37:27 +02:00
Erik Kundt 981056ced9 bin/ui: Fix cargo fmt check 2025-09-01 14:30:39 +02:00
Erik Kundt 80d2aa5b03 Fix clippy warnings
This makes clippy happy by inlining format strings and simpliying some
if-statements.
2025-09-01 13:55:26 +02:00
Erik Kundt f0a47ac5b5 bin: Improve thiserror usage 2025-09-01 11:37:05 +02:00
Erik Kundt b4dd057f45 bin: Rewrite CLI tests to not require a binary
Before this patch, CLI tests required a successful debug build of
`rad-tui`. This rewrites the tests such that they still do what they did
before: testing argument processing. But without relying on a binary.
2025-08-28 11:18:19 +02:00
Erik Kundt 86e34ac2b4 bin: Disable all CLI tests
In light of `cargo test` depending on `rad-tui` being built successfully,
the tests that use them, are ignored for now.
2025-08-22 10:48:53 +02:00
Matthias Beyer 7a1ba8595a bin: Improve error handling
This patch replaces `anyhow::Error` in the programs' entry functions with proper
error types. This makes the semantics around errors that occur when forwarding
commands to `rad` more clear.

Signed-off-by: Erik Kundt <erik@zirkular.io>
2025-08-21 17:09:44 +02:00
Erik Kundt a2de36ddfb chore: Fix clippy warnings w/ 1.85.1 2025-07-29 11:06:50 +02:00
Erik Kundt 2057d49a96 chore: Update to radicle 0.16.1 2025-07-29 10:52:37 +02:00
Erik Kundt 227bd3b15b feat(bin): Use message for empty tables 2025-04-14 16:56:43 +02:00
Erik Kundt 5b44b2f873 feat(patch): Introduce review mode (edit/show) 2025-04-07 12:07:54 +02:00
Erik Kundt dcc51b96a9 feat(patch): Adds review action to list interface 2025-02-28 17:53:54 +01:00
Erik Kundt 9aa7fb2044 refactor(bin): Introduce type for diff line ranges 2025-02-28 16:57:08 +01:00
Erik Kundt 5efcde8210 fix(bin): Fix hunk comments 2025-02-28 15:59:50 +01:00
Erik Kundt 41f9ef1916 refactor(bin): Small code move 2025-02-28 15:39:57 +01:00
Erik Kundt 64a5d7aa45 feat(bin): Hunk diffs can return their path 2025-02-28 15:38:13 +01:00
Erik Kundt c5930ad483 fix(patch): Fix review performance 2025-02-13 12:32:46 +01:00