renovate[bot]
4f095bcd65
Update dependency @grafana/faro-web-sdk to v1.12.0 ( #96485 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 17:02:42 +00:00
Leon Sorokin
39fe0b29ff
XYChart: Remove old implementation ( #96416 )
2024-11-14 10:36:18 -06:00
Andrej Ocenas
19844c4ba8
Sidecar: Route handling rework ( #96337 )
2024-11-14 17:28:12 +01:00
Joao Silva
b23fdd63a6
New Select: Fix not being able to click around the caret ( #96026 )
2024-11-14 14:24:26 +00:00
6abe99efd6
Auth: Passwordless Login Option Using Magic Links ( #95436 )
...
* initial passwordless client
* passwordless login page
* Working basic e2e flow
* Add todo comments
* Improve the passwordless login flow
* improved passwordless login, backend for passwordless signup
* add expiration to emails
* update email templates & render username & name fields on signup
* improve email templates
* change login page text while awaiting passwordless code
* fix merge conflicts
* use claims.TypeUser
* add initial passwordless tests
* better error messages
* simplified error name
* remove completed TODOs
* linting & minor test improvements & rename passwordless routes
* more linting fixes
* move code generation to its own func, use locationService to get query params
* fix ampersand in email templates & use passwordless api routes in LoginCtrl
* txt emails more closely match html email copy
* move passwordless auth behind experimental feature toggle
* fix PasswordlessLogin property failing typecheck
* make update-workspace
* user correct placeholder
* Update emails/templates/passwordless_verify_existing_user.txt
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update emails/templates/passwordless_verify_existing_user.mjml
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update emails/templates/passwordless_verify_new_user.txt
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update emails/templates/passwordless_verify_new_user.txt
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update emails/templates/passwordless_verify_new_user.mjml
Co-authored-by: Dan Cech <dcech@grafana.com >
* use & in email templates
* Update emails/templates/passwordless_verify_existing_user.txt
Co-authored-by: Dan Cech <dcech@grafana.com >
* remove IP address validation
* struct for passwordless settings
* revert go.work.sum changes
* mock locationService.getSearch in failing test
---------
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-11-14 08:50:55 -05:00
renovate[bot]
c865958292
Update dependency sass to v1.80.7 ( #96459 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 15:43:26 +02:00
renovate[bot] and Ashley Harrison
4051df1f6c
Update dependency react-calendar to v5.1.0 ( #96449 )
...
* Update dependency react-calendar to v5.1.0
* use properly exported CalendarType
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-11-14 14:30:52 +02:00
Laura Fernández
6a8755a8af
New Select: decrease item height ( #95952 )
2024-11-14 13:24:02 +01:00
Ashley Harrison and Tobias Skarhed
192423956b
GrafanaUI: Mark ScrollContainer as stable and deprecate CustomScrollbar ( #96331 )
...
* deprecate CustomScrollbar, promote ScrollContainer
* add documentation start
* use the properly exported ScrollContainer
* Update packages/grafana-ui/src/components/ScrollContainer/ScrollContainer.mdx
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com >
---------
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com >
2024-11-14 12:06:21 +00:00
renovate[bot]
c023b441f5
Update dependency rc-cascader to v3.30.0 ( #96444 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 11:37:29 +00:00
Tobias Skarhed and Ashley Harrison
a8ab82c80f
Combobox: Documentation ( #96307 )
...
* Initial Combobobox docs
* Add test docs
* Add docs to props
* Add ComboboxOption docs
* Apply suggestions from code review
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-11-14 11:01:43 +01:00
Leon Sorokin
7038bbe318
Matchers: Require explicit regexp syntax in byRefId matcher ( #96358 )
2024-11-13 14:57:17 -06:00
renovate[bot]
20fa35f931
Update dependency eslint-plugin-jsdoc to v50.5.0 ( #96385 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 15:26:28 +02:00
renovate[bot]
85caabf8e4
Update dependency eslint-plugin-jest to v28.9.0 ( #96383 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 13:02:12 +00:00
renovate[bot]
ed707098e1
Update dependency eslint to v9.14.0 ( #96382 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 13:01:43 +00:00
renovate[bot]
6db8aa2d40
Update dependency core-js to v3.39.0 ( #96379 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 11:55:19 +00:00
renovate[bot]
3e9033c3bc
Update dependency @testing-library/jest-dom to v6.6.3 ( #96374 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 11:04:40 +00:00
renovate[bot]
33b4c71cb2
Update dependency @reduxjs/toolkit to v2.3.0 ( #96370 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 10:18:43 +00:00
Kristina
9f02acd4ca
Transformations: Window calculation should use 0 if value in window does not exist ( #95625 )
...
* Use 0 for window functions if value does not exist
* Simplify logic, add test
* Fix tests, have first value count as 0 if null as well
* evaluate entire array instead of individual values
* Adjust logic, move prior results back
2024-11-12 12:50:38 -06:00
Joao Silva
6414bcb6aa
Combobox: Increase min height of the menu ( #96327 )
2024-11-12 16:39:49 +00:00
renovate[bot]
29bcf7dbe9
Update babel monorepo to v7.26.0 ( #96333 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 18:23:05 +02:00
Ashley Harrison
1e001451bd
ScrollContainer: Replace CustomScrollbar usage ( #96229 )
...
* replace CustomScrollbar
* use ScrollContainer in RolePickerMenu and PanelDataPane
2024-11-12 15:43:04 +00:00
renovate[bot]
108d611205
Update dependency sass-loader to v16.0.3 ( #96322 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:34:09 +00:00
Piotr Jamróz
3a6858cf26
Frontend o11y: Report browser crashes to Faro ( #95772 )
...
* Report browser crashes to Faro
* Fix linting
* Change context log context prefix
* Update types
* Update crash detection library to report stale tabs
* Post merge fixes
2024-11-12 16:07:27 +01:00
renovate[bot]
095be20f8e
Update dependency react-select to v5.8.3 ( #96302 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 14:30:09 +00:00
Ashley Harrison
265342fbae
Combobox: only render ScrollContainer when menu is open ( #96271 )
...
only render ScrollContainer when menu is open
2024-11-12 13:15:22 +00:00
Andres Martinez Gotor
c3494614e3
PoC: Define userstorage API ( #95557 )
2024-11-12 12:56:41 +01:00
renovate[bot]
be7a1d8805
Update dependency marked-mangle to v1.1.10 ( #96278 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 11:25:17 +00:00
renovate[bot]
7812cb83e9
Update dependency eslint-plugin-jsdoc to v50.4.3 ( #96238 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 10:46:13 +00:00
Adela Almasan
754351273b
Actions: Fix interpolation ( #96161 )
2024-11-11 11:08:15 -06:00
renovate[bot] and Ashley Harrison
2799e5aa75
Update dependency @types/lodash to v4.17.13 ( #96159 )
...
* Update dependency @types/lodash to v4.17.13
* fix types
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-11-11 18:16:20 +02:00
renovate[bot]
27a0491f30
Update dependency @swc/helpers to v0.5.15 ( #96224 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 15:11:53 +00:00
Josh Hunt
e8241636b8
Combobox: Improve async UX ( #96054 )
...
* Refactor basic usage with stateReducer
This is a combination of 3 commits.
This is the 1st commit message:
more wip
This is the commit message #2 :
even more wip
This is the commit message #3 :
got basic usage working well with stateReducer
remove unrelated change
todo tests
* fix behaviour for async
* clean up dev stuff
* story
* Fix options being cleared for non-async combobox
* Fill out tests!
* put story back
* clean up metriccombobox test
* show selected value as placeholder while menu is open
* properly fallback placeholder to the prop
2024-11-11 16:35:37 +02:00
Josh Hunt
436f8db3e3
AutoSizeInput: Fix controlled value being ignored when it's empty string ( #96212 )
2024-11-11 12:35:30 +00:00
Laura Fernández
a459f648b5
Combobox: Add default border-radius to the menu/dropdown ( #96208 )
2024-11-11 13:27:54 +01:00
Carl Bergquist and Kyle Brandt
c7b6822a5e
Loki: Apply scopes to expression if feature toggle is enabled. ( #95917 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-11-11 12:53:24 +01:00
Erik Sundell
8148f0c3bb
Plugin extensions: Make description optional ( #95555 )
...
make description optional
2024-11-11 12:22:57 +01:00
jackyin
3012d4c043
Flame Graph: Fix crash when it receives empty data ( #95604 )
...
flame graph crash
2024-11-11 11:09:11 +00:00
Tobias Skarhed
4f433ada14
Combobox: Fix stories ( #96206 )
...
Spread args onto component in stories
2024-11-11 12:02:58 +01:00
Ashley Harrison
ee7f521c08
ScrollContainer: Use ScrollContainer in some dashboard components ( #95668 )
...
* use ScrollContainer in some dashboard components
* remove unnecessary wrapper
* remove unnecessary minHeight
2024-11-11 09:50:35 +00:00
renovate[bot]
c04236b60d
Update dependency @floating-ui/react to v0.26.27 ( #96158 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 09:43:56 +00:00
Jack Westbrook
787f3b8d6c
Webpack: Set eslint plugin config to flat to prevent cli errors ( #96199 )
...
fix(webpack): set eslint plugin config to flat to prevent cli errors
2024-11-11 10:23:24 +02:00
b1c5aa0929
Update dependency @prometheus-io/lezer-promql to v0.55.1 ( #95272 )
...
* Update dependency @prometheus-io/lezer-promql to v0.55.1
* chore(grafana-prometheus): update type import
* fix duration resolver
* fix unit test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-11-09 01:16:51 +02:00
Kristina and Leon Sorokin
95692b3d68
BarChart: Fix threshold lines rendering for horizontal orientation ( #95737 )
...
* Use different threshold x/y coordinates depending on orientation
* invert wording / semantics
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-11-08 10:43:23 -06:00
ismail simsek
40637a221e
Chore: Don't require exemplar query for instant query when "Both" query type is selected ( #96122 )
...
Don't require exemplar for instant query
2024-11-08 17:51:14 +02:00
Marc M.
9525891455
Pyroscope: Add limit number of series returned by the data source ( #95780 )
2024-11-08 17:22:29 +02:00
Kristina
ac88461fe6
Canvas: Fix references for ResourcePicker ( #95580 )
...
* useRef instead of create ref for functional components, pass function to close popper if needed
* Cleanup, hide on save as well
* add comment about when hidePopper is available to content
2024-11-07 11:37:49 -06:00
ismail simsek
21ba507bcb
Revert "Prometheus: Fix escaping of quotation marks for variables" ( #96038 )
...
Revert "Prometheus: Fix escaping of quotation marks for variables (#93415 )"
This reverts commit 2bfdee73e3 .
2024-11-07 16:38:05 +01:00
Jack Westbrook and Tom Ratcliffe
8c41137bcf
Frontend: Update to Eslint 9 ( #94823 )
...
* chore(eslint): bump all eslint related packages to latest
* chore(eslint): update linting scripts work with v9
* chore(eslint): introduce flat config
* chore(eslint): delete legacy configs
* feat(grafana-eslint-rules): update rules to use eslint 9 APIs
* chore(eslint): migrate all nested eslintrc files over to root config
* chore(packages): bump eslint dependencies
* feat(betterer): make it work with eslint 9
* style(grafana-data): remove non-existant ban-types rule from disable declarations
* chore(wip): [wip] link eslint-config-grafana
* chore(packages): add @eslint/compat
* chore(eslint): add compat to testing library and fix alerting rules
* chore(eslint): bump grafana eslint-config to v8
* chore(explore): delete legacy eslint config
* chore: clean codeowners file, remove grafana/eslint-config from e2e plugins
* test(eslint-rules): fix no-border-radius-literal and no-aria-label-e2e-selectors rule tests
* Add .js to prettier checks so new eslint.config.js file isn't missed
* chore(eslint): move emotion/syntax-preference to grafana/defaults
* test(eslint): use core-js structured-clone
* revert(services): undo merge backend-format githook changes
* test(eslint-rules): remove structured-clone polyfill from tests
* chore(eslint): add back public/lib/monaco to ignore list, sort alphabetically
* chore(e2e-plugins): remove eslint config 7 from plugins package.json
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-11-07 16:31:06 +01:00
linoman
3d51ca7377
SCIM: Add feature flag ( #96021 )
...
* Add feature flag
2024-11-07 15:38:46 +01:00