* [Reporting/NPMigration] typescriptify ExportTypeRegistry, remove from server.expose
* Minor routes registration cleanup
* move the ETR test file
* Re-pack the route registration, reduce LOC changes
* add EnqueueJobFn type
* Fix usage collector test
* remove a throw error used for development/debugging
* fix imports error
* Fix execute job tests
* wip test fixes
* test fixes for real
* fix more tests
* fix diffs
* Add TODOs about the ExportTypesRegistry.register unwrap the factory functions.
* really make headlessbrowserdriver required as an execute job factory option
* fix tests
* Use constants for license type keywords
* [kbn/dev-utils] target ES2019 to transpile ??
* Retry uiSettings.replace() calls up to 5 times
* share logic for selecting junit report name to ensure they are unique
* convert to junit report path helper
* adds route for querying signals index, also updates signal status type names
* first pass at happy path tests
* fixes stuff after rebase with master
* utilizes removes search_query from payload and replaces it with just query, adds aggs to signals search api, updates route and validation tests
* removes _headers parameter from route handler and updates comment for aggs script
* Fix broken aria references
`EuiDescribedFormGroup` needs an actual header in its `title` for it to
make a correct `aria-labelledby`.
* Fix `aria-labelledby` references in settings page
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* First iteration of watch public -> new platform
Still need to switch to np ready version of use_request
* - Switched to using np ready request
- Some updates after API changes
* First attempt at server shim
* Rename file and re-enable react hooks linting
* Fix some public types and react hooks lint rules
* Fix types
* More ES lint react hooks fixes
* Migrated server lib -> ts. Part way done with migrating routes to NP router and TS
* Big subset of routes to TS and NP router - almost there
* Delete legacy error wrappers and moved last set of routes to TS and NP router
* Remove @ts-ignore's and update route registration to use shim with http router
* Added routes validations, fixes for hooks and fixes for types
* Fix more types and finish testing API routes
* Fix usage of feature catalogue and fix time buckets types
* Fix error message shape [skip ci]
* Split legacy from new platform dependencies server-side
* Refactor: Seperate client legacy and NP dependencies
* Add file: added types file
* Fix UISettings client type import
* Update license pre-routing factory spec
* Update variable names, use of I18nContext (use NP) and docs
* Use NP elasticsearchclient
* Simplify is_es_error_factory
* Fix types
* Improve code legibility and remove second use of `useAppContext`
* Use @kbn/config-schema (not validate: false) on routes!
* Fix watch create JSON spec
* Create threshold test working
* Unskip watch_edit.test.ts
* Unskip watch_list.test.ts
* Done re-enabling component integration tests
* TimeBuckets typo + remove unnecessary // @ts-ignore
* [APM] Fix some warnings logged in APM tests
(Seemingly) since the React upgrade in 439708a6f9, our tests have started logging various warnings/errors to the console. The test suite is still passing but it creates a lot of noise.
Changes:
- use `act` or `wait` when appropriate
- mock useFetcher calls
- cleanup in useDelayedVisbility
* Replace tick() with wait()
* Prototyping adding Visualization to Dashboard
* i18n fixes
* Remvoing dashboard empty screen directive
* Updating test for empty dashboard screen
* Removing unused state variable
* Adding a test for DashboardViewPort
* i18n & minor fixes
* Fixing fullscreen mode view
* Fixing failing functional test (hopefully)
* Minor style fix
* Fixing EUI text, rendering empty screen OR the panels
* Fixing empty screen in fullscreen mode
* Update snapshot
* Trying to render empty screen from Angular controller
* refactor: 💡 don't pass renderEmpty through inputs
And make sure isEmptyState is not stale.
* Fixing tests after Vadim's commit
* Removing unnecessary isEmptyStateProps
* Skipping failing test
* Removing unnecessary en.json file
* Re-adding emptyState, reintroducing functional test
* Fixing ja-JP file
* Undoing my thing to the functional test
* WiP, lotta broken things, working through new editor.ts
* RowParser -> TS
* Utils to TS and regular module
* Finished first version of core & sense editor wrappers. Tokenizer provider test working. Still need to delete some files
* WiP - moved A LOT of code around and busy fixing sense-editor tests
* Fix sense editor test
* Clean up mocks
* Moved A LOT of code out of quarantined.
Still working on sense editor's integration test
Not running yet.
* WiP still finishing up manual testing
* Fix use of Ace Range and fix open documentation
* Move out of quarantined!
* Remove load remote editor state for now
* - fix use of token iterator
- remove ace ranges from sense editor spec and fix spec 🤦
* Address getSelectionRange document TODO
Clean up use of jquery
Remove use of `done` inside async tests (input_tokenization.test.js)
Capitalize elasticsearch
Introduce helper for converting to AceRange inside legacy core editor
Update typings
Clean up imports
Cleaner variable assignment
* Update src/legacy/core_plugins/console/public/np_ready/application/models/sense_editor/curl.ts
Co-Authored-By: Rory Hunter <pugnascotia@users.noreply.github.com>
* Remove commented-out code
lib/utils.js -> lib/utils.ts
Rename engulfling range (sense_editor)
* Rename format request function
* utils.ts default export usage cleanup
* Update replace regex and add another utils test
* Remove legacy replace behaviour
* Fix typo in comment