Commit graph

23 commits

Author SHA1 Message Date
Cauê Marcondes d8b4472a72
[Observability] Persist time range across apps (#79258)
* using kibana persisted date when available to set the date time

* fixing types

* adding setTime when changin the dates in the url

* renaming

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 13:29:15 +02:00
Shahzad de130abfbc
[UX] Add core web vitals in obsv homepage (#78976) 2020-10-05 19:15:13 +02:00
Cauê Marcondes eebe4ad648
[Observability] Kibana nav when docked overlaps the content of the pages. (#78593)
* adding padding left

* adding space left to appSection
2020-09-30 14:16:16 +02:00
Nathan L Smith 564a7b1a17
Storybook 6 and config changes (#75357)
Upgrade to Storybook 6 and attempt to use the declarative configuration.

The goals of this PR (as part of Kibana's Storybook roadmap, are:

Upgrade to Storybook 6
Still allow running Storybooks with yarn storybook plugin_name
Use the declarative configuration to (hopefully) make the configuration simpler to use an easier to understand, as well as avoiding deprecation warnings and loss of future compatibility
The ways in which what I have so far differs from how we do things today are:

In the alias configuration it takes a path to a storybook configuration directory instead of the storybook.js file from before
Each plugin (it doesn't have to be a plugin; can be any directory) has a .storybook/main.js (the aliases file in @kbn/storybook specifies these locations) where they can define their Storybook configuration. You can require('@kbn/storybook').defaultConfig to get defaults and override them
@kbn/storybook has a preset that can provide Webpack and Babel configuration and Storybook parameters and decorators
Instead of dynamically creating the list of stories to import, we define them in the globs of the stories property in .storybook/main.js.
Do not build a DLL. We are using @kbn/ui-shared-deps as externals. Startup time is not quite as fast but still acceptable.
Other things done in this PR:

Allow default exports in .stories. to allow for Common Story Format CSF stories
Add guard in Webpack configuration needed for overriding CSS rules
Update filename casing check to allow for files with required names in Storybook
Clean up observability stories
Rename *.examples.tsx and *.story.tsx to *.stories.tsx
2020-09-29 19:34:05 -05:00
Cauê Marcondes 0cf3bf2731
[Observability] Collect UI telemetry (#78258)
* adding telemetry to obs pages

* adding telemetry to obs pages

* increasing delay
2020-09-23 15:44:40 +02:00
Cauê Marcondes 4ec42d45d2
[OBS] Remove beta badge, change news feed size and add external icon to news feed link (#77164)
* removing beta badge

* change news feed size and adding external icon

* fixing i18n

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 14:19:26 +02:00
Shahzad ce8a92ea1f
[Observability Homepage] Fix console error because of side effect (#75258) 2020-08-18 14:07:18 +02:00
Nathan L Smith 4b4050c8db
APM and Observability storybook fixes (#75168)
In APM:

* Fix stories crashing with errors
* Hide some additional prop tables
* Fix node severites story to show correct node severites
* Fix Service Map Popover story
* Use knobs on sync badge story

In Observability:

* Remove an extra stray paren in decorators

There's additional refactoring and fixes that can be done but this just gets everything in working order.
2020-08-17 14:33:00 -05:00
Cauê Marcondes fc04ef9152
Observabilty overview APM section doesn't fully collapse (#74224) 2020-08-04 12:46:49 +02:00
Nathan L Smith d3ddcd2027
[APM] APM & Observability plugin lint improvements (#72702)
* [APM] APM & Observability plugin lint improvements

This is a large change, but most of it is automatic `eslint --fix` changes.

* Apply the same ESLint ovderrides in APM and Observability plugins.
* Remove the `no-unused-vars` rule. We can turn on the TypeScript check if needed.
* Check both JS and TS files.
* Add a rule for react function component definitions
* Upgrade eslint-plugin-react to include that rule
2020-07-27 08:18:36 -05:00
Cauê Marcondes 7cee2a6b15
[Observability] Remove app logos (#72259)
* removing app logos

* fixing TS error
2020-07-20 10:25:39 +02:00
Cauê Marcondes 0cb2062831
[Observability] not showing empty state when apps return hasData false (#71844)
* show empty state when has data returns false

* adding return type

* addressing pr comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-16 16:48:12 +02:00
Cauê Marcondes 77d6c4e5fe
[Observability] Update empty state links (#72025)
* changing links

* changing title
2020-07-16 14:18:01 +02:00
Cauê Marcondes 7243e97883
[Observability] Landing page: Add promo panel for Ingest Manager (#71213)
* adding ingest manager panel

* adding ingest manager panel

* changing url

* removing git conflicts
2020-07-14 18:59:46 +02:00
Cauê Marcondes 3374b2d3b0
[Observability] Change appLink passing the date range (#71259)
* changing apm appLink

* changing apm appLink

* removing title from api

* adding absolute and relative times

* addressing pr comments

* addressing pr comments

* addressing pr comments

* fixing TS issues

* addressing pr comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-14 11:05:48 +02:00
Brandon Morelli 005128c223
[APM] UI text updates (#71333) 2020-07-10 12:07:49 +02:00
Cauê Marcondes 0f09f6b140
[Observability] illustration for landing page (#71217)
* changin illustration

* renaming files

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-09 20:41:36 +02:00
Cauê Marcondes 14752eafa7
[Observability] Fetch news feed (#71212)
* adding new feed

* adding log when an error happens

* fixing translations

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-09 19:13:07 +02:00
Cauê Marcondes 203fde92ac
Observability overview page (#69141)
* creating overview page and menu

* styling the home page

* adjusting breadcrumb

* renaming isnt working

* renaming isnt working

* renaming isnt working

* fixing import

* fixing scroll when resize window

* fixing eslint errors

* prepending links

* adding target option

* refactoring

* adding dark mode support

* fixing prettier format

* fixing i18n

* reverting some unnecessary changes

* addressing PR comments

* fixing functional tests

* ordering observability menu

* fixing tests

* addressing PR comments

* fixing scroll

* addressing pr comments

* addressing pr comments

* creating overview page

* mocking data

* mocking data

* refactoring

* crearting apm chart

* adding overview page

* adding metric charts

* adding charts

* changing mock data location

* adding mock registry

* adding date picker

* adding route validation

* adding io-ts

* adding io-ts

* adding io-ts support

* fixing imports and mock data

* adding app folder

* creating a section for each plugin

* adding stats

* adding domain min max

* refactoring xcoordinaters

* fixing route

* adding bucket size

* adding group property on logs

* adding home page

* dont break page if location  state is undefined

* each component fetches its own data

* Refactoring

* adding loading indicator to chart

* fixing uptime chart

* adding brush functionality to charts

* fixing refresh button and auto refresh function

* adding horizontal line to accordion section

* adding emptySection to dashboard page

* adding add data button

* adding resources section

* removing margins from horizontal rule

* changing min interval to 60s

* fixing empty section

* removing unnecessary code

* adding unit tests

* fixing imports

* adding initial story book for observability

* removeing uptime mock data

* fixing xDomain to show correct data on x-axis

* fixing empty state alignment

* adding story book and other improvements

* adding news component

* adding support to custom colors on EuiProgress and EuiStats

* removing infra mock data

* adding error message when api throwns an error

* adding alert section

* Adding alerts

* adding alert api call

* addressing PR comments

* adding storybook

* adding feedback button

* addressing PR comments

* chamging plugins return data

* fixing kibana app navigation

* fixing unit test

* fixing ts issues

* addressing PR comments

* using lodash truncate

* adding comment

* updating public documentation

* fixing alerts request

* fixing unit test

* fixing unit test

* aligin beta badge to the center

* adding moment duration to get the units as seconds

* addressing PR comments

* addressing PR comments
2020-07-08 21:52:16 +02:00
Brandon Morelli e2ab94060a
[Obs] Update Observability landing page text (#69727) 2020-06-23 17:22:32 -07:00
Cauê Marcondes b42defa37e
[Observability] Update landing page copy and content (#69247)
* removing try it section

* removing try it section
2020-06-16 17:17:17 +02:00
Cauê Marcondes 00cff3cd7e
Adding key to avoid react warning (#68491) 2020-06-08 13:03:05 +02:00
Cauê Marcondes 07e3c9cb41
[Observability] Landing page for Observability (#67467)
* creating overview page and menu

* styling the home page

* adjusting breadcrumb

* renaming isnt working

* renaming isnt working

* renaming isnt working

* fixing import

* fixing scroll when resize window

* fixing eslint errors

* prepending links

* adding target option

* refactoring

* adding dark mode support

* fixing prettier format

* fixing i18n

* reverting some unnecessary changes

* addressing PR comments

* fixing functional tests

* ordering observability menu

* fixing tests

* addressing PR comments

* fixing test

* fixing scroll

* addressing pr comments

* addressing pr comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-08 09:07:35 +02:00