* [Uptime] Add Kuery Bar (#43621)
* Add saved objects provider, auto-creation of index pattern.
* Fix outdated import.
* Add KueryBar component to Uptime app.
* Extract module helper function to higher scope for greater reuse.
* Reduce nesting in URL hook.
* Update client usage of previously-moved helper function.
* Add export for helper function to helper directory.
* Add index pattern adapter to client lib.
* Add KueryBar to Overview Page.
* Add KueryBar and new filter group.
* Move new components to appropriate directory.
* Fix overview page import.
* Delete status filter helper functions.
* Remove from list of recommended fields.
* Update domain files to use status filter.
* Update GraphQL queries to use status filter.
* Update GraphQL endpoint to accept status filter.
* Delete obsolete component and associated files.
* Add custom filter components.
* Delete unneeded code.
* Update adapters to accept statusFilter parameter.
* Remove obsolete code.
* Alphabetize object declaration.
* Add index pattern helper function.
* Update Overview handling of filters/user search.
* Update GraphQL inferred types.
* Delete obsolete component.
* Update outdated unit test for stringify_url_params.
* Add index file to new adapter directory.
* Update test framework files to satisfy new typing requirements.
* Update test snapshot for useUrlParams.
* Update JSDoc comment in pings adapter.
* Update pings adapter tests to use new `statusFilter` parameter.
* Delete tests and fixtures for obsolete endpoints.
* Update outdated fixture.
* Update status filter usages for snapshot query tests.
* Delete obsolete imports from index file.
* Delete obsolete monitor list getter.
* Update supported URL params for new param keys.
* Remove unused prop reference.
* Improve naming in new filter components.
* Clean up function body.
* Internationalize filter components.
* Update internationalization key.
* Add test for new helper function.
* Extract function to dedicated file, add tests.
* Add tests for filter popover.
* Move FilterStatusButton to appropriate directory.
* Add test for FilterStatusButton.
* Add tests for getIndexPattern helper.
* Extract helper function to dedicated file.
* Add tests to combineFiltersAndUserSearch helper function.
* Extract inline JSX to new component and add tests.
* Remove obsolete code, update index pattern getter, and add tests.
* Add filter clause helper function and tests.
* Replace custom filter formatting code with calls to new helper function.
* Move filter components to dedicated directory.
* Rename filter files.
* Delete obsolete snapshot.
* Fix broken import in test file.
* Update a comment.
* Simplify index pattern loading in KueryBar.
* Delete unused prop.
* Extract toggle handler to external function and write tests.
* Delete obsolete int'l labels and reuse existing ones in current code.
* Delete remaining unused translation key.
* Rename a file.
* Handle numeric values for filters. Position KueryBar and FilterGroup on same line.
* Remove ID's and URL's from FilterGroup.
* Remove unneeded onOutsideClick handler from styled component to silence warning.
* Escape colons in filters.
* Escape colons in filters.
* Fix bug in snapshot code - calculate total after filtering by status.
* Add specific message to MonitorList when filters are active.
* Introduce missing prop to unit tests.
* Delete unused translation keys.
* Undo filter-related changes to snapshot adapter function.
* Remove unnecessary spread.
* Update filter popover to trap focus and improve keyboard experience.
* Update broken test snapshots.
* Update snap.
* Remove now-unused ScopeTabs component
The new layout does not include these tabs; their utility is redundant
with the ScopeSelector dropdown in the search bar.
* Remove unused style
Randomly found this orphaned rule while in here. The consuming component
was deleted in a previous commit (ef8d7ea9).
* Use consistent block names in our BEM classes
Others in this component already use codeQueryBar, so...
* Move the Search bar above both the sidebar and main content
* Align the search dropdown's RHS with the search sidebar
This required a little coordination between the two components
through a couple of sass variables.
* Remove erroneous width rule
This was incorrect for two reasons:
* You need to interpolate the sass variable within calc
* This is the same as width: auto and can be deleted
* Copy: Search Filter -> Advanced Filter
Also removes some odd spacing surrounding the text; that should be done
with CSS instead.
* Space out badge with margin, not nbsp
The copy previously had a leading space; using margin is a better
approach. The class that was replaced was unused.
* Fix alignment of Filters flyout badge
This tweaks the pink badge to be aligned with the text on the flyout
title.
Also removes a now-obsolete className (code-flyout-title).
* Adjust layout of Search filter sidebar
* Indents facets below the filter's title
* Adjusts spacing to be more consistent, removes use of EuiSpacer
NB there's a bit of a hack for the indentation itself: we use an empty,
fixed-width div for the facet's icon prop.
* Fix newline errors
These were introduced by some default vscode settings, which have now
been resolved.
* Update snapshots following markup changes
* Less hacky way of indenting facet buttons
Rather than use an empty, fixed-width div as an icon, just give it some
margin-left.
* Swap hardcoded rem values for equivalent eui vars
* One more eui var replacement
* Remove unused import
* Remove unused translations
These existed in the ScopeTabs component which has been deleted.
* [Infra UI] Limit Metric Explorer fields
- Closes#41090
- Closes#39613
- Adds allowed list for ECS, Promehteus, Kubernetes, and Docker fields
- Filters "graph pre" fields by selected metrics
- Only displays allowed fields for metric selection, graph per, and
Kquery bar
* Fixing test
* Changing all caps to camel case
* Fixing logic to be more clear and handle null use cases
* Changing to singular
* [Infra UI] Display non-metric details on Node Detail page
- Closes#42689
- Adds NodeDetails component
* clean things up a bit
* Change hook order
* Start of docs changes
* Making expand button more consitent
* Update docs for this minor change
* Changing handleClick to toggleIsOpen
* Optimizing fields slice
* First changes for avatar images
* Added the ability to have custom images for space avatars
* Partial changes as requested by reviewers
* Final commit for space avatar images PR
* Wrapping avatar file name
* Colour picker always enabled, to allow background change for transparent svgs
* All the changes requested in the last review
* Fixes the type_check test errors
* Fixing the rendering errors for space pages
* Another batch of changes as requested by review
* Some more snapshot tests
* Last batch of changes
* Fixed the type_check test
* API doc updates
* Removed comment
* Removed imageUrl from state
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Mostly complete, first pass on file upload getting started
* More edits. Add supporting images
* Change name to 'indexing'
* Review feedback
* Update integrated example text per review feedback
* Rename integrated example -> data tutorial
* Add back accidentally deleted Select Source image file
* Review feedback
* Review feedback
* Move tutorial before troubleshooting
* Review feedback
* enables no-param-reassign eslint rule
* replace some if statements with ternary operators
* remove dead code + fix logic on category of details query thankfully we were not using category on the UI
* adds test and minor logic update for regex replacer function. Also updates logic in events e' elasticsearch adapter for bug fix with field category and adds relevant test.
* remove unused resolvers and remove failing test I added because the type checker didn't like it.
* adds test cases and updates type definition for parts in regex replacer
* integrate redux into uptime app
* update integrations popup handling
* keep popover open after page refresh
* updated unit test snaps
* update unit tests
* fixed types
* add not found page
* update error handling and 404 page
* update unit tests snaps
* reverted a small change
* Resolved formatting issues
* update unit tests
* [ftr/savedObjects] add simple saved object api client to ftr services
* fix typo
* use consistent spacing
* fix types and TS-ify the rest of kibanaServer service
* expose server urls with better API
* tweak status api response types
* fix http body param name
* second arg to axios post is the post data
* use standardized error handling behavior
* Revert "use standardized error handling behavior"
This reverts commit 7e9a7f8dc5.
* revert unnecessary changes