fix(core): improve tui task_list bottom section responsive design (#30993)
This commit is contained in:
parent
87a00da7e5
commit
ed3788fd2b
@ -92,7 +92,7 @@ impl HelpText {
|
||||
];
|
||||
|
||||
f.render_widget(
|
||||
Paragraph::new(Line::from(shortcuts)).alignment(Alignment::Center),
|
||||
Paragraph::new(Line::from(shortcuts)).alignment(Alignment::Right),
|
||||
safe_area,
|
||||
);
|
||||
}
|
||||
|
||||
@ -16,4 +16,4 @@ expression: terminal.backend()
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" ← 1/1 → quit: q help: ? View results at https://nx.app/runs/123"
|
||||
" ← 1/1 → View logs and run details at https://nx.app/runs/KnGk4A47qk quit: q help: ?"
|
||||
|
||||
@ -0,0 +1,19 @@
|
||||
---
|
||||
source: packages/nx/src/native/tui/components/tasks_list.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
" "
|
||||
" NX Completed Test Tasks Duration"
|
||||
" "
|
||||
" ✔ task1 ..."
|
||||
"> ✔ task2 ..."
|
||||
" ✔ task3 ..."
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" https://nx.app/runs/KnGk4A47qk "
|
||||
" "
|
||||
" ← 1/1 → quit: q help: ?"
|
||||
@ -0,0 +1,19 @@
|
||||
---
|
||||
source: packages/nx/src/native/tui/components/tasks_list.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
" "
|
||||
" NX Running Test Tasks... Cache Duration"
|
||||
" "
|
||||
" "
|
||||
"> · task1 ... ..."
|
||||
" · task2 ... ..."
|
||||
" · task3 ... ..."
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" ← 1/1 → This is some warning from Nx Cloud quit: q help: ?"
|
||||
@ -0,0 +1,19 @@
|
||||
---
|
||||
source: packages/nx/src/native/tui/components/tasks_list.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
" "
|
||||
" NX Running Test Tasks... Cache Duration"
|
||||
" "
|
||||
" "
|
||||
"> · task1 ... ..."
|
||||
" · task2 ... ..."
|
||||
" · task3 ... ..."
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" ← 1/1 → This is some warning from Nx Cloud quit: q help: ? navigate: ↑ ↓ filter: / pin output: 1 or 2 show output: <enter>"
|
||||
@ -15,5 +15,5 @@ expression: terminal.backend()
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" ← 1/1 → "
|
||||
" quit: q help: ? "
|
||||
" "
|
||||
" ← 1/1 → quit: q help: ?"
|
||||
|
||||
@ -15,5 +15,5 @@ expression: terminal.backend()
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" ← 1/1 → "
|
||||
" quit: q help: ? "
|
||||
" "
|
||||
" ← 1/1 → quit: q help: ?"
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
---
|
||||
source: packages/nx/src/native/tui/components/tasks_list.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
" "
|
||||
" NX Running Many Page Duration"
|
||||
" "
|
||||
"> · task52 ..."
|
||||
" "
|
||||
" ← 50/101 → quit: q help: ?"
|
||||
@ -0,0 +1,10 @@
|
||||
---
|
||||
source: packages/nx/src/native/tui/components/tasks_list.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
" "
|
||||
" NX Running Many Page Duration"
|
||||
" "
|
||||
" The remote cache will not be read f..."
|
||||
" "
|
||||
" ← 50/101 → quit: q help: ?"
|
||||
@ -0,0 +1,10 @@
|
||||
---
|
||||
source: packages/nx/src/native/tui/components/tasks_list.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
" "
|
||||
" NX Running Many Pages Test... Cache Duration"
|
||||
" "
|
||||
"> · task52 ... ..."
|
||||
" "
|
||||
" ← 50/101 → quit: q help: ? navigate: ↑ ↓ filter: / pin output: 1 or 2 show output: <enter>"
|
||||
@ -0,0 +1,10 @@
|
||||
---
|
||||
source: packages/nx/src/native/tui/components/tasks_list.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
" "
|
||||
" NX Running Many Pages Test... Cache Duration"
|
||||
" "
|
||||
"> · task52 ... ..."
|
||||
" "
|
||||
" ← 50/101 → The remote cache will not be read from or written to during this run. quit: q help: ?"
|
||||
@ -11,4 +11,4 @@ expression: terminal.backend()
|
||||
"> · task2 ... ..."
|
||||
" · task3 ... ..."
|
||||
" "
|
||||
" ← 1/1 → quit: q help: ? "
|
||||
" ← 1/1 → quit: q help: ? navigate: ↑ ↓ filter: / pin output: 1 or 2 show output: <enter>"
|
||||
|
||||
@ -0,0 +1,19 @@
|
||||
---
|
||||
source: packages/nx/src/native/tui/components/tasks_list.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
" "
|
||||
" NX Ru Duration"
|
||||
" "
|
||||
" ⠋ ta ..."
|
||||
" "
|
||||
"> · ta ..."
|
||||
" · ta ..."
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" ← 1/1 → "
|
||||
@ -0,0 +1,19 @@
|
||||
---
|
||||
source: packages/nx/src/native/tui/components/tasks_list.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
" "
|
||||
" NX Ru Duration"
|
||||
" "
|
||||
" ⠋ ta ..."
|
||||
" "
|
||||
"> · ta ..."
|
||||
" · ta ..."
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" The remote cache wil..."
|
||||
" "
|
||||
" ← 1/1 → "
|
||||
@ -15,5 +15,5 @@ expression: terminal.backend()
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" "
|
||||
" ← 1/1 → "
|
||||
" quit: q help: ? "
|
||||
|
||||
@ -0,0 +1,14 @@
|
||||
---
|
||||
source: packages/nx/src/native/tui/components/tasks_list.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
" "
|
||||
" NX Running Test Tasks... Cache Duration"
|
||||
" "
|
||||
" ⠋ task1 ... ..."
|
||||
" "
|
||||
"> · task2 ... ..."
|
||||
" · task3 ... ..."
|
||||
" "
|
||||
" "
|
||||
" ← 1/1 → quit: q help: ? navigate: ↑ ↓ filter: / pin output: 1 or 2 show output: <enter>"
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,3 @@
|
||||
use hashbrown::HashSet;
|
||||
use napi::bindgen_prelude::*;
|
||||
use napi::threadsafe_function::{ErrorStrategy, ThreadsafeFunction};
|
||||
use napi::JsObject;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user