grafana/public
ismail simsek 19c7e1f376
Chore: Refactor explore metrics breakdown scene (#93368)
* refactor breakdown scene

* refactor BreakdownScene along with LayoutSwitcher

* rename

* don't pass default layout

* better type handling

* betterer

* add @bsull/augurs

* implement LabelBreakdownScene

* integrate SortByScene in LabelBreakdownScene

* move to new directory

* introduce BreakdownSearchScene

* integrate searchScene

* cleaning

* initialize @bsull/augurs

* add interaction

* use new breakdown scene

* resolve merge conflicts

* ugrade @bsull/augurs

* update import

* update css

* update tooltip text

* refine sorting

* fix unit test

* fix

* implement outlier detector

* support wasm

* jest testing fix

* localization fix

* use unknown instead of any

* update i18n

* update betterer

* fix locales

* update test

* fix tests maybe

* prettier

* chore: update jest config

* chore: create mock for @bsull/augurs (#92156)

chore: create mock for bsull/augurs

@bsull/augurs assumes it will be running as an ESM, not
a CommonJS module, so can't be loaded by Jest (specifically
because it contains a reference to import.meta.url).

This PR provides a mock implementation which gets tests passing
again.

Ideally we'd be able to load the actual @bsull/augurs module
in tests so this is just a stopgap really, until a better
solution appears.

* fix unit tests

* remove unused BreakdownScene.tsx

* set outliers as undefined if an error occurs

* Add labels

* betterer

* reset event implemented

* fix controls positioning

* remove sorting

* fix type guard

* more clean up

* remove wasm support from webpack

* betterer

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
Co-authored-by: Ben Sully <ben.sully@grafana.com>
2024-09-20 10:22:34 +02:00
..
app Chore: Refactor explore metrics breakdown scene (#93368) 2024-09-20 10:22:34 +02:00
dashboards Elasticsearch: Add error source for DataQuery (#77386) 2023-11-06 11:36:39 +01:00
emails EmailVerification: Generate emails after rename (#85175) 2024-03-26 15:50:11 +01:00
fonts Chore: Update Inter font files (#82446) 2024-02-14 16:57:02 +00:00
gazetteer Geomap: Add more countries ISO 3166 Alpha-3-code to the gazetteer/countries.json (#75311) 2023-11-06 10:08:33 -08:00
img SharePanel: Add icons to panel options Share and More (#92622) 2024-09-06 12:25:35 -05:00
lib Monaco Editor: Load via ESM (#78261) 2024-02-22 12:31:40 +01:00
locales Chore: Refactor explore metrics breakdown scene (#93368) 2024-09-20 10:22:34 +02:00
maps Geomap: Support geojson styling properties (#80272) 2024-01-20 02:55:17 +02:00
sass Chore: migrate _grid SCSS styles to emotion globals (#92986) 2024-09-05 16:39:12 +01:00
swagger Chore: Improve typings (#93180) 2024-09-11 09:30:33 +01:00
test Chore: Improve typings (#93180) 2024-09-11 09:30:33 +01:00
vendor Plugins: Allow loading panel plugins from a CDN (#59096) 2023-01-27 15:08:17 +01:00
views A11y: Fix some accessibility issues on the build error page (#92691) 2024-08-30 13:42:45 +01:00
api-enterprise-spec.json API keys: Return 410 Gone status from POST /auth/keys endpoint (#92965) 2024-09-05 13:10:24 +03:00
api-merged.json CloudMigrations: remove unused code from sync migration approach (#93430) 2024-09-20 08:58:11 +02:00
openapi3.json CloudMigrations: remove unused code from sync migration approach (#93430) 2024-09-20 08:58:11 +02:00
robots.txt