grafana/scripts
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
..
build Chore: Bump golangci-lint v1.57.1 (#84998) 2024-03-25 15:28:24 +01:00
cli Chore: change bettererResultsToJSON format (#86381) 2024-04-17 11:51:18 +02:00
codemods Frontend: Improve barrel file detection in codemod (#87389) 2024-05-09 10:49:47 +02:00
docs Fix typo in dashboard-variables destinations and also use Grafana Cloud docs if they exist (#89244) 2024-06-14 17:27:22 +01:00
drone CI: Consolidate package and docker steps (#95375) 2024-10-25 09:25:29 -05:00
go/bin Remove integration tags for enterprise (#50974) 2022-06-22 15:22:42 +02:00
go-workspace Chore: Bump Go to 1.23.1 (#93007) 2024-09-06 20:58:50 +03:00
grafana-server Test plugins: Add datasource test plugin with field tests (#95472) 2024-11-01 08:25:27 +01:00
helpers Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
modowners Chore: Replace backend platform codeownership (#86010) 2024-04-19 19:12:59 +02:00
openapi3 openapi: Use indentations for human-readable JSON (#53707) 2022-08-15 15:39:18 -04:00
tests Tests: Isolate script tests to prevent jest errors locally (#84881) 2024-03-21 12:36:37 +02:00
verify-repo-update Chore: Update ubuntu image to 22.04 (#70719) 2023-09-28 08:48:41 -05:00
webpack Explore Metrics: Introduce augurs sorting options in breakdown view (#91189) 2024-11-05 08:34:09 +01:00
benchmark-access-control.sh Access control: Basic structure and functionality behind feature toggle (#31893) 2021-03-22 13:22:48 +01:00
check-breaking-changes.sh Fix levitate detect breaking changes pipeline not sending slack messages (#94482) 2024-10-09 17:43:30 +02:00
ci-frontend-metrics.sh Chore: Add tracking for total number of scss files (#87259) 2024-05-02 19:10:31 +03:00
ci-job-failed.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
ci-job-started.sh Build: Reports times and outcomes from CircleCI jobs (#20474) 2019-11-20 07:21:07 +01:00
ci-job-succeeded.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
circle-test-backend.sh Chore: Upgrade to Go 1.14 (#23371) 2020-04-08 14:13:05 +02:00
circle-test-cache-servers.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
circle-test-frontend.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
circle-test-mysql.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
circle-test-postgres.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
clean-git-or-error.sh Do codegen and check no-diff of all (non-blacklisted) CUE->TS codegen during CI (#39922) 2021-10-08 08:47:55 -04:00
cleanup-husky.sh Chore: Replace Husky/Lint-staged with Lefthook (#66608) 2023-08-17 09:56:52 +00:00
generate-a11y-report.sh Chore: Fix ShellCheck issue in the local a11y report (#55036) 2022-09-12 16:54:06 +02:00
generate-alerting-rtk-apis.ts Alerting: Support k8s templates API (#92112) 2024-10-02 17:14:54 +02:00
generate-icon-bundle.js Grafana UI: Make it possible to bundle package with plugins (#76191) 2023-10-13 14:11:41 +02:00
generate-rtk-apis.ts CloudMigrations: Add support for migration of Library Elements (Panels) resources (#93898) 2024-10-03 11:54:54 +02:00
import_many_dashboards.sh ci-build: spelling (#24386) 2020-05-18 16:41:06 +03:00
levitate-parse-json-report.js Plugins: Fix levitate detailed report and improve error treatment (#91617) 2024-08-08 11:20:58 +02:00
levitate-show-affected-plugins.js Plugins: Fix big query credentials and improve detailed report errors (#92373) 2024-08-26 13:46:24 +02:00
list-release-artifacts.sh Area Build/Packaging: release process - remove image check for armhf rpm no longer being built (#82406) 2024-02-15 09:10:08 -05:00
mixin-check.sh Add monitoring mixing for Grafana (#28285) 2020-10-15 17:05:56 +02:00
prepare-packagejson.js Build: Adds a fallback script to fix package.json main and types fields before packaging (#59628) 2022-12-01 11:34:52 +01:00
protobuf-check.sh Chore: Migrate to use buf for protobuf generation (#87407) 2024-05-08 15:42:40 +02:00
publish-npm-packages.sh E2E Selectors: Add 'modified' dist-tag when release includes actual changes (#93813) 2024-10-23 15:47:50 +02:00
stripnulls.sh Actually enforce dashboard schema on devenv (#53797) 2022-08-16 22:07:57 -04:00
tag_release.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
trigger_docker_build.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
trigger_grafana_packer.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
trigger_windows_build.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
validate-npm-packages.sh CI: Assert NPM package types are bundled correctly (#95533) 2024-10-31 14:29:21 +01:00