Erik Kundt
8d9f10f6d8
Fix clippy warnings
2025-09-01 14:37:27 +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
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
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
41f9ef1916
refactor(bin): Small code move
2025-02-28 15:39:57 +01:00
Erik Kundt
c5930ad483
fix(patch): Fix review performance
2025-02-13 12:32:46 +01:00
Erik Kundt
6c45510339
feat(patch): (De)serialize review state
2025-02-13 12:09:06 +01:00
Erik Kundt
de547fa54d
feat(patch): Reactivates review operation
2025-02-12 11:49:56 +01:00
Erik Kundt
335458de8b
feat(patch): Allows review tui to return optional action
2025-02-12 11:49:56 +01:00
Erik Kundt
9af882222a
refactor(patch): Improve review mode check
2025-02-11 16:07:49 +01:00
Erik Kundt
5bf495d04e
refactor(patch): Return review app state
2025-02-11 16:07:49 +01:00
Erik Kundt
08f6f5d06b
refactor(patch): Introduce review mode (create / resume)
2025-02-11 16:07:49 +01:00
Erik Kundt
147ea2d053
feat(patch): Remove hunk review brain
2025-02-11 16:07:49 +01:00
Erik Kundt
39a00d763a
refactor(patch): Move review item state to app state
2025-02-11 16:07:37 +01:00
Erik Kundt
884daeed6d
refactor(patch): Factor out review app state
2025-02-11 16:07:12 +01:00
Erik Kundt
9f12c98180
bin: rad can be called with a command
2025-01-29 17:03:21 +01:00
Erik Kundt
2d4a06d9fa
feat(bin): Quit on 'q' across all commands
2025-01-29 13:33:10 +01:00
Erik Kundt
965bafc993
bin(inbox): Implement CLI integration
2025-01-29 10:46:01 +01:00
Erik Kundt
ab585a9755
bin(inbox): Rename select -> list operation
2025-01-29 10:25:51 +01:00
Erik Kundt
445afd6149
bin(patch): Various smaller improvements
2025-01-29 10:17:16 +01:00
Erik Kundt
f62351a313
bin(issue): Implement CLI integration
2025-01-29 10:16:33 +01:00
Erik Kundt
0b2241977d
bin(issue): Rename select -> list operation
2025-01-29 09:40:38 +01:00
Erik Kundt
89ce751afa
bin(patch): Call rad or return JSON
2025-01-28 14:52:47 +01:00
Erik Kundt
6c89eaa454
bin(patch): Rename select -> list
2025-01-28 12:40:18 +01:00
Erik Kundt
a9ea38bdc4
bin: Complete and beautify help
2025-01-28 12:24:31 +01:00
Erik Kundt
8554e12b47
bin(patch): Improve CLI tests
2025-01-28 11:56:14 +01:00
Erik Kundt
35cd216aa8
bin(patch): Fix forwarding for unknown commands
2025-01-28 00:28:35 +01:00
Erik Kundt
381268d17f
bin(patch): Add CLI tests
2025-01-28 00:10:45 +01:00
Erik Kundt
46db9f99ff
bin(patch): Remap select to list for calls to rad
2025-01-28 00:10:18 +01:00
Erik Kundt
c62405043b
bin: Remove obsolete argument parsing from help command
2025-01-27 17:47:01 +01:00
Erik Kundt
120cb6cad0
bin(patch): Call rad for unknown operations
2025-01-27 16:20:17 +01:00
Erik Kundt
36da4fd799
bin(patch): Disable review operation
2025-01-27 16:20:17 +01:00
Erik Kundt
50670ad664
bin(patch): Handle --help & --no-forward
2025-01-27 16:20:17 +01:00
Erik Kundt
a4f804fa18
bin: Handle --no-forward in help command
2025-01-27 16:20:17 +01:00
Erik Kundt
bbee4219b9
bin(patch): Call rad for all unknown operations
2025-01-27 16:20:17 +01:00
Erik Kundt
4900c0e047
bin: Call rad for all unknown commands
2025-01-27 16:20:17 +01:00
Erik Kundt
976346c4bc
bin: Update usage of text view state
2025-01-16 00:10:02 +01:00
Erik Kundt
634abc63f8
bin(patch): Improve review hunk state handling
2024-12-19 12:14:19 +01:00
Erik Kundt
34374e1476
bin(patch): Improve review tests
2024-12-18 12:13:49 +01:00
Erik Kundt
9743396d3d
bin(patch): Log more review debug output
2024-12-17 14:30:43 +01:00
Erik Kundt
17683048a5
bin(patch): Improve review module imports
2024-12-17 14:30:43 +01:00
Erik Kundt
cb30f83f64
bin(patch): Refactor review app
2024-12-17 14:30:31 +01:00
Erik Kundt
492d4442c3
bin(patch): Add more review tests
2024-12-17 14:30:31 +01:00
Erik Kundt
7dc5cda508
bin(patch): Fix hunk state reloading
2024-12-17 14:30:31 +01:00
Erik Kundt
dcc4aa6572
bin(patch): Rework accepted / rejected review hunks
2024-12-17 14:30:03 +01:00