diff --git a/web-console/src/console-application.tsx b/web-console/src/console-application.tsx index 4f10977d90d7..58763b2f47c3 100644 --- a/web-console/src/console-application.tsx +++ b/web-console/src/console-application.tsx @@ -102,6 +102,7 @@ export class ConsoleApplication extends React.Component { this.loadDataViewSeed = null; this.taskId = null; + this.openDialog = null; this.datasource = null; this.onlyUnavailable = null; this.initSql = null; @@ -165,8 +167,9 @@ export class ConsoleApplication extends React.Component { + private goToTask = (taskId: string | null, openDialog: string | null = null) => { this.taskId = taskId; + this.openDialog = openDialog; window.location.hash = 'tasks'; this.resetInitialsWithDelay(); } @@ -224,7 +227,7 @@ export class ConsoleApplication extends React.Component { const { noSqlMode } = this.state; - return this.wrapInViewContainer('tasks', , true); + return this.wrapInViewContainer('tasks', , true); } private wrappedServersView = () => { diff --git a/web-console/src/views/load-data-view.scss b/web-console/src/views/load-data-view.scss index 050672d27c91..5e08831de66e 100644 --- a/web-console/src/views/load-data-view.scss +++ b/web-console/src/views/load-data-view.scss @@ -46,6 +46,7 @@ .cards { .bp3-card { display: inline-block; + vertical-align: top; width: 250px; height: 140px; margin-right: 15px; diff --git a/web-console/src/views/load-data-view.tsx b/web-console/src/views/load-data-view.tsx index 22a0dbb6ab7d..bbd9e76857d1 100644 --- a/web-console/src/views/load-data-view.tsx +++ b/web-console/src/views/load-data-view.tsx @@ -137,7 +137,7 @@ const VIEW_TITLE: Record = { export interface LoadDataViewProps extends React.Props { seed: LoadDataViewSeed | null; - goToTask: (taskId: string | null) => void; + goToTask: (taskId: string | null, openDialog?: string | null) => void; } export interface LoadDataViewState { @@ -370,6 +370,7 @@ export class LoadDataView extends React.Component @@ -378,8 +379,10 @@ export class LoadDataView extends React.Component - Welcome to the Druid data loader. - This project is under active development and we plan to support many other sources of raw data, including stream hubs such as Apache Kafka and AWS Kinesis, in the next few releases. + Welcome to the Apache Druid graphical data loader. + This feature is under active development and currently only supports Druid's native batch ingestion. + We plan to continue building this out, including support for Druid's Apache Kafka, Apache Hadoop, and AWS Kinesis based ingestion methods, over the next few releases. + Until then, you can load from these and any other Druid ingestion source by clicking on Other. { @@ -398,10 +401,18 @@ export class LoadDataView extends React.Component this.initWith({ type: 'index_parallel', firehoseType: 'http' })}>HTTP(s) this.initWith({ type: 'index_parallel', firehoseType: 'static-s3' })}>AWS S3 - this.initWith({ type: 'index_parallel', firehoseType: 'static-google-blobstore' })}>Google Blobstore + this.initWith({ type: 'index_parallel', firehoseType: 'static-google-blobstore' })}>Google Cloud Storage this.initWith({ type: 'index_parallel', firehoseType: 'local' })}>Local disk + +
+
Raw spec
+
+ goToTask(null, 'supervisor')}>Other (streaming) + goToTask(null, 'task')}>Other (batch) +
+
; } @@ -1179,6 +1190,22 @@ export class LoadDataView extends React.Component + { + Boolean(transformQueryState.error && transforms.length) && + +