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

Upgrade EUI to v18.3.0 #56228

Merged
merged 16 commits into from
Feb 3, 2020
Merged

Upgrade EUI to v18.3.0 #56228

merged 16 commits into from
Feb 3, 2020

Conversation

thompsongl
Copy link
Contributor

@thompsongl thompsongl commented Jan 28, 2020

eui@18.2.1eui@18.3.0

  • A healthy amount of TypeScript conversion
  • New 3+1 app logo icons
  • New homepage layout highlighting observability and security

18.3.0

  • Converted EuiModal and EuiConfirmModal to TypeScript (#2742)
  • Converted EuiTabs to TypeScript (#2717)
  • Converted EuiFormRow to TypeScript (#2712)
  • Updated logoAPM, logoSecurity and logoEnterpriseSearch. Added logoWorkplaceSearch and logoObservability (#2769)
  • Converted EuiFilterButton to TypeScript (#2761)
  • Converted EuiFilterSelectItem to TypeScript (#2761)
  • Converted EuiFieldSearch to TypeScript (#2775)
  • Added data-test-subj to the EuiContextMenuItem in EuiTablePagination (#2778)
  • Improved EuiIcon a11y by using a title and aria-labelledby (#2786)
  • Improved compressed EuiPagination by including active and last page numbers (#2779)
  • Converted EuiSuperSelect to TypeScript (#2776)

Bug fixes

  • Increased column width on EuiTableHeaderCellCheckbox to prevent EuiCheckbox's focus ring from getting clipped in EuiBasicTable (#2770)
  • Fixed the display of EuiButton within EuiControlBar when fill={true} to be more consistent with other buttons (#2781)
  • Fixed EuiFormControlLayout from overwriting className for prepend nodes. (#2796)
  • Fixed useRenderToText and EuiButtonToggle from attempting state updates on unmounted components (#2797)
  • Refactored function and hook instantiation to fix drag action sluggishness in EuiColorStops (#2557)

Deprecations

  • EuiIcon's logoEnterpriseSearch type deprecated in favor of logoWorkplaceSearch
  • EuiIcon's logoAPM type deprecated in favor of logoObservability

@thompsongl thompsongl added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes EUI v7.7.0 labels Jan 28, 2020
@thompsongl thompsongl requested a review from snide January 28, 2020 20:25
@thompsongl thompsongl marked this pull request as ready for review January 29, 2020 18:56
@thompsongl thompsongl requested a review from a team as a code owner January 29, 2020 18:56
@thompsongl thompsongl requested a review from a team January 29, 2020 18:56
@thompsongl thompsongl requested review from a team as code owners January 29, 2020 18:56
Copy link
Member

@lukeelmers lukeelmers left a comment

Choose a reason for hiding this comment

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

Updates to app arch jest snapshots lgtm

@thompsongl
Copy link
Contributor Author

I believe @snide is going to add a commit or two to this branch to update the homepage with new logos

@snide
Copy link
Contributor

snide commented Jan 29, 2020

Yep. I'll get that in today.

@thompsongl thompsongl requested a review from a team as a code owner January 30, 2020 05:07
@snide
Copy link
Contributor

snide commented Jan 30, 2020

Homepage treatment similar to what we did in 7.6. Also updated the nav icons for what we have so far. Still waiting on the analytics logo.

image

@ryankeairns
Copy link
Contributor

Knowing that the home page redesign is imminent, maybe just some minor alignment tweaks.

Thoughts on left-aligning content in the top section to better match with bottom panels? I think this approach has things looking less like they are floating in space:

Screenshot 2020-01-30 09 21 27

@snide
Copy link
Contributor

snide commented Jan 30, 2020

@ryankeairns Can do.

@cchaos
Copy link
Contributor

cchaos commented Jan 30, 2020

I agree with @ryankeairns' suggestion. Left align works a lot better. Could you also either decrease the size of the logos or increase the size of the titles? Also, have you tested how it responds to smaller browser widths?

@snide
Copy link
Contributor

snide commented Jan 30, 2020

Edits made. It works responsively.

image

Copy link
Contributor

@snide snide left a comment

Choose a reason for hiding this comment

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

Good to go from design.

Copy link
Contributor

@joshdover joshdover left a comment

Choose a reason for hiding this comment

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

Platform changes LGTM

```typescript
readonly disableSubUrlTracking?: boolean;
```
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you may have ran the update script here based on an older version of master. We've been battling with getting these files to use the same EOL character. After merging master, can you run this again and commit any changes? node scripts/check_core_api_changes --docs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No changes after merging master running the script

@thompsongl
Copy link
Contributor Author

@elasticmachine merge upstream

@simianhacker
Copy link
Member

Closes #49677

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@legrego legrego self-requested a review February 3, 2020 17:56
@legrego legrego removed their request for review February 3, 2020 18:09
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.

Canvas changes lgtm

Copy link
Contributor

@thomasneirynck thomasneirynck left a comment

Choose a reason for hiding this comment

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

Maps lgtm

@thompsongl thompsongl merged commit 94be839 into elastic:master Feb 3, 2020
thompsongl added a commit to thompsongl/kibana that referenced this pull request Feb 3, 2020
* eui to 18.3.0

* ts interface update

* src snapshot updates

* x-pack snapshot updates

* icons in nav

* Homepage updates, nav drawer and tests

* feedback

* more feedback

* euiIconType for observability and security

* remove unused translations

Co-authored-by: dave.snider@gmail.com <dave.snider@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
thompsongl added a commit that referenced this pull request Feb 4, 2020
* eui to 18.3.0

* ts interface update

* src snapshot updates

* x-pack snapshot updates

* icons in nav

* Homepage updates, nav drawer and tests

* feedback

* more feedback

* euiIconType for observability and security

* remove unused translations

Co-authored-by: dave.snider@gmail.com <dave.snider@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: dave.snider@gmail.com <dave.snider@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Feb 4, 2020
* master: (42 commits)
  Move kuery_autocomplete ⇒ NP (elastic#56607)
  [ML] Functional tests - stabilize job row and analytics result view assertions (elastic#56595)
  [Discover] Inline angular directives only used in this plugin (elastic#56119)
  [Discover] Migrate get_sort.js test from mocha to TypeScript (elastic#56011)
  [SIEM] Enable flow_target_select_connected unit tests (elastic#55618)
  Start consuming np logging config (elastic#56480)
  [SIEM] Add eslint-plugin-react-perf (elastic#55960)
  Mention changed SAML ACS endpoint URL in breaking changes doc. (elastic#56613)
  Add `getServerInfo` API to http setup contract (elastic#56636)
  Updates Monitoring alert Jest snapshots
  Kibana property config migrations (elastic#55937)
  Vislib replacement toggle (elastic#56439)
  [Uptime] Add unit tests for QueryContext time calculation (elastic#56671)
  [SIEM][Detection Engine] Critical blocker, fixes pre-packaged rule miscounts
  Upgrade EUI to v18.3.0 (elastic#56228)
  [Maps] Fix server log (elastic#56679)
  [SIEM] Fixes FTUE when APM node is present (elastic#56574)
  [Reporting/FieldFormats] expose `setFieldFormats` and call from ReportingPlugin.start (elastic#56563)
  Update EMS API urls for production (elastic#56657)
  Ability to delete alerts even when AAD is out of sync (elastic#56543)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EUI release_note:skip Skip the PR/issue when compiling release notes v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.