* Move files to TS files
* Fixes the React warning message
* Strongly type the actions and the middleware
* Adds tests for in_flight middleware
* Clean up
* Ignore non-ts file
* Initial work converting UI to use new server side APIs
* Remove missed file
* Fix jest tests
* Code cleanup pt1
* Fix file casing
* Fix jest tests
* Modify UI to support including nested references
* Fix button layout
* Connect includeReferencesDeep, remove references_missing_references logic
* Fix broken tests
* Cleanup
* Display success notifications and auto close modals on export
* More code cleanup
* Log to server when user imports using legacy .json file
* Final cleanup
* Update test snapshots to match updated text
* Apply PR feedback pt1
* Remove isLoading and wasImportSuccessful state variables, use single status variable instead
* Move business logic out of flyout component
* Apply PR feedback
* Update wordings
* Remove custom date picker for Metrics page, replace with EuiSuperDatePicker. Remove redux-observable for metrics-time state, replace with hooks.
Pass through refreshInterval and set it as part of the startMetricsAutoReload action
Refactor metric time controls to use EuiSuperDatePicker
Remove redux / redux-observable usage for MetricsTime, replace with hooks
Add useInterval hook and hook up to auto reloading
Add refresh interval support to the URL
Use more concise syntax
Add small styling
Add tests for metric_time
Add extra test
Add correct typings
Update time range immediately when auto reload is turned on (so we don't wait for the first interval to elapse)
Use stricter typing
Remove custom date range picker
Amend translations after removing custom date range picker
* Amend test for CI sensitivity
* Amend test assertions
* DRY up with useCallback
* Fix: wait for DOM element to exist
* Fix: add the missing retry in the other branch too
* Fix: clear timeout
* Perf: avoid an extra async step
* Chore: remove unused static props and explicitly initialize them via the constructor
* Creates new LocationContext and useLocation hook
* Re-structures Discover links
* Re-structures ML job link, cleans up discover link changes
* Removes unused components and props
* Adds separated APM and Kibana link components
* Adds InfraLink component
* Adds integration link tests for new link components
* Moves unshared getSearchWithCurrentTimeRange into APMLink component where it is used
* Moves persistent APM params out of the generic url helpers util
* Refactoring rison more
* Clarifies interface names for rison
* Removes risonStringify helper
* Changes link components to inline function exports with manually created component type
* Consolidate APM href generation in one place
* Re-ordered imports for linting
* Updates breadcrumb snapshots now that they include default values
* Adds trace logs link to action menu
* Updates tests
* Fixes time range values for action menu links
* Relaxes type checking on query param object to allow for outgoing links
* Revert unnecessary rison changes after realizing infra links do not accept rison
Previously, the `theme:darkMode` and `dateFormat` settings were only read once, which made them susceptible to race conditions during initialization. This introduces and uses a new `useKibanaUiSetting` hook to reactively consume the settings.
* Moved doc table to kibana/discover
* moved doc viewer to Kibana app (used by docs and discover)
* Moved
- saved object finder
- paginated selectable list
from partiasls to directives/partials
* Moved paginate controls directive to directives/partials
## Summary
This PR adds types to Renderers and the DropdownFilter. It also adds snapshots and stories for DropdownFilter. This change also includes better `recompose` typings.
<img width="1439" alt="screen shot 2019-01-24 at 5 53 57 am" src="https://user-images.githubusercontent.com/297604/51674396-80efbe00-1f9e-11e9-9ad9-d63b1ec51dbd.png">
## Bugs Found and Resolved
- `AdvancedFilter` renderer never successfully passed a selected `filter` value.
- `DropdownFilter` CSS did not constrain the dropdown arrow. Without a `relative` positioned parent, the arrow would end up in the top-right of the screen.
- `DropdownFilter` had several [shadowed variables](https://palantir.github.io/tslint/rules/no-shadowed-variable/).
- `DropdownFilter` logic has several improvements, including creation of options and order of inclusion
* [Maps] replace jquery_ui_sortable with EUI Drag And Drop
* minor clean up
* fix drag and drop skipping
* add jest snapshot test for LayerTOC
* extract EuiDraggable list to js variable
* more unique droppableId
* update jest snapshot
* uptime design cleanup
* uptime design cleanup
* test
* errorlist now styled
* errorlist now styled
* errorlist now styled
* cleanup
* replace color vars with correct naming
* some titles
* more cleanup
* clean up silly gray graph
* Address problems with UI update.
* Refresh jest snapshots.
* Fix busted types.
* Refresh jest snapshots broken by busted type fix.
* Rename duplicate localization key.
* Use same curve type for both check series on monitors page.
* Remove unused translations.
* Display name instead of ID in ErrorList component.
* Update x-pack/plugins/uptime/public/components/functional/ping_list.tsx
Co-Authored-By: snide <dave.snider@gmail.com>
* Update x-pack/plugins/uptime/public/components/functional/ping_list.tsx
Co-Authored-By: snide <dave.snider@gmail.com>
* Modify updated code to avoid flooding console log with errors.
* Get functional and unit tests passing.
* Fix busted unit test.
* Update jest snapshots.
* Add panel to empty state.
* Avoid rendering monitor list sparkline charts when downSeries has no values.
* Remove crosshair synchronization from monitor charts because of display bug. Provide default 0 value to series for check chart.
* Fix broken snapshot.
* Update monitor list and errors list to handle simple_query_string filters.
* Make FilterBar component incremental to avoid overwriting queries that are in progress of being edited.
* Update histogram query to support simple_text_query.
* Delete hardcoded height prop that was breaking UI in mobile-sized windows.
* Fix bug in check histogram function and add tests.
* Update API tests and functional UI tests.
* Fix type error in test file.
* Last few fixes
- Center empty prompt
- remove crosshairs from sparkline
- reconcile styles of text in table
* Update snaps
* WIP.
* Update snapshot query to avoid Apollo Query class and allow manual fetching.
* Update SnapshotLoading component to better reflect the actual shape of the Snapshot component.
* Introduce HOC to manage GraphQL querying.
* Remove unneeded code.
* Update monitor page query components to use new query paradigm.
* Remove remaining references to apollo query component.
* Update filter bar snapshot.
* Update empty state.
* Fix busted type in test.
* Update schema type to avoid server error.
* Remove obsolete translations.
* Remove more obsolete translations.
* Remove obsolete code from Snapshot component. Rewrite graphql HOC with hooks.
* Change loading state condition for filter bar.
* Simplify app refresh process.
* Update loading state for several components to avoid unnecessary renders.
* Add default sort order for getAll pings function.
* Add translation to bare UI string.
* Update API fixtures to handle new default sort direction.
* Fix type errors.
* Remove unused import.
* Change the way component passes children prop.
* Fix typing error.
* Modify import APIs to handle special use cases from the previous import process
* Cleanup
* Add more examples to the docs
* Make title come from data inside file
* Fix some broken tests
* Fix docs
* Fix docs wording
* Apply PR feedback pt1
* Apply PR feedback pt2
* Delete dirty prompt
* Moved check box directive
* Move kbn tooltip directive to watcher
* Moved toggle directives to watcher
* Moved json input directive to watcher
* Moved sortable column to watcher
* Fixed sortable column translations
* Remove kbn src directive (unused)
* Moved table cell directive to paginated table
* Moved number list into agg types
* Moved
- agg table
- paginated table
to table_vis plugin
* Moved draggable to vis editor
* Moved sort_prefix_first filter to agg types
* Now actions from dashboard/discovery/visualize listing table is screenreader accessible
* passing screen title to search_bar compoenent
* remove screen title from URL state
* removed obsolete translation for Asian language