Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Canvas] Use compressed forms in sidebar #49419

Merged
merged 13 commits into from
Nov 15, 2019

Conversation

ryankeairns
Copy link
Contributor

@ryankeairns ryankeairns commented Oct 25, 2019

Summary

By using compressed form styles in the sidebar, element settings become more discoverable as less inputs move off the screen. To further simply this work area, help text has been moved to icon tooltips, amd text copy (including callouts, titles, etc.) has been edited to be more concise.

Other small UX improvements were made along the way, particularly within the Data tab (selecting datasources). This includes not only improved form layouts, but re-ordered fields, new card designs, additional contextual help (e.g. link to ES SQL docs) and more.

Previews

Follow-up PRs

There are a few things that I'd like to tackle subsequent to this PR:

  • For dropdown filters: convert text inputs with 'Set' buttons to select dropdowns
  • For progress elements: create a new argType to handle background color and weight in a single form row
  • Show all optional panels; remove the 'plus sign' button interaction
  • An EUI PR to tweak the input background colors/borders to achieve more contrast (they were designed with a pure white background, we are using a slightly gray background)

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@ryankeairns ryankeairns added release_note:enhancement Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v7.6.0 labels Oct 25, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-canvas (Team:Canvas)

@elasticmachine
Copy link
Contributor

💔 Build Failed

@ryankeairns ryankeairns marked this pull request as ready for review October 29, 2019 15:06
@ryankeairns ryankeairns requested review from a team as code owners October 29, 2019 15:06
@ryankeairns
Copy link
Contributor Author

Moving this out of draft, but I will need some help sorting out the functional tests.

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@poffdeluxe poffdeluxe left a comment

Choose a reason for hiding this comment

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

Just some very minor stuff -- seems good overall! Haven't had a chance to test locally though

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@cqliu1 cqliu1 self-requested a review November 1, 2019 19:52
Copy link
Contributor

@cqliu1 cqliu1 left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Thanks for taking care of those missing i18n things I mentioned. I pulled up all the args and datasource, and the compressed forms look so sleek!

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@ryankeairns
Copy link
Contributor Author

jenkins test this

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@ryankeairns ryankeairns merged commit 69431b5 into elastic:master Nov 15, 2019
ryankeairns added a commit to ryankeairns/kibana that referenced this pull request Nov 15, 2019
* compressed sidebar design

* add back metric help, style no datasource msg

* re-style remove button

* re-style element status section

* remove unused component import

* update storyshots

* clean up unused i18n values

* address feedback

* address i81n feedback

* update storyshot

* convert string to i18n

* style grouped sidebar messages

* update storyshots
ryankeairns added a commit that referenced this pull request Nov 15, 2019
* compressed sidebar design

* add back metric help, style no datasource msg

* re-style remove button

* re-style element status section

* remove unused component import

* update storyshots

* clean up unused i18n values

* address feedback

* address i81n feedback

* update storyshot

* convert string to i18n

* style grouped sidebar messages

* update storyshots
jloleysens added a commit to jloleysens/kibana that referenced this pull request Nov 18, 2019
…her [skip ci]

* upstream/master: (54 commits)
  allows plugins to define validation schema for "enabled" flag (elastic#50286)
  Add retry to find.existsByDisplayedByCssSelector (elastic#48734)
  [i18n] integrate latest translations (elastic#50864)
  ui/resize_checker 👉 src/plugins/kibana_utils (elastic#44750)
  Fix @reach/router types (elastic#50863)
  [ML] Adding ML node warning to overview and analytics pages (elastic#50766)
  Bump storybook dependencies (elastic#50752)
  [APM Replace usage of idx with optional chaining (elastic#50849)
  [SIEM] Fix eslint errors (elastic#49713)
  Improve "Browser client is out of date" error message (elastic#50296)
  [SIEM][Detection Engine] REST API improvements and changes from UI/UX feedback (elastic#50797)
  Move @kbn/es-query into data plugin - es-query folder (elastic#50182)
  Index Management new platform migration (elastic#49359)
  Increase retry for cloud snapshot to finish (elastic#50781)
  Removing EuiCode from inside EuiPanel (elastic#50683)
  [SIEM] Tests for search_after and bulk index (elastic#50129)
  Make babel understand TypeScript 3.7 syntax (elastic#50772)
  Fixing mocha tests and broken password change status codes (elastic#50704)
  [Canvas] Use compressed forms in sidebar (elastic#49419)
  Add labels to shell scripts in Jenkins (elastic#49657)
  ...
@bhavyarm
Copy link
Contributor

@ryankeairns how do I test this PR please? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:enhancement review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v7.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants