terrier-engine 4.24.1 → 4.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data-dive/dives/dive-runs.ts +10 -9
- package/package.json +1 -1
|
@@ -184,7 +184,7 @@ export class DiveRunModal extends ModalPart<{dive: DdDive }> {
|
|
|
184
184
|
// inputs and outputs row
|
|
185
185
|
col.div('.tt-flex.collapsible.gap.tt-form', row => {
|
|
186
186
|
// inputs
|
|
187
|
-
row.div('.tt-flex.column.
|
|
187
|
+
row.div('.tt-flex.column.dd-dive-run-inputs', col => {
|
|
188
188
|
for (const filter of this.filters) {
|
|
189
189
|
this.renderInput(col, filter)
|
|
190
190
|
}
|
|
@@ -229,23 +229,24 @@ export class DiveRunModal extends ModalPart<{dive: DdDive }> {
|
|
|
229
229
|
const res = this.queryResults[query.id]
|
|
230
230
|
const status = res?.status || 'pending'
|
|
231
231
|
|
|
232
|
-
parent.div('.query-run', status,
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
parent.div('.query-run', status, runView => {
|
|
233
|
+
runView.div('.tt-flex.gap.align-center', row => {
|
|
234
|
+
row.i(statusIcons[status])
|
|
235
|
+
row.div('.name').text(query.name)
|
|
236
|
+
})
|
|
235
237
|
if (res?.status == 'error') {
|
|
236
|
-
|
|
238
|
+
runView.div('.tt-bubble.alert').text(res.message || "Error!")
|
|
237
239
|
}
|
|
238
240
|
else if (res?.message?.length) {
|
|
239
|
-
|
|
241
|
+
runView.div('.details').text(res.message)
|
|
240
242
|
}
|
|
241
243
|
})
|
|
242
244
|
}
|
|
243
245
|
|
|
244
246
|
renderFileOutput(parent: DivTag, fileOutput: RunFileOutput) {
|
|
245
247
|
parent.a('.file-output', {href: fileOutput.url}, row => {
|
|
246
|
-
row.
|
|
247
|
-
row.div('.
|
|
248
|
-
row.div('.details.glyp-download').text("Click to download")
|
|
248
|
+
row.div('.name.glyp-file_spreadsheet.with-icon').text(fileOutput.name)
|
|
249
|
+
row.div('.details.glyp-download.with-icon').text("Click to download")
|
|
249
250
|
})
|
|
250
251
|
}
|
|
251
252
|
|