* Resizeable SQL expressions text-area
Generated by an LLM for me - we'll see. It expands quite large on first
page-load
* Switch to useLayoutEffect to avoid visual flashing
* Get the LLM to rewrite the approach, inspired by InfluxDB
The Influx DB text-area is also resizable vertically, but that one isn't
a Monaco editor (we need to tell Monaco to update its own size when the
outer div is resized), so this is necessarily a little more complex than
Influx. But still this approach looks simpler: The Javascript here is
shorter
* Start at 240px, to match the current default size
Question: Is there a better approach to achieve this?
* Don't clip the bottom border of the Monaco editor
* Fix linting errors
* compare queries to insure query isnt changed
* comment
* removed calls to getTemplateSrv because it makes things impossible to test. added a check for empty raw queries
* prettier
* Update public/app/plugins/datasource/graphite/graphite_query.ts
Co-authored-by: Adam Yeats <16296989+adamyeats@users.noreply.github.com>
---------
Co-authored-by: Adam Yeats <16296989+adamyeats@users.noreply.github.com>
* Add link from the Trace View to the Profiles App via Profiles for this span button dropdown
* Fix tests
* Lint
* Fix test
* Lint
* Fallback if plugin extension does not exist
* Move span detail link buttons to their own file
* Add tests
* Update type name
* Update naming
* Prettier
* Move button
* Remove fallback
* Use proper time range
* Betterer
* Update test
* Use CoreApp
* Betterer
* Simplify context
* Update tests
---------
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* add feature toggle alertRuleRestore
* Update delete rule to require UserUID, remove all versions and create "delete" version that holds information about who and when deleted the rule
* add row item changes
* redesign row edit panes and header actions
* clean up after merges
* adjust to sentence casing
* bring back layout selection extra options
* serviceaccounts/secretscan: test Service more thoroughly
* middleware/cookies: add tests for CookieOptions
* anonymous/anonimpl: cover a couple more methods
* components/imguploader: Implement WebDAV integration tests
* components/apikeygen: also check IsValid method
* bus: cover invalid callback signature cases
* cloudmigration/objectstorage: add basic unit tests
* login/social/connectors: add test case for GitHub OAuth fetch emails+orgs
* expr/classic: cover more evaluator types in tests
* Update resource group query
- Updates the resource groups query to support users/apps with restricted permissions
* Update resources request to be paginated
- Also order by name
- Add tests
* Update test
* chore: update text for ds connections tab
Not sure if additional work is required to generate the translation
* chore: text change for connection tab
---------
Co-authored-by: Sam Kh. <syerikjan.khusayan@grafana.com>
* feat(grafana-data): introduce unstable entrypoint to package
* feat(grafana-runtime): introduce unstable entrypoint to package
* feat(plugins): expose unstable entrypoints for data and runtime to plugins
* feat(packages): dummy exports so package verification and shared deps imports work
* Lint only Markdown files
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Lint a file
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Test
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Lint
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* feat(featuremgmt): introduce feature toggle for enabling sri checks
* feat(frontend): use assetSriChecks feature toggle to inject integrity hash into script tags
* chore(webpack): align sri algorithms across dev and prod builds
* docs(featuremgmt): update assetSriChecks to pass CI
* docs(featuremgmt): fix more spelling complaints with assetSriChecks
* Add crossorigin attribute
* chore(webpack): add subresource-integrity plugin
* build(webpack): wrap webpack jsonp loader integrity checks in feature flag checks
* revert(index.html): remove crossorigin attribute if assertSriChecks is disabled
---------
Co-authored-by: Kristian Bremberg <kristian.bremberg@grafana.com>