Skip to content

Web console: Improve the lookup view UX#11620

Merged
clintropolis merged 8 commits intoapache:masterfrom
vogievetsky:advanced-lookup-view
Aug 30, 2021
Merged

Web console: Improve the lookup view UX#11620
clintropolis merged 8 commits intoapache:masterfrom
vogievetsky:advanced-lookup-view

Conversation

@vogievetsky
Copy link
Copy Markdown
Contributor

This PR aims to make the lookup view more friendly. Here is the before and after screenshots of the lookup view:

Before:

image

After:

image

The notable changes are:

  • Poll period and Summary are added as additional info columns
  • By default the table is ordered on Lookup name now
  • Validation of the form has been updated to make Poll period required for extraction lookups as not setting it is guaranteed to be a time bomb for when a new server is spun up and the lookups go out of sync.
  • Error reporting in forms has been improved (see screenshot below)
  • The script that extracts SQL functions from the docs has been made more robust (it was not finding the MV_* functions before)
  • Data loader can auto detect more delimiter types

New inline error validation:

image

This PR has:

  • been self-reviewed.
  • been tested in a test Druid cluster.

Copy link
Copy Markdown
Member

@clintropolis clintropolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

if (!uri) return;
const m = /^(\w+):/.exec(uri);
if (!m) return `URI is invalid, must start with 'file:', 'hdfs:', or 's3:'`;
if (!oneOf(m[1], 'file', 'hdfs', 's3')) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since #11026 google cloud lookups are also supported

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the note! Fixed.

Copy link
Copy Markdown
Member

@clintropolis clintropolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤘

@clintropolis clintropolis merged commit e4ec352 into apache:master Aug 30, 2021
@vogievetsky vogievetsky deleted the advanced-lookup-view branch August 30, 2021 21:36
@clintropolis clintropolis added this to the 0.22.0 milestone Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants