lib: Make loading issues and patches optional
modified bin/commands/issue/suite/ui.rs
@@ -54,7 +54,8 @@ impl IssueBrowser {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -107,8 +108,8 @@ impl LargeList {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -392,7 +393,7 @@ pub fn details(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified bin/commands/patch.rs
@@ -73,7 +73,7 @@ pub fn run(options: Options, _ctx: impl terminal::Context) -> anyhow::Result<()>
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -81,7 +81,7 @@ pub fn run(options: Options, _ctx: impl terminal::Context) -> anyhow::Result<()>
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified bin/commands/patch/list/ui.rs
@@ -45,9 +45,10 @@ impl PatchBrowser {
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -111,12 +112,12 @@ pub fn patches(
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified bin/commands/patch/suite/ui.rs
@@ -49,8 +49,9 @@ impl PatchBrowser {
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -213,12 +214,12 @@ pub fn context(context: &Context, theme: &Theme, patch: (PatchId, Patch)) -> Wid
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/context.rs
@@ -38,8 +38,8 @@ pub struct Context {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -47,12 +47,10 @@ impl Context {
|
|
|
|
|
|
| - | |
|
|
| - | |
| - | |
| - | |
|
|
| + | |
| + | |
|
|
|
|
|
@@ -65,6 +63,18 @@ impl Context {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -81,11 +91,11 @@ impl Context {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -95,8 +105,15 @@ impl Context {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|