feat(grid): right-align numeric result columns
This commit is contained in:
1 parent
66c768061a
commit
e2b35944ce
35 files changed
+1082
-109
No files matched your search
@@ -100,6 +100,7 @@ async fn live_clickhouse_query_result_export_xlsx_streams_random_order_query_onc
|
||||
client_session_id: None,
|
||||
execution_id: Some(format!("live-clickhouse-query-export-{suffix}")),
|
||||
date_time_format: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let done_seen = AtomicBool::new(false);
|
||||
let result = export_query_result_core(&state, &request, None, |progress| {
|
||||
|
||||
@@ -168,6 +168,7 @@ async fn live_mysql_query_result_export_xlsx_streams_single_query_without_duplic
|
||||
client_session_id: None,
|
||||
execution_id: Some(format!("live-mysql-query-export-{suffix}")),
|
||||
date_time_format: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let done_seen = AtomicBool::new(false);
|
||||
let result = export_query_result_core(&state, &request, None, |progress| {
|
||||
@@ -253,6 +254,7 @@ async fn live_mysql_xlsx_export_can_outlive_query_timeout_while_rows_keep_arrivi
|
||||
client_session_id: None,
|
||||
execution_id: Some(format!("live-mysql-query-export-timeout-{suffix}")),
|
||||
date_time_format: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let rows_exported = AtomicU64::new(0);
|
||||
let done_seen = AtomicBool::new(false);
|
||||
|
||||
@@ -135,6 +135,7 @@ async fn live_postgres_query_result_export_uses_single_streamed_query() {
|
||||
client_session_id: None,
|
||||
execution_id: Some(format!("live-postgres-query-export-{suffix}")),
|
||||
date_time_format: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let done_seen = AtomicBool::new(false);
|
||||
let result = export_query_result_core(&state, &request, None, |progress| {
|
||||
@@ -210,6 +211,7 @@ async fn live_postgres_query_result_xlsx_preserves_temporal_cell_types() {
|
||||
client_session_id: Some(format!("live-postgres-xlsx-temporal-{suffix}")),
|
||||
execution_id: Some(format!("live-postgres-xlsx-temporal-{suffix}")),
|
||||
date_time_format: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
|
||||
export_query_result_core(&state, &request, None, |_| {}).await.expect("export temporal XLSX");
|
||||
@@ -278,6 +280,7 @@ async fn live_postgres_truncated_batch_result_export_replays_safe_temp_setup() {
|
||||
client_session_id: Some(format!("temp-export-csv-{short_suffix}")),
|
||||
execution_id: Some(format!("temp-export-csv-{short_suffix}")),
|
||||
date_time_format: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let csv_rows = AtomicU64::new(0);
|
||||
export_query_result_core(&state, &request, None, |progress| {
|
||||
@@ -349,6 +352,7 @@ async fn live_postgres_xlsx_export_can_outlive_query_timeout_while_rows_keep_arr
|
||||
client_session_id: None,
|
||||
execution_id: Some(format!("live-postgres-query-export-timeout-{suffix}")),
|
||||
date_time_format: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let rows_exported = AtomicU64::new(0);
|
||||
let done_seen = AtomicBool::new(false);
|
||||
@@ -411,6 +415,7 @@ async fn live_postgres_stream_still_times_out_without_progress_and_recovers() {
|
||||
client_session_id: None,
|
||||
execution_id: Some(format!("live-postgres-query-export-stall-{suffix}")),
|
||||
date_time_format: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let started_at = Instant::now();
|
||||
let result = export_query_result_core(&state, &request, None, |_| {}).await;
|
||||
|
||||
@@ -450,6 +450,7 @@ async fn live_sqlserver_query_result_export_streams_cte_query_to_csv() {
|
||||
client_session_id: None,
|
||||
execution_id: Some(format!("live-sqlserver-export-{suffix}")),
|
||||
date_time_format: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let done_seen = AtomicBool::new(false);
|
||||
let result = export_query_result_core(&state, &request, None, |progress| {
|
||||
|
||||
@@ -110,6 +110,7 @@ async fn live_sqlserver_xlsx_export_can_outlive_query_timeout_while_rows_keep_ar
|
||||
client_session_id: None,
|
||||
execution_id: Some(format!("live-sqlserver-xlsx-{suffix}")),
|
||||
date_time_format: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let rows_exported = AtomicU64::new(0);
|
||||
let done_seen = AtomicBool::new(false);
|
||||
|
||||
Reference in new issue
Block a user