Fixes following cases:
Saving dashboard with pinned filter unpins it. Do not save pinned filters with dashboard see #62301 (comment)
When navigating with global filter to dashboard with same saved filter, filter becomes unpinned
When navigating from listing to dashboard with saved filter, back button didn't work
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Added UI for pre-configured connectors.
* fixed due to comments
* Fixed jest tests
* Fixed due to comments and added some functional tests
* test fix
* Fixed failed checks
* Fixed functional tests failing
* bc6 rule import april 9
Increased the lookback of the ML rules
* re-import
with LF chars
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Link ML Rule card CTA to license_management
Taking the user directly to the license management page within kibana
(where they could immediately start a trial subscription) is much more
actionable than taking them to the subscriptions marketing page.
* Revert translation key change
Neither of these is totally accurate, and there've already been
translations written for the old one.
* Closes#56310
Move shared vislib components into Charts plugin
* Fixed imports in tests
* Changed i18n IDs to match charts namespace
* Renamed ColorSchemaVislibParams to ColorSchemaParams, added enums and got rid of useValidation function
* Renamed ColorSchemaVislibParams to ColorSchemaParams and got rid of useValidation function
* Fixed merge conflict
* Replaced enums with objects again
* Move XJson to x-pack/es_ui_shared
Also convert files to TS and clean up use of @ts-ignore
* Move console_lang to public
* Proper use of mocks
* Globally mock out .ace.worker.js modules
Having worker code exported in `public` of es_ui_shared poisoned
a lot of Jest tests with the need to mock out the ace worker.
Instead of adding mocks everywhere we handle the importing in
Jest by adding an entry to module mapper.
* Remove manual imports of mocks
* Delete es_ui_shared/public/mocks for now
* Put useXJson code in single place
* Import and instantiate xJsonMode
* Remove language mocks imports
Besides the fact that these paths are wrong these are no longer
needed because we mock at use Jest module mapper
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Preserve the watch active status after updates
* Use route validation params to set isActive
* Fix Jest test
* Implement PR feedback
- Make the isActive flag required on the save watch endpoint
- Move the isActive state to base_watch and serialize from
there.
* Fix Jest tests
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Rename IndexMgmtSetup to IndexManagementPluginSetup.
* Remove unused fetch index template route and related tests.
* Remove unnecessary custom styles.
## Summary
Adds a single line to work with ts config optimizers. What is happening is that this is relying on an import from here:
```
x-pack/legacy/plugins/apm/public/utils/testHelpers.tsx
```
when really it should be isolated and imported within this file.
Testing is just to go to siem and run these commands:
```ts
cd /projects/kibana
node x-pack/legacy/plugins/siem/scripts/optimize_tsconfig.js
node scripts/type_check.js --project x-pack/tsconfig.json
```
Ensure you don't see any errors.
* [TSVB] Add Rate to Aggregations
* Fixing i18n labels
* Changing from rate to growth_rate; adding message to aggregation form;
* Change units to scale; change free text to combobox
* Fixing placeholder
* Fixing i18n label
* Changing from Growth Rate to Positive Rate
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Adds a new config flag to encode with BOM for our CSVs
* Push out bom-chars to it's own constant
* Getting those snapshots back into shape 💪
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Update epm copy to say Integrations
* Update copy in create data source flow
* Update copy in data sources table
* Fix missed copies
* Remove unused translation keys (they were renamed & strings were changed)
* Move buildHierarchicalData to vislib
* Move shortened version of buildPointSeriesData to Discover
* Move buildPointSeriesData to vis_type_vislib
* Convert unit tests to jest
* Remove ui/agg_response
* Convert point_series files to TS
* Update TS in unit tests
* Convert buildHierarchicalData to TS
* Convert buildPointSeriesData to TS in Discover
* Clean TS in Discover
* Update TS for buildHierarchicalData
* Update buildHierarchicalData unit tests
* Clean up TS in point_series
* Add unit tests fro response_handler.js
* Simplify point_series for Discover
* Return array for data
* Add check for empty row
* Simplify point_series for Discover
* Return all points
* Specify TS
* Refactoring
* Simplifying
* improve types
* Update _get_point.test.ts
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
* Add LinktoApp to host details for logs
* initial setup for testing link on details
* Export interface AppContextTestRender for reference in tests
* Refactor hosts tests to use AppContextTestRender
* Render full details and validate link to logs
* one more test to ensure we navigate to app (not full page refresh)
* Fixes post master merge
* changed PACKAGES_SAVED_OBJECT_TYPE id from packageName-version to packageName
* change references to keys to package and version
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>