grafana/public/test/mocks
Jack Westbrook 0dcdfc261b
Monaco Editor: Load via ESM (#78261)
* chore(monaco): bump monaco-editor to latest version

* feat(codeeditor): use esm to load monaco editor

* revert(monaco): put back previous version

* feat(monaco): setup MonacoEnvironment when bootstrapping app

* feat(monaco): load monaco languages from registry as workers

* feat(webpack): clean up warnings, remove need to copy monaco into lib

* fix(plugins): wip - remove amd loader workaround in systemjs hooks

* chore(azure): clean up so QueryField passes typecheck

* test(jest): update config to fix failing tests due to missing monaco-editor

* test(jest): update config to work with monaco-editor and kusto

* test(jest): prevent message eventlistener in nodeGraph/layout.worker tripping up monaco tests

* test(plugins): wip - remove amd related tests from systemjs hooks

* test(alerting): prefer clearAllMocks to prevent monaco editor failing due to missing matchMedia

* test(parca): fix failing test due to undefined backendSrv

* chore: move monacoEnv to app/core

* test: increase testing-lib timeout to 2secs, fix parca test to assert dom element

* feat(plugins): share kusto via systemjs

* test(e2e): increase timeout for checking monaco editor in exemplars spec

* test(e2e): assert monaco has loaded by checking the spinner is gone and window.monaco exists

* test(e2e): check for monaco editor textarea

* test(e2e): check monaco editor is loaded before assertions

* test(e2e): add waitForMonacoToLoad util to reduce duplication

* test(e2e): fix failing mysql spec

* chore(jest): add comment to setupTests explaining need to incresae default timeout

* chore(nodegraph): improve comment in layout.worker.utils to better explain the need for file
2024-02-22 12:31:40 +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 Icon: Simplify and remove wrapping <div> (#76819) 2023-10-24 12:16:32 +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 Monaco Editor: Load via ESM (#78261) 2024-02-22 12:31:40 +01:00