grafana/public/test/mocks
ismail simsek bcdcb1f74b
Explore Metrics: Introduce augurs sorting options in breakdown view (#91189)
* 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

* update augurs

* betterer

* i18n

* conflict fixes

* update texts

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
Co-authored-by: Ben Sully <ben.sully@grafana.com>
2024-11-05 08:34:09 +01:00
..
augurs.ts Explore Metrics: Introduce augurs sorting options in breakdown view (#91189) 2024-11-05 08:34:09 +01:00
dashboard-mock.js DashboardSchema: Remove old unused legacy props style and timepicker.enable (#73879) 2023-08-28 12:18:17 +02:00
datasource_srv.ts QueryVariableEditor: Select a variable ds does not work (#83144) 2024-02-21 17:57:53 +02:00
getGrafanaContextMock.ts Frontend: Reload the browser when backend configuration/assets change (#79057) 2024-01-04 08:00:07 +01:00
i18nMessages.ts I18N: Add Lingui core translation framework. (#41827) 2021-12-15 17:00:37 +01:00
navModel.ts Chore: Clean up NavModel interface (#66548) 2023-04-17 16:01:32 +01:00
nearMembraneDom.ts Plugins: Add Initial implementation for frontend plugins sandboxing (#68889) 2023-06-05 10:51:36 +02:00
query.ts Explore: Support mixed data sources for supplementary query (#63036) 2023-03-07 15:00:11 +01:00
react-inlinesvg.tsx React: Use new JSX transform (#88802) 2024-06-25 12:43:47 +01:00
style.ts Panel Inspect: use monaco for json display (#25251) 2020-06-29 10:58:47 -07:00
svg.ts Transforms: Adds beta notice and updates transform descriptions (#24158) 2020-05-04 15:05:31 +02:00
systemjsAMDExtra.ts Plugins: Bump SystemJS to 6.14.2 (#70068) 2023-08-31 15:45:44 +02:00
workers.ts Nodegraph: Fix issue with rendering single node (#84930) 2024-03-26 13:43:43 +01:00