* [CCR] Refactor redux for Auto-follow pattern detail panel (#27491)
* [CCR] Refactor redux for Auto-follow pattern detail panel
* [CCR] Small refactor
* [CCR] Change to present tense
* [CCR] Display auto-follow pattern name even if it does not exist
* [CCR] Use href to edit auto-follow pattern + remove middelware to update "pattern" query params
* [CCR] Fix navigation back bug + set 2 ids for detail and edit an auto-follow pattern
* [CCR] Replace api middleware with redux-thunk action
* [CCR] Show detail footer close button even when cluster is not valid
* [CCR] Add endpoints for fetching and creating follower indices (#27646)
* Add GET /follower_indices endpoint with deserialization logic and tests.
* Add POST /follower_indices endpoint with serialization logic and tests.
* [CCR] Add unit tests for RemoteClusterForm, RemoteClusterList, and RemoteClusterTable (#27647)
* Use componentDidUpdate instead of getDerivedStateFromProps.
* Add unit tests for RemoteClusterForm, RemoteClusterList, and RemoteClusterTable.
* Add jest mock for eui `makeId()` utility and get deterministic aria IDs for snapshots
* Update snapshot for Remote Cluster list test
* [CCR] Follower indices table and detail panel (#27804)
* Store for follower indices
* Initial work for follower indices table and detail panel
* Fix load auto-follow stats load as middleware was removed
* [CCR] Create follower index UI form (#27864)
* Initial setup Follower Index form
* Working form without client validation
* Add client side validation for follower index
* Add client validation to check if index already exist
* Improve error message when leader index does not exist
* Remove update method for follower index
* Clear api error on field change
* Fix i18n error
* Update snapshots
* [CCR] Add pause, resume, and unfollow actions for follower indices (#28305)
* Add pause and resume follower index routes
* Add unfollow route
* Add api methods for new routes
* Adjust routes to have bulk capabilities, add corresponding actions
* Refresh list after pausing/resuming, remove items after unfollowing
* First pass at UI for pause and unfollow (and resume, but that is not visible due to ES stats response)
* Handle additional conditions needed for unfollowing leader index, add placeholder code to deduce paused status
* PR feedback
* [CCR] Advanced settings UI for follower indices (#28267)
* Add client side validation of advanced settings form
* Move form entry row to separate component
* Add server side serialization for advanced settings
* Ignore advanced settings input when that section is hidden.
- Cache and restore input when the section is shown again.
* [CCR] Show remote cluster validation in CCR forms, and add edit follower index (#28778)
* [CCR] Advanced settings component
* Remove preview active on toggle settings
* Add client side validation of advanced settings form
* Move form entry row to separate component
* Add title to panel
* Add i18n translation of advanced settings
* Update Follower index form with toggle for advanced settings
* Add server side serialisation for advanced settings
* Make code review changes
* Fix test: mock constant dependency
* Add section to edit follower index
* Show confirm modal before updating follower index
* Add edit icon in table + update server endpoint to pause / resume
* [CCR] Show remote cluster validation in follower index form & auto-follow pattern form
* PR feedback, cleanup form sizes, add redirect to edit remote cluster
* Fix routing, remove unused code, adjust auto follow pattern edit loading error page
* Adjust error messages and make remote cluster not found edit page the same
* Fix functionality as result of merge
* Fix validation, reorder actions, fix tests, and address feedback
* PR feedback and fix validation pt 2
* Adjust remote cluster validation
* Fix i18n
* Fix api error not showing on add follower form
* [CCR] Integrate new follower index info ES API (#29153)
* Integrate new follower index info ES API
* Collate data from follower stats and info apis when retrieving all followers and single follower
* Add follower settings info to detail panel
* Add paused/active UI state
* Surface follower default settings to UI
* Adjust tests
* Address PR feedback
* Update snapshots
* [CCR] Surface license errors in-app and refine permissions error UI. (#29228)
* Fix camelcasing bug in XPackInfo.
* Silently swallow API error when checking for index name availability.
* Fix typo in followerIndexForm fatal error.
* Add permissions check before allowing user to access the app.
* Refine wording of CCR permission denied page, to specify cluster privileges. (#29533)
* [CCR] Improve form error handling and general UX (#29419)
* Remove unnecessary eslint disable-line
* [CCR] Implement Advanced Settings design feedback (#29543)
* Use EuiSwitch to toggle advanced settings in Create Follower Index form.
* Move 'optional' from each Advanced Setting field to the section heading.
* Change Advanced Settings switch label and description to emphasize that you can customize them or use the defaults.
* Prepopulate Advanced Settings fields with default values.
* When editing a follower index, check if advanced settings have been edited and open them if so.
* Add 'Reset to default' button below advanced settings fields if their values are different than the default.
* Remove 'Default' copy from Advanced Settings descriptions.
* Simplify toggleAdvancedSettings function, add comments, and fix React console error.
* [CCR] Follower index list fixes from design feedback (#29484)
* Delete remote cluster settings before updating
* Fix detail panel z-index
* Remove default descriptor from follower index detail panel setting values
* Follower index confirm action copy adjustments
* Change z-index styling to use EUI vars
* [CCR] Improve remote clusters test coverage (#29487)
* Add Jest test for RemoteClusterForm validation state.
* Extract validation functions out of RemoteClusterForm and add unit tests.
- Return null instead of undefined from validators.
* Add unit tests for different types of remote clusters in RemoteClusterTable.
* Add unit test for RemoteClusterList empty prompt.
* Add tests verifying behavior for row link, row delete button, and detail panel delete button.
- Use getRouterLinkProps to assign onClick and href to edit buttons in row and detail panel.
* [CCR] Adjust spacing around descriptions in list views, link to transport port docs, etc (#29789)
* Adjust spacing around description around descriptions in list views so that it's even on top and bottom.
* Add link to transport port docs from Remote Cluster form.
* Move 'View in Index Management' link from the detail panel body into the footer.
* Re-order follower index form sections: remote cluster, leader index, follower index. (#29885)
* Fix deep-linking to follower index after creating/updating it. (#29865)
* [CCR] Copy edits (#29676)
* Use 'Resume/pause data replication' in context menu and row actions.
* Update copy of 'Update' confirm modal for a paused follower index.
* Update copy of 'Update' confirm modal for an active follower index.
* Update copy of 'Pause data replication' confirm modal.
* Update copy of 'Resume data replication' confirm modal.
* Update copy for permissions check.
* Update copy of table empty state.
* Update copy around tables.
* Update form copy.
* Update copy for RemoteClustersFormField callouts.
* Convert 'data replication' -> 'replication'.
* Update copy for Unfollow confirm modal.
* Update copy for form API error and Auto-follow Patterns table.
* Update form save button labels to be 'Create' and 'Update'.
* Move API errors to bottom of form, into same position as sync validation errors. Remove spacer from SectionError implementation.
* [CCR] Open index after unfollowing leader (#29887)
* Open index after unfollowing leader, fix some variable names
* Fix typo
* Add comment
* [CCR] IE and Screen reader accesibility (#29731)
* Fix api endpoit for auto-follow stats
* Prevent letter wrapping in IE for the Remote cluster "connection" table column
* Move inline style to CSS class to fix IE flex bug
* [CCR] Add callout to paused follower index detail panel (#30013)
* Add callout to paused follower index detail panel
* Update copy
* Skip call to ccr stats api if follower index is paused (#30027)
* [CCR] Add integration tests for follower indices (#30064)
* [CCR] Add integration tests for follower indices
* Import advanced settings value from app constants
See https://github.com/elastic/elasticsearch/pull/38254
Using the `version` parameter to implement optimistic concurrency is not going to be supported in 7.0, so we need to replace our usage of document version with the new `_seq_no` and `_primary_term` parameters. These fields are returned in the same way that `_version` was returned on all read/write requests except for search, where it needs to be requested by sending `seq_no_primary_term: true` in the body of the search request. These parameters are sent back to Elasticsearch on write requests with the `if_seq_no` and `if_primary_term` parameters, and are functionally equivalent to sending a `version` in a write request before elastic/elasticsearch#38254.
To make these updates I searched the code base for uses of a `version` and `_version`, then triaged each usage, so I'm fairly confident that I got everything but it's possible something slipped through the cracks, so if you know of any usage of the document version field please help me out by double checking that I converted it.
- [x] **Saved Objects**: @elastic/kibana-platform, @elastic/es-security - for BWC and ergonomics the `version` provided by the Saved Objects client/API was not removed, it was converted from a number to a string whose value is `base64(json([_seq_no, _primary_term]))`. This allows the Saved Objects API and its consumers to remain mostly unmodified, as long as the underlying value in the version field is irrelevant. This was the case for all usages in Kibana, only thing that needed updating was tests and TS types.
- [x] **Reporting/esqueue**: @joelgriffith, @tsullivan - the version parameter was used here specifically for implementing optimistic concurrency, and since its usage was contained within the esqueue module I just updated it to use the new `_seq_no` and `_primary_term` fields.
- [x] **Task Manager**: @tsullivan @njd5475 - Like esqueue this module uses version for optimistic concurrency but the usage is contained with the module so I just updated it to use, store, and request the `_seq_no` and `_primary_term` fields.
- [ ] **ML**: @elastic/ml-ui - Best I could tell the only "version" in the ML code refers to the stack version, 077245fed8
- [ ] **Beats CM**: @elastic/beats - Looks like the references to `_version` in the code is only in the types but not in the code itself. I updated the types to use `_seq_no` and `_primary_term`, and their camelCase equivalents where appropriate. I did find a method that used one of the types referencing version but when investigating its usage it seemed the only consumer of that method was itself so i removed it. 52d890fed7
- [x] **Spaces (tests)**: @elastic/kibana-security - The spaces test helpers use saved objects with versions in a number of places, so I updated them to use the new string versions where the version was predictable, and removed the assertion on version where it wasn't. We test the version in the saved objects code so this should be fine.
* [Maps] add saved objects for all sample data sets
* add functional tests that compare sample data maps to baseline images
* add check for layer loading in functional tests
* try something out in CI
* try map without EMS regions
* add weblogs test but hide region layer
* skip tests with EMS vector layers
* gis-map to map and ES_GEOHASH_GRID to ES_GEO_GRID
* add resolution property to ES_GEO_GRID source descriptor
* move alphaValue from style descriptor to layer descriptor and rename to alpha
* terms join label change 'group by' to 'of'
* ensure sample data sets work with no internet access
* get functional tests working with updated full screen snapshots
* delete gis folder left overs
* give time for visibility to toggle to fire
* make web logs screen comparision more forgiving
* wait for layers to load on full screen
* Uptime unit tests6.x (#29280)
* Add API functional tests for uptime graphQL.
* Remove obsolete code.
* Add CI group for UI functional tests.
* Delete obsolete code, rename heartbeat es archive.
* Refactor adapter methods.
* Refactor adapter methods.
* Attempt to fix ci-group tag error.
* Skip functional app tests until later PR.
* Remove unused code.
* Add unit tests for ping list and snapshot components.
* Add additional unit tests.
* Remove unused variable.
* Update tests for EmptyState component.
* Update ErrorList component tests.
* Update monitor list unit test.
* Add tests for EmptyStatusBar component.
* Write test for FilterBar component.
* Update PingList test to work with 7.x data.
* Delete obsolete snapshot.
* Add test for Snapshot component.
* Update types.
* Add snapshot histogram test.
* Write tests and improve histogram data formatting function.
* Fix bug and add test to data format function.
* Remove unused localization value.
* Resolve localization conflict.
* Clean up guaranteed truthy property reference.
* Remove expression from localization default message.
* feat(NA): very first version with telemetry working for the upgrade assistant.
* refact(NA): import all types from a file and rewrite first version code.
* chore(NA): missing types for register and makeCollector functions.
* test(NA): tests for upgrade assistant telemetry routes.
* refact(NA): extra spaces on imports and imports order.
* test(NA): for ui_open saved objects on upgrade assistant telemetry.
* test(NA): for usage_collector functions.
* chore(NA): change the return object into the upgrade assistant telemetry.
* chore(NA): fix type imports.
* fix(NA): importing saved objects client types.
* refact(NA): simplify saved objects schema for upgrade assistant telemetry.
* feat(NA): only send upgrade assistant metrics after we have data. Never send telemetry info about a clicked tab if it is the current selected one.
* fix(NA): typo on word
* feat(NA): add telemetry schema support for for ui_reindex.
* test(NA): update integration test fixture to include new telemetry stats.
* chore(NA): fix mappings for ui_reindex.
* refact(NA): invest telemetry local expect data order.
* chore(NA): includeDefaults for callCluster.
* chore(NA): remove ignore 404 from callCluster.
* refact(NA): wrap get logging status from cluster settings into a function.
* feat(NA): add reindex ui telemetry.
* fix(NA): typo on mappings. fix(NA): non wait for send telemetry to complete will cause es doc errors when increment counters
* test(NA): wait for telemetry requests to end before esArchiver.unload on functional tests.
* refact(NA): remove bad added async to tabs onclick function.
* Add flag to enable/disable CCR monitoring UI
* Use the cluster setting instead of a new config
* Remove debug
* Update based on PR feedback
* Ensure the CCR tab shows up on the CCR page
* Rework this so we remove the janky UX
* Update tests
* Handle both string and boolean
* Remove debug
* Fix tests
* Refactor this to use the stack_stats part of the cluster_stats document
* Update the api integration tests
* Fix this test
* Remove debug
* Types, and index pattern moved to new format
* fix imports
* API now doing full validation on config blocks
* progress pre-move-blocks to their own api
* Config is now stored as a JSON string keyword to prevent conflict
* New API server is working
* fixing types — progress
* “fixed” all types
* add lib and most adapter methods needed
* wired up more plumbing
* added REST adapter to client for config blocks
* fix some tests
* connect new APIs to beat details page
* fix typo causing several failing tests.
* update test data
* API bug fixes
* fix remaining testing
* revert index name change
* add new routes
* remove whitespace
* fix spelling
* wiring things up and adapting to the new UI
* config block creation works in UI
* config blocks now show up once added
* adding paging to tables
* config list paging works
* version check for UI changes
* fix types
* Update the rest of config UI, still needs create API connection
* create now mass creates tags after tag is created, edit creates and deletes configs in real time
* create config blocks when creating tags
* propperly load tags on their own for beats
* load inital config blocks on edit page
* wired up initial pass at assignable tags
* assignments now work.
* squash many bugs with tag creation, editing, as well as k7 breadcrumbs
* fix label id
* Fix the displaying of module types
* bug fixes for deleting config blocks during initial tag creation
* make name really required on initial walkthrough tag creation
* Fix and enhance deleting a config block from existing tag
* Initial non-working endpoint that validates API and response
* init new endpoint
* beat ID is required
* returns 400 if beat not found
* fix memory adapter for configs
* add new libs to compose
* add index template
* tweak types
* move index template logic to ES event hook
* propperly wait for ES
* add lifecycle names
* fix translations, remove old config update from API
* insert status into ES
* remove old tests
* added RUNNING status
* expand types
* Re-init route
* dont map litterals
* convert timestamp
* updating fields
* Migrate to ESC event.dataset
* Migragte fields to ECS fields
* renaming variable
* Reverting back to host.name
* Changing from Top Hits to Terms Agg for getting node name; change host.name back to host.hostname for name.
* Changing back to host.name
* Moving from using the document source to an aggregation for node name
* Updating tests with new data format and data.
* removing unused fields
* adding test data for docker 6.6.0
* Adding docker tests for 6.6.0
* Fixing jest tests
* Fixing tests
* Adding the most critical line of code in the entire project
* Fix ECS-compatible apache rules and restore old ones
* Fix ECS-compatible nginx rules and restore old ones
* Add tests for apache2 in ECS and pre-ECS format
* Add tests for nginx in ECS and pre-ECS format
* removing console.log
* Fixing tests
This adds a configuration UI to change various properties of an infrastructure data source. The properties that can be currently changed are:
* name
* index pattern for metrics
* index pattern for logs
* fields like the timestamp, container/host/pod identification
It is meant as a basis for providing configurability for other source properties like outgoing links and formatting rules in the future.
* [Maps] better error handling when layer configs can not be found
* remove kibana.yml changes
* gis-map to map
* throw exception for getStringFields and getAttributions and then handle exceptions in caller
Fixes the build issues introduced in #25563 and re-introduces the new react/eui/typescript filter bar, essentially reverting the revert in #29662. I did have to resolve one merge conflict in query_bar.tsx, and re-deleted all of the old filter bar code where translation code had been added.
* Refactor es queries and associated components/endpoints.
* Add unit tests, repair broken tests.
* [Uptime] Add API functional tests for uptime graphQL (#29128)
* Add API functional tests for uptime graphQL.
* Remove obsolete code.
* Add CI group for UI functional tests.
* Delete obsolete code, rename heartbeat es archive.
* Refactor adapter methods.
* Refactor adapter methods.
* Attempt to fix ci-group tag error.
* Skip functional app tests until later PR.
* Remove unused code.
* Optimize test runs.
* Add uptime to api test index.
* Fix formatting.
* Add HB 7.0 data for API tests.
* Configure first error_list test to work with 7.x data.
* Configure error_list filtered by id to work with 7.x data.
* Configure error_list functional tests to work with 7.x data.
* Update snapshot test to work with 7.x data.
* Update snapshot down filtered test to work with 7.x data.
* Configure snapshot up test to work with 7.x data.
* Configure ping list tests to work with 7.x data.
* Configure monitor list tests to work with 7.x data.
* Configure monitor status bar tests to work with 7.x data.
* Configure filterBar tests to work with 7.x data.
* Configure docCount tests to work with 7.x data.
* Simplify code based on PR feedback.
* Add loading spinner to monitor page title based on PR feedback.
* Rename GQL type based on PR feedback.
* Remove use of 'undefined' in ES query based on PR feedback.
* Simplify code based on PR feedback.
* Add definite size/shard_size for terms agg based on PR feedback.
* Simplify ES query based on PR feedback.
* Update x-pack/plugins/uptime/server/lib/adapters/monitors/elasticsearch_monitors_adapter.ts
Implement PR feedback.
Co-Authored-By: justinkambic <justin.kambic@elastic.co>
* Increase size for ES errors query based on PR feedback.
* Fix hardcoded field in terms filter based on PR feedback.
* Simplify get code for monitors function.
* Reduce unnecessarily large size for terms agg based on PR feedback.
* Pluralize filter bar props.
* Refactor filter bar query based on PR feedback.
* Update test.
* Fix busted GQL query.
* Update functional test docs to use data without buggy values.
* Update index name in HB functional api test docs.
* Update snapshot base functional test.
* Make snapshot filter tests pass, fix associated bug.
* Configure remaining snapshot e2e tests to work with 7.x data.
* Give better variable names and comments for ugly code.
* Configure ping list query tests to work with updated 7.x data.
* Rename graphql describe block.
* Update monitor status bar query tests to work with updated 7.x data.
* Update monitor list query tests to work with updated 7.x data.
* Update filter bar query to work with updated 7.x data.
* Update error list query to work with updated 7.x data.
* Update doc count fixture to work with new 7.x data.
* Address PR feedback with filter typing to clean up code.
* Add comments based on PR feedback.
* Fix bug introduced in 8856be8e39.
* UI design touchup for 7.0
* clean up chart titles and beta icon
* Make shard list wrap on IE11
* wrap table cells with much content
* fix title height above graphs on ie11
* update tests and snapshots
* update functional test for node detail
* fixing more functional tests
* Addding initial table implimentation
* Moving waffle map to seperate component; adding contextual menu to nodes; adding filter to groups; adding pagination; adding sorting
* Fixing EUI types for EuiInMemoryTable to work for EVERYONE
* Adding server plugin for tslint for VIM; Fixing tests
* Adding the view switcher
* removing dependency
* updating yarn.lock
* Change padding to use EUI rules
* Rename waffle/index to nodes_overview; move table to nodes_overview
* Adding missed files in last commit
* Adding textOnly to the columns that need special truncation because they are buttons
* Fixed an error in the merge
* Fixing merge issues
* Adding flyout to log viewer
* Adding filtering
* Fixing typescript errors
* Adding a test for graphql; fixing test data for 7.0.0
* Adding terminate_after:1 to logItem request
* fixing test data
* Switching back to old data
* Fixing data for tests
* Adding i18n translations
* changing label from add to set
* Make flyout call more robust; fixing typings
* Adding loading screen to flyout
* Fixing linting errors
* Update x-pack/plugins/infra/public/components/logging/log_flyout.tsx
Co-Authored-By: simianhacker <chris@chriscowan.us>
* Fixing visible mis-spelling
* Fixing types
* Change withLogFlyout to be conditional; Add icon instead of onClick for flyout
* Adding dark mode support
* Adding user-select:none to icon div
* Removing remnants of a failed experiment
* Adding aria-label to view details button
* Fixing padding on date element
* Removing unused variable that somehow got past the linters
* Fixing empty_kibana
* Fixing data for infra
* Fixing merge weirdness
* Embed timepicker in query bar (#29130)
* replace kbnTimepicker directive with EuiSuperDatePicker
* remove kbnTimepicker directive
* remove bootstrap datepicker
* embed timepicker in query bar
* flesh out date picker in query bar for maps app
* wire up refresh config
* fix bug with way update function called by watcher
* get maps application functional tests working with new timepicker
* remove some changes outside of scoped work
* clean up typescript lint problems
* fix query_bar I18n lint error
* update query_bar jest test
* grab some parts missing from one cherry-pick
* pass dateRange to updateQueryAndDispatch when app state changes
* use timefilter disable methods to hide timepicker from top naav
* get selected refresh unit
* use EuiSuperUpdate button
* Fix responsive sizing of datepicker (#29)
* set isDisabled on EuiSuperUpdateButton
* review feedback
* remove ts-ignore comment from defaultProps, fix query_bar snapshot
* make new props optional
* fighting with ts linter
* do not include dateRangeFrom and dateRangeTo in isDirty when shoDateRange is not true
* pull initial query from UI settings
* Add new references attribute to saved objects
* Add dual support for dashboard export API
* Use new relationships API supporting legacy relationships extraction
* Code cleanup
* Fix style and CI error
* Add missing spaces test for findRelationships
* Convert collect_references_deep to typescript
* Add missing trailing commas
* Fix broken test by making saved object API consistently return references
* Fix broken api integration tests
* Add comment about the two TS types for saved object
* Only return title from the attributes returned in findRelationships
* Fix broken test
* Add missing security tests
* Drop filterTypes support
* Implement references to search, dashboard, visualization, graph
* Add index pattern migration to dashboards
* Add references mapping to dashboard mppings.json
* Remove findRelationships from repository and into it's own function / file
* Apply PR feedback pt1
* Fix some failing tests
* Remove error throwing in migrations
* Add references to edit saved object screen
* Pass types to findRelationships
* [ftr] restore snapshots from master, rely on migrations to add references
* [security] remove `find_relationships` action
* remove data set modifications
* [security/savedObjectsClient] remove _getAuthorizedTypes method
* fix security & spaces tests to consider references and migrationVersion
* Add space id prefixes to es_archiver/saved_objects/spaces/data.json
* Rename referenced attributes to have a suffix of RefName
* Fix length check in scenario references doesn't exist
* Add test for inject references to not be called when references array is empty or missing
* some code cleanup
* Make migrations run on machine learning data files, fix rollup filterPath for savedSearchRefName
* fix broken test
* Fix collector.js to include references in elasticsearch response
* code cleanup pt2
* add some more tests
* fix broken tests
* updated documentation on referencedBy option for saved object client find function
* Move visualization migrations into kibana plugin
* Update docs with better description on references
* Apply PR feedback
* Fix merge
* fix tests I broke adressing PR feedback
* PR feedback pt2
* Types, and index pattern moved to new format
* fix imports
* API now doing full validation on config blocks
* progress pre-move-blocks to their own api
* Config is now stored as a JSON string keyword to prevent conflict
* New API server is working
* fixing types — progress
* “fixed” all types
* add lib and most adapter methods needed
* wired up more plumbing
* added REST adapter to client for config blocks
* fix some tests
* connect new APIs to beat details page
* fix typo causing several failing tests.
* update test data
* API bug fixes
* fix remaining testing
* revert index name change
* add new routes
* remove whitespace
* fix spelling
* wiring things up and adapting to the new UI
* config block creation works in UI
* config blocks now show up once added
* adding paging to tables
* config list paging works
* version check for UI changes
* fix types
* Update the rest of config UI, still needs create API connection
* create now mass creates tags after tag is created, edit creates and deletes configs in real time
* create config blocks when creating tags
* propperly load tags on their own for beats
* load inital config blocks on edit page
* wired up initial pass at assignable tags
* assignments now work.
* squash many bugs with tag creation, editing, as well as k7 breadcrumbs
* fix label id
* Fix the displaying of module types
* bug fixes for deleting config blocks during initial tag creation
* make name really required on initial walkthrough tag creation
* Fix and enhance deleting a config block from existing tag
* fix memory adapter for configs
* add missing index template field.
* fix issue of empty array in ES
* fix typings
* fix tag not showing up when assigning sometimes
* cleanup
* fix assignment options not always listing avaliable tags. Tag removal now works. Now warns when tag is assigned to beat. Removing a tag removes config blocks on that tag
* fix search bars
* add “other field”
* remove dumb conditional
* use previous ID on configs when updating configs
* deleting tags with config blocks works
* reload beats list after removing a beat
* fix param order for DB adapter
* fix types
* persist config in UI when creating new config blocks on new tags
* Fixed issue with YAML parsing, error editing an output config, and cleaned up a little
* added/enhanced test
* Unlinked deployment working for beats
* Use better constant
* Show N/A for license
* Rename to Unlinked Cluster
* Use callout to mention unlinked cluster
* PR feedback
* Use fragment
* Speed up the query by using terminate_after
* Handle failures more defensively
* Remove unnecessary msearch
* PR feedback
* PR feedback and a bit of light refactor
* Updated text
* Add api integration tests
* Localize call out
* Update loc pattern
* Fix improper i18n.translate usage
* Revert "Fix improper i18n.translate usage"
This reverts commit 0e2e7608c3.
* Revert "Update loc pattern"
This reverts commit cc99fe8a8a.
* Ensure the unlinked deployment cluster counts as a valid cluster
* Sometimes, you miss the smallest things
* Ensure the unlinked cluster is supported, in that users can click the link and load it
* Update tests
* PR feedback. Simplifying the flag supported code and adding more tests
* Update naming
* Rename to Standalone Cluster
* Remove unnecessary file
* Move logic for setting isSupported to exclusively in flag supported clusters code, update tests
* partial progress
* fix routing, account for create flow
* fix test
* fix test
* fix test
* fix next page after delete
* fix test
* indices refs to index_patterns as appropriate
* more refactor and potential test fix
* change more urls
* [dashboard+gis] remove dark mode options
* [reporting/extract] restore fixtures
* remove mentions of old `.theme-dark` class
* import panel styles from panel/_index.scss
* Remove mode.initialize and change useRbacForRequest to useRbac
* Updating saved object api tests
* Fixing spaces api integration tests
* Removing unused "expect legacy forbidden" declarations and imports
* Updating docs
* Update docs/migration/migrate_7_0.asciidoc
Co-Authored-By: kobelb <brandon.kobel@gmail.com>
* Update docs/migration/migrate_7_0.asciidoc
Co-Authored-By: kobelb <brandon.kobel@gmail.com>
* Updating comment that mentions the scenario when we aren't using RBAC
* Adding back the authorization section of the config
When a config setting is marked as unused using the deprecations, it's
still required to show up in the config declarations so an error isn't
thrown on startup.
* Adding note about watcher jobs
* Update docs/migration/migrate_7_0.asciidoc
Co-Authored-By: kobelb <brandon.kobel@gmail.com>
Use a change in geohash precision to determine if data needs to be rerequested, instead of a change in zoom. Also add tests for generic zoom-level change behavior for es_geohash_grids.
* [visualize] update breadcrumbs when updating visualization
* [ftr] auto-scroll elements passed the fixed header if necessary
* [uiSettings] enable the k7design by default
* [ftr/services/flyout] add ensureClosed() and ensureAllClosed()
* [ftr/services/globalNav] implement globalNav service
* [ftr/services/appsMenu] implement service for using app menu
* [ftr/services/userMenu] add service for using user menu
* [ftr/discover+visualize] update assertions that are based on the app width
* [ftr/monitoring] pass test subjects to new breadcrumbs
* [headerGlobalNav] don't offset the app container in embed mode
* update heights for slightly smaller header
* [Maps] handle extent filtering when extent crosses dateline
* ensure lat within range
* use geo_bounding_box instead of geo_polygon since it supports dateline
* add geo_shape functional test
* get functional tests running
* update convertMapExtentToPolygon so its not recursive
* clean up comment
As suggested by @legrego in #28792, this PR adds a config flag to completely disable the welcome screen, which is enabled by the functional test runner to ensure that the welcome screen doesn't pop up.
* [pageObjects/welcome] automatically disable on navigation
* [pageObjects/welcome] disable on beforeTests to not slow down navigation
* [ftr/services/welcome] also disable welcome after logout
* [ftr/services/welcome] revist home after disabling welcome