[Metrics UI] Pass relevant shouldAllowEdit capabilities into SettingsPage#49781
Merged
Zacqary merged 12 commits intoelastic:masterfrom Jan 8, 2020
Merged
[Metrics UI] Pass relevant shouldAllowEdit capabilities into SettingsPage#49781Zacqary merged 12 commits intoelastic:masterfrom
Zacqary merged 12 commits intoelastic:masterfrom
Conversation
…pabilities-fix # Conflicts: # x-pack/legacy/plugins/infra/public/pages/logs/index.tsx
Contributor
|
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
Contributor
💚 Build Succeeded |
Contributor
💚 Build Succeeded |
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
💚 Build Succeeded |
…kibana into 48180-settings-capabilities-fix
Contributor
💚 Build Succeeded |
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
💚 Build Succeeded |
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
💚 Build Succeeded |
Member
|
@elasticmachine update branch |
Contributor
💚 Build Succeeded |
weltenwort
approved these changes
Dec 2, 2019
Member
weltenwort
left a comment
There was a problem hiding this comment.
This seems to work well, thank you!
| helpText={ | ||
| {displaySettings === 'metrics' && ( | ||
| <EuiDescribedFormGroup | ||
| idAria="matricIndices" |
Member
There was a problem hiding this comment.
This was incorrect before, but maybe we can use this opportunity to fix it:
Suggested change
| idAria="matricIndices" | |
| idAria="metricIndices" |
Member
|
Are we still planning to merge this? |
…pabilities-fix # Conflicts: # x-pack/legacy/plugins/infra/public/components/source_configuration/fields_configuration_panel.tsx # x-pack/legacy/plugins/infra/public/components/source_configuration/indices_configuration_panel.tsx # x-pack/legacy/plugins/infra/public/pages/logs/index.tsx # x-pack/legacy/plugins/infra/public/pages/logs/settings.tsx
…kibana into 48180-settings-capabilities-fix
Contributor
💚 Build SucceededTo update your PR or re-run it, just comment with: |
Zacqary
added a commit
to Zacqary/kibana
that referenced
this pull request
Jan 8, 2020
…Page (elastic#49781) * [Metrics UI] Pass relevant shouldAllowEdit capabilities into SettingsPage * Split settings pages in two; add loading screen to settings page * Restore timestamp field to metrics screen Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Jan 9, 2020
* master: (23 commits) [Vis: Default editor] Reactify the timelion editor (elastic#52990) [Discover] fix histogram min interval (elastic#53979) [Telemetry] [Monitoring] Only retry fetching usage once monito… (elastic#54309) [docs][APM] Add runtime index config documentation (elastic#53907) [SIEM] Detection engine timeline (elastic#53783) Filter scripted fields preview field list to source fields (elastic#53826) Management - New platform api (elastic#52579) Reset region and Account when switching inventory (elastic#54287) [SIEM] [Case] Case workflow api schema (elastic#51535) Code coverage setup on CI (elastic#49003) [ML] DF Analytics Results: adds link to docs (elastic#54189) Update schemas boolean, byteSize, and duration to coerce strings (elastic#54177) [Metrics UI] Pass relevant shouldAllowEdit capabilities into SettingsPage (elastic#49781) [Canvas] Fixes bugs with autoplay and refresh (elastic#53149) [ML] DF Analytics Classification: ensure confusion matrix can be fetched (elastic#53629) Fix Vega react eslint errors (elastic#54259) Remove non existing codeowners (elastic#54274) use correct type (elastic#54244) [Dashboard] Removing 100% as dshDashboardViewport height (elastic#54263) add `examples/` to no-restricted-path config (elastic#54252) ...
Zacqary
added a commit
that referenced
this pull request
Jan 9, 2020
…Page (#49781) (#54296) * [Metrics UI] Pass relevant shouldAllowEdit capabilities into SettingsPage * Split settings pages in two; add loading screen to settings page * Restore timestamp field to metrics screen Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #48180
Goes back to using
infrastructureandlogscapabilities to determine whether their respective Settings pages should be editable, as opposed tologsdetermining it for both.Waiting on issue discussion to determine if this is enough of a fix, or if the Settings Page needs some slight refactoring.Also splits the Settings Page into two different pages, one displaying only Logs settings and one displaying only Metrics settings.
While we're at it, this also displays the "Loading Data Sources" prompt if the user deeplinks or refreshes directly to the Settings page; previously it would just display a blank page until data sources finished loading.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.[ ] This was checked for cross-browser compatibility, including a check against IE11[ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support[ ] Documentation was added for features that require explanation or tutorials[ ] Unit or functional tests were updated or added to match the most common scenarios[ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers