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

[Metrics UI] Convert layouts to use React components #49134

Merged
merged 18 commits into from
Nov 13, 2019

Conversation

simianhacker
Copy link
Member

@simianhacker simianhacker commented Oct 24, 2019

Summary

This PR closes #48808 by converting the JSON layouts to components. From a visual perspective nothing should change. From a code perspective, I moved everything under public/pages/metrics including all the components and containers. I also deleted a bunch of files that are now obsolete. This should make it easier to find everything related to the metrics page. This PR also moves the ToolbarItems into the inventory models.

image

Checklist

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

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

- This PR closes elastic#48808
- Move all files under pages/metrics
@simianhacker simianhacker force-pushed the issue-48808-react-layouts branch from 1c66040 to 64c250f Compare October 28, 2019 22:49
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@simianhacker simianhacker marked this pull request as ready for review October 30, 2019 17:40
@simianhacker simianhacker requested a review from a team as a code owner October 30, 2019 17:40
@simianhacker simianhacker added Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.6.0 v8.0.0 labels Oct 30, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@simianhacker simianhacker added the release_note:skip Skip the PR/issue when compiling release notes label Oct 30, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@simianhacker
Copy link
Member Author

@elasticmachine merge upstream

Copy link
Contributor

@phillipb phillipb left a comment

Choose a reason for hiding this comment

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

Minor comments mainly

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💔 Build Failed

@simianhacker
Copy link
Member Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@phillipb phillipb left a comment

Choose a reason for hiding this comment

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

Looks good. Just one comment on a console.log, but if it's intentional, I think it's good to go.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@simianhacker simianhacker merged commit 1010f28 into elastic:master Nov 13, 2019
jloleysens added a commit to jloleysens/kibana that referenced this pull request Nov 14, 2019
* 'master' of github.com:elastic/kibana: (27 commits)
  [Rollup] Fix for clone job workflow (elastic#50501)
  Empty message "No data available" for Labels and User metadata sections missing (elastic#49846)
  [APM] Duration by Country map doesn't take `transactionName` into account (elastic#50315)
  Remove react references from core `Notifications` apis (elastic#49573)
  Updated APM Indices endpoints to use the SavedObjectsClient from the legacy request context, and set the apm-indices schema object to be namspace-agnostic
  [Metrics UI] Calculate interval based on the dataset's period (elastic#50194)
  chore(NA): add new platform discovered plugins as entry points to check for dependencies on clean dll tasks (elastic#50610)
  [Telemetry] change of optin status telemetry (elastic#50158)
  [SIEM][Detection Engine] REST API Additions (elastic#50514)
  [DOCS] Removes dashboard-only mode doc (elastic#50441)
  [Filters] Fix operator overflowing out popover (elastic#50030)
  Change telemetry optIn to default to true (elastic#50490)
  [Maps] make grid rectangles the default symbolization for geo grid source (elastic#50169)
  Allow registered applications to hide Kibana chrome (elastic#49795)
  Upgrade EUI to v14.9.0 (elastic#49678)
  [Metrics UI] Convert layouts to use React components (elastic#49134)
  [Search service] Add support for ES request preference (elastic#49424)
  [Newsfeed/Lint] fix chained fn lint (elastic#50515)
  [Monitoring] Fix logstash pipelines page in multi-cluster environment (elastic#50166)
  [SIEM] Events viewer fixes (elastic#50175)
  ...
@weltenwort
Copy link
Member

Are you planning to backport this to 7.x? It's causing conflicts in other backports.

@simianhacker
Copy link
Member Author

Yes... must have gotten missed

simianhacker added a commit to simianhacker/kibana that referenced this pull request Nov 18, 2019
* Convert layouts to use React compontents

- This PR closes elastic#48808
- Move all files under pages/metrics

* Renaming layout files; Fixing some types; Removing unused types

* Fixing naming issue

* Fixing path

* Fixing i18n stuff

* [Metrics UI] Move toolbars under inventory models

* Fixing imports; wrapping code in useMemo to optimize

* removing unused imports

* Removing prototype page
simianhacker added a commit that referenced this pull request Nov 18, 2019
* Convert layouts to use React compontents

- This PR closes #48808
- Move all files under pages/metrics

* Renaming layout files; Fixing some types; Removing unused types

* Fixing naming issue

* Fixing path

* Fixing i18n stuff

* [Metrics UI] Move toolbars under inventory models

* Fixing imports; wrapping code in useMemo to optimize

* removing unused imports

* Removing prototype page
@simianhacker simianhacker deleted the issue-48808-react-layouts branch April 17, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Metrics UI Metrics UI feature release_note:skip Skip the PR/issue when compiling release notes Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Metric UI] Convert layout JSON to React components for Inventory models
4 participants