import number vs index button implemented

This commit is contained in:
Priec
2026-09-03 22:38:50 +02:00
parent 8c5a6e0c09
commit f787d16613
7 changed files with 13 additions and 4 deletions

View File

@@ -208,6 +208,10 @@ message StageTableDataImportRequest {
message TableDataImportRow {
// Required. Data payload for one staged row.
map<string, google.protobuf.Value> data = 1;
// Link columns whose text must be resolved against the target table's exact
// row display value, including text made only of digits. Unlisted columns
// retain the normal table-write link semantics.
repeated string link_display_columns = 2;
}
message StageTableDataImportResponse {

Binary file not shown.

View File

@@ -109,6 +109,11 @@ pub struct TableDataImportRow {
::prost::alloc::string::String,
::prost_types::Value,
>,
/// Link columns whose text must be resolved against the target table's exact
/// row display value, including text made only of digits. Unlisted columns
/// retain the normal table-write link semantics.
#[prost(string, repeated, tag = "2")]
pub link_display_columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StageTableDataImportResponse {

View File

@@ -425,7 +425,7 @@ pub fn row_to_table_data(
};
data.insert(target_column.clone(), value);
}
Ok(TableDataImportRow { data })
Ok(TableDataImportRow { data, link_display_columns: Vec::new() })
}
pub fn exportable_columns(schema: &TableStructureResponse) -> Vec<String> {

2
server

Submodule server updated: 31aaa15724...8ab030c771

View File

@@ -666,7 +666,7 @@ fn import_row(
)?;
data.insert(column.clone(), value);
}
Ok(TableDataImportRow { data })
Ok(TableDataImportRow { data, link_display_columns: Vec::new() })
}
async fn render_step(