renovate[bot]
a33d122485
Update Yarn to v4.4.0 ( #91595 )
...
* Update Yarn to v4.4.0
* add new yarn version
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-07 12:48:56 +02:00
Ashley Harrison
e8d5d5fbff
Storybook: Fix Input
story ( #91564 )
...
fix type + prefix/suffix
2024-08-07 11:05:20 +01:00
Adela Almasan
e91f16fc46
Datalinks: UX improvements ( #91352 )
2024-08-06 19:10:37 +03:00
renovate[bot]
0dbfeb0c6e
Update dependency @floating-ui/react to v0.26.21 ( #91572 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 15:28:05 +03:00
Ashley Harrison
2e3f48a49d
Navigation: Fix browse dashboards/scenes dashboards when bodyScrolling
is enabled ( #91479 )
...
set explicit height (not min-height) so everything works in safari
2024-08-06 09:51:31 +01:00
Ihor Yeromin
da291998cf
Revert "Calcs: Update diff percent to be a percent" ( #91563 )
...
Revert "Calcs: Update diff percent to be a percent (#90533 )"
This reverts commit 5e21898294
.
2024-08-06 11:03:01 +03:00
renovate[bot]
4de68e3774
Update dependency eslint-plugin-jsdoc to v48.11.0 ( #91473 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 12:44:01 +02:00
renovate[bot]
670132ead8
Update dependency @types/node to v20.14.14
2024-08-02 09:56:04 +00:00
Josh Hunt
e55b438f14
E2C: Reduce UI poll interval and make configurable ( #91386 )
...
* E2C: Reduce UI poll interval and make configurable
* fix default
2024-08-02 10:46:41 +01:00
Ashley Harrison
ce8f5b5e1a
Navigation: Fix <Portal>
when bodyScrolling
is enabled ( #91335 )
...
fix portal when bodyScrolling is enabled
2024-08-02 10:29:51 +01:00
renovate[bot]
85e2ea2488
Update dependency @grafana/faro-web-sdk to v1.9.0 ( #91403 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 18:07:34 +03:00
Andrej Ocenas
04d8f0f063
Runtime: Add provider and access hook for location service ( #90759 )
2024-08-01 15:59:20 +02:00
Brendan O'Handley
e39a131110
Prometheus: Add group function to aggregations ( #91363 )
...
add group function to aggregations
2024-08-01 08:58:12 -05:00
renovate[bot]
d8245966a4
Update dependency rc-cascader to v3.27.0 ( #91396 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 16:25:47 +03:00
Alexander Akhmetov
a32854549c
Alerting: Support median in reduce expressions ( #91119 )
...
* Alerting: support median in reduce expressions
2024-08-01 15:04:17 +02:00
Ashley Harrison
66bfb31d8e
Tooltip: Handle case where document.body
is the scrolling element ( #91385 )
...
* handle case where body is the scrolling element
* use instanceof Node instead
2024-08-01 13:34:23 +01:00
renovate[bot]
796f2994f9
Update dependency eslint-plugin-jsx-a11y to v6.9.0 ( #91374 )
...
* Update dependency eslint-plugin-jsx-a11y to v6.9.0
* ignore new violation and add comment to fix
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-01 13:34:02 +03:00
renovate[bot]
596c08e8f4
Update dependency eslint-plugin-react to v7.35.0 ( #91378 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 11:11:09 +01:00
renovate[bot]
6cda2f67de
Update dependency eslint-plugin-jsdoc to v48.10.2 ( #91370 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 11:46:59 +03:00
renovate[bot]
0590a42895
Update dependency eslint-plugin-jest to v28.6.0 ( #91343 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 09:28:51 +01:00
Drew Slobodnjak
e6531d0ecd
Table: Fix negative numbers during rtl styling ( #91347 )
...
* Table: fix negative numbers during rtl styling
* revert field config unit check as it is no longer needed with fix implemented in this PR
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-07-31 15:28:24 -07:00
renovate[bot]
7570ea8c4f
Update babel monorepo ( #91079 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 16:32:58 +01:00
Victor Marin
24d2fad921
Fix long datalinks to fit in panel options editor ( #91203 )
...
fix long datalinks to fit in panel options editor
2024-07-31 17:26:50 +03:00
Tobias Skarhed
e8c30c86f0
Frontend: Support tracing with Faro ( #91237 )
...
Move code from previous PR
2024-07-31 15:13:05 +02:00
renovate[bot]
f58dd70c2b
Update dependency @react-awesome-query-builder/ui to v6.6.2 ( #91257 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 14:07:57 +01:00
Joao Silva
85d0e17dc4
Bookmarks: Store URLs instead of ids ( #91121 )
2024-07-31 13:56:39 +01:00
Esteban Beltran
782b725d87
Plugins Catalog: Display Request data source and view roadmap links ( #91175 )
...
* Add roadmap links to connection tab
* move to its own component
* add roadmaplinks to the catalog browse page
* use trans for text
* Change TextLink to accept ReactNode
* use Space component
* Add translations
2024-07-31 13:12:16 +02:00
renovate[bot]
ad8e317987
Update dependency @grafana/faro-web-sdk to v1.8.2 ( #91244 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 10:40:50 +01:00
Tobias Skarhed
ff54333881
Combobox: Add clear and reset onBlur ( #90943 )
...
* Add clear and reset onBlur
* use selectItem
* Use downshift hooks instead
* Fix Clear bug and extract i18n
* Remove useMemo from story
* Add loading state to many options story
* Set fallback to null
* Fix unused import
* Use onBlur and pass it to Downshift instead
2024-07-31 10:37:09 +02:00
Nathan Marrs
0a34b51055
Transformation: Add variable support for filter by value regex matcher ( #90926 )
...
* add support for template vars in filter by value transformation for regex matcher
* less code is more code
* add test to confirm interpolation works for regex
* suggestions input for regex editor
---------
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-07-31 02:15:44 +03:00
renovate[bot]
e3842df675
Update dependency @types/node to v20.14.13
2024-07-30 11:57:59 +00:00
renovate[bot]
22ad5395d5
Update dependency @reduxjs/toolkit to v2.2.7
2024-07-30 11:35:34 +00:00
Will Browne
1b3fa8c47f
Plugins: Hide version information when plugin is managed ( #88065 )
...
* first pass
* fixup
* fix linter issues
* fix API test
* update naming
* rework
* update var name
* empty check
* prettier
* fix test
* fix lint
2024-07-29 11:18:43 +01:00
Leon Sorokin
90349b21f7
VizTooltip: Hide on page scroll even if anchored ( #91084 )
2024-07-26 22:27:49 +03:00
renovate[bot]
8e006fedda
Update dependency @grafana/experimental to v1.7.13
2024-07-26 15:42:50 +00:00
Ryan McKinley
ec6c6bd6c3
Identity: Add read-only identity apiserver ( #90418 )
2024-07-26 17:09:08 +03:00
Kavindu Nilshan
0b822478b6
Resolved the issue stated in issue #90426 . ( #90465 )
...
* Resolved the issue stated in issue #90426 .
* Method created to get the length of the url.
* Applied the length logic and intentional fall through in switch.
* Changed the way length calculated
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
* Remove un-used method getUrlLength
* Refactoring
---------
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
2024-07-25 10:06:23 -06:00
Adela Almasan
0a870e6a88
Canvas: Element data links refactor ( #90636 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-07-25 07:13:21 -05:00
Alex Khomenko
8cdf5ee824
E2C: Add Public Preview banner ( #90922 )
...
* E2C: Add public preview message
* Read feedback URL from the settings
* Translate strings
* Add missing translation
* Add missing translation[2]
2024-07-25 12:44:49 +03:00
Laura Fernández
944cc87f65
Combobox: Styling for dropdown ( #90140 )
...
* Add getSelectStyles
* Modify combobox styles
* Fix option with description styles
* Add highlightedIndex
* Undo estimateSize changes
* Create getComboboxStyles
* Add floating ui to Combobox
* Use elements to apply existing refs
* Delete width on styles
* Fix menu styling
* Update packages/grafana-ui/src/components/Combobox/Combobox.tsx
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
* Changes suggested in reviews
* Delete container styles
* Delete container styles
* Add calculated height to ul element
* Show all options in the many options story
* Replace deprecated code
* Remove console.log
* Fix ts error
* Fix ts error
* Fix val is mull error
* Fix ts error
* Add comment in the code
* Modify the comment
---------
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2024-07-25 11:17:23 +02:00
Ashley Harrison
d8711beac5
Chore: Migrate dashdiff styles to emotion globals ( #90818 )
...
* migrate dashdiff styles to emotion globals
* fix colors
2024-07-24 12:43:52 +01:00
renovate[bot]
5be7cfca69
Update React Aria
2024-07-24 10:56:08 +01:00
renovate[bot]
92d0a40f70
Update Yarn to v4.3.1 ( #90871 )
...
* Update Yarn to v4.3.1
* add yarn 4.3.1
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-07-24 11:46:53 +03:00
Ashley Harrison
6df9fda298
Navigation: Tweak app height when bodyScrolling
is enabled ( #90828 )
...
use vh instead of svh
2024-07-24 09:04:24 +01:00
renovate[bot]
671f278ee1
Update dependency @types/node to v20.14.12
2024-07-23 19:21:07 +00:00
renovate[bot]
b85700e386
Update dependency semver to v7.6.3
2024-07-23 17:34:17 +00:00
renovate[bot]
d30f8a01cc
Update dependency sass to v1.77.8
2024-07-23 17:13:23 +00:00
renovate[bot]
546d9991fa
Update dependency react-use to v17.5.1
2024-07-23 15:42:41 +00:00
Ashley Harrison
219f4776a2
run prettier
2024-07-23 14:45:54 +01:00
renovate[bot]
486815606c
Update dependency prettier to v3.3.3
2024-07-23 14:45:54 +01:00
Ashley Harrison
80f201026f
Chore: Migrate _dashboard
SCSS styles to emotion ( #90604 )
...
migrate dashboard.scss styles to emotion
2024-07-23 11:02:18 +01:00
renovate[bot]
e5a0117bb8
Update dependency marked-mangle to v1.1.8
2024-07-23 09:59:48 +00:00
renovate[bot]
999aff5458
Update React Aria ( #90760 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 09:07:47 +01:00
Nathan Marrs
3b9c6da4eb
Table: Fix cell units ( #90799 )
2024-07-22 15:41:51 -07:00
Leon Sorokin
06a5c970c4
VizTooltip: Wrap labels to new lines when > ~50% screen width ( #90798 )
2024-07-22 15:52:36 -05:00
renovate[bot]
61e408ab93
Update dependency immutable to v4.3.7
2024-07-22 15:22:13 +00:00
renovate[bot]
2ebd4237f6
Update dependency chance to v1.1.12
2024-07-22 13:29:52 +00:00
Ashley Harrison
dc30858e9d
Select: Fix scrolling virtualized menu on mobile ( #90724 )
...
pass select-menu innerRef to virtualized list
2024-07-22 14:27:50 +01:00
Ida Štambuk
5b17cd93c5
Cloudwatch: Remove awsDatasourcesNewFormStyling feature toggle ( #90128 )
...
* Remove toggle from cloudwatch plugin
* Remove feature toggle from registry
---------
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com>
2024-07-22 14:48:17 +02:00
jackyin
5e21898294
Calcs: Update diff percent to be a percent ( #90533 )
...
diff per unexpected results
2024-07-22 14:03:11 +02:00
renovate[bot]
296b14b360
Update dependency @floating-ui/react to v0.26.20 ( #90723 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 14:07:38 +03:00
Joao Silva
546f4aa700
Navigation: Show list of pinned items on MegaMenu ( #90280 )
...
* Navigation: Show list of pinned ites on the navigation
* Rename section to 'Bookmarks'
* Internationalization
* Rename everything to bookmarks
* Update public/app/core/reducers/navBarTree.ts
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Ignore empty message as well
* Dont update navigation if there is an error patching
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2024-07-22 11:43:40 +01:00
renovate[bot]
63cc01fe80
Update dependency @types/node to v20.14.11
2024-07-22 07:57:16 +00:00
renovate[bot]
f259f99485
Update dependency @types/lodash to v4.17.7
2024-07-19 17:40:32 +00:00
renovate[bot]
c5775b3778
Update dependency @swc/helpers to v0.5.12 ( #90670 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 17:50:47 +03:00
renovate[bot]
21d1669bfc
Update dependency @reduxjs/toolkit to v2.2.6
2024-07-19 14:29:02 +00:00
Matias Chomicki
66fb4d5f1a
Combine responses: add support for frames with repeated field names ( #90650 )
...
* Combine responses: add support for frames with repeated field names
* Formatting
2024-07-19 14:26:06 +00:00
Ashley Harrison
c4570ecfdc
Chore: Tweaks to support React 19 ( #90653 )
...
changes needed for react 19, mostly don't spread key
2024-07-19 13:40:02 +01:00
renovate[bot]
ec432fa314
Update dependency @floating-ui/react to v0.26.19 ( #90614 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 13:26:07 +01:00
Adela Almasan
0e4c9a2e36
Transformations: Fix filterByValue interpolation ( #90631 )
2024-07-19 07:21:41 -05:00
Jack Westbrook
893efb045b
Grafana/ui: Fix types not being installed for consumers ( #90463 )
...
fix(grafana-ui): make sure exported types are available for consumers
2024-07-19 14:08:34 +02:00
Adela Almasan
61d8910a5b
Transformations: Fix filterByValue being applied to the wrong series ( #90512 )
2024-07-18 11:03:41 -05:00
renovate[bot]
d61dbae7fe
Update babel monorepo
2024-07-18 12:01:07 +00:00
ismail simsek
f8645f73ea
Prometheus: Improve expanding ruleIs with identifier label checking ( #90336 )
...
* define rule mapping type
* introduce a new mapping type
* add type comments
* add identifier check
* remove tests from wrong file
* add tests to the right file
* define function body
* unit tests and logic for getQueryLabelsForRuleName
* update logic of getRecordingRuleIdentifierIdx
* update logic and tests getRecordingRuleIdentifierIdx
* fix unit tests
* fix tests
* update how we return the options
* update message
* update type
* update expandRecordingRules unit tests
* remove identifier from end result
* fix unit tests once more
* remove fix action from expand rules warning
* remove generic type
* update warning text
* betterer
2024-07-18 13:17:33 +02:00
Josh Hunt
32232e44d2
E2C: Get Cloud Token status ( #90525 )
...
* E2C: Get Cloud Token status
* remove console.log
2024-07-18 09:48:06 +01:00
Kristina
6eb695b258
Explore: Add setting for default time offset ( #90401 )
...
* Add setting for explore for a different time offset
* fix linter
* Add validation for duration value
2024-07-17 11:47:49 -05:00
Drew Slobodnjak
1fc57d8fd5
Transformations: Fix null for reduceSeriesToRows ( #90508 )
...
* Transformations: Fix null for reduceSeriesToRows
* Add tests with null data frames
2024-07-17 09:25:46 -07:00
Andreas Christou
2616366a0a
Prometheus: Reintroduce Azure audience override feature flag ( #90339 )
...
* Re-add feature flag with deprecation note
* Hide the field in frontend if ff disabled
* Block scope overriding if ff is disabled in backend
- Update promlib to forward logger to extendOptions
- Add warning
- Update tests
* Default toggle to true for now
* Update description
* Update prom tests
* Fix lint
2024-07-17 15:09:55 +01:00
Ashley Harrison
334657e1cb
Navigation: Move scroll behaviour to body ( #89921 )
...
* initial attempt at body scrolling
* fix login layout
* minor fixes
* "fix" some fixed position stuff
* remember scroll position in dashboard page
* fix unit tests
* expose chrome header height in runtime and fix connections sticky header
* fix panel edit in scenes
* fix unit tests
* make useChromeHeaderHeight backwards compatible, fix plugin details double scrollbar
* fix sticky behaviour in explore metrics
* handle when undefined
* deprecate scrollRef/scrollTop
* fix extra overflow on firefox
2024-07-17 13:48:47 +01:00
Ivan Ortega Alba
3559c5c297
Revert "Frontend: Use safe stringifier in parseBody" ( #90522 )
...
Revert "Frontend: Use safe stringifier in parseBody (#90047 )"
This reverts commit 434f386982
.
2024-07-17 14:00:01 +03:00
Joanna
8f376a302b
UI: Align the icon
in the Alert
( #90461 )
...
* UI: Align the `icon` in the `Alert`
* feat: align icon with one line text
* chore: prettier imports fix
* chore: revert imports
* feat: remove alignSelf & position the icon
* chore: clean up
2024-07-17 11:48:57 +01:00
Edvard Falkskär
c41f3394a4
InteractiveTable: Add initial sort prop ( #89937 )
2024-07-17 09:37:30 +01:00
Andrew Hackmann
319a874033
MSSQL: Password auth for Azure AD ( #89746 )
...
* Password auth for Azure AD
* rename auth fields
* add azure flag for client password cred enabled
* prettier
* rename flag
* Update go.mod
* Update public/app/plugins/datasource/mssql/azureauth/AzureCredentialsForm.tsx
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
* Apply suggestions from code review
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
* update package
* go mod
* prettier
* remove password
* gowork
* remove unused env test
* linter
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-07-16 14:08:51 -05:00
Galen Kistler
ac21fa8e18
Table: Update selected row color ( #90364 )
...
* chore: update table highlighted row color
2024-07-16 13:44:55 -05:00
Galen Kistler
bb52c340cc
Scrollbar: fix scrollTo being called on stale reference ( #90346 )
...
* fix: fix scrollTo being called on stale reference
2024-07-16 11:34:29 -05:00
Drew Slobodnjak
4de34ac246
Table: Fix justifyContent with cellLink overflow ( #90353 )
...
* Table: Fix justifyContent with cellLink overflow
* Add textAlign to fix failing test
2024-07-16 09:26:06 -07:00
Matias Chomicki
8547148623
Combine responses: do not combine frames with different names ( #90464 )
2024-07-16 16:34:08 +03:00
Tobias Skarhed
4c9cb63823
PanelShortcuts: Set attention onMouseEnter ( #90435 )
...
Add onMouseEnter to PanelChrome
2024-07-16 09:03:38 +02:00
Joey
5beaae8561
FlameGraph: Remove flameGraphItemCollapsing feature toggle ( #90190 )
...
Remove feature toggle
2024-07-15 13:45:41 +01:00
Adela Almasan
9bc68562d4
Canvas: Element level data links ( #89079 )
2024-07-12 12:02:49 -05:00
Ashley Harrison
c13f804ef9
Storybook: Fix missing favorite
and grafana
icons ( #90376 )
...
ignore "fa fa-spinner" properly
2024-07-12 18:49:23 +03:00
Galen Kistler
8400b54a53
Table: Fix state bug with initialRowIndex ( #90308 )
...
* fix: fix state bug
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-07-12 09:14:47 -05:00
Ashley Harrison
a6f9336ea1
Chore: SCSS cleanup ( #90366 )
...
* migrate _type styles
* migrate queryEditor styles
2024-07-12 14:47:12 +01:00
Ashley Harrison
8d858b1a82
Chore: Migrate more SCSS ( #90224 )
...
* tidy up alerts scss
* clean up alerting page rules
* remove mixins
2024-07-12 13:49:59 +01:00
Ashley Harrison
b321dc7280
Chore: Migrate from react-beautiful-dnd
to @hello-pangea/dnd
( #90328 )
...
* migrate from react-beautiful-dnd to @hello-pangea/dnd
* revert comment
2024-07-12 10:23:29 +01:00
Tom Ratcliffe
f140594cf1
Alerting: Make whitespace more visible on labels ( #90223 )
2024-07-11 17:33:27 +01:00
Giuseppe Guerra
9216a3df7d
Plugins: Remove datasourceQueryMultiStatus feature toggle ( #90191 )
...
* Remove datasourceQueryMultiStatus feature toggle
* PR review suggestion
2024-07-10 11:15:10 +02:00
kay delaney
434f386982
Frontend: Use safe stringifier in parseBody ( #90047 )
...
* Frontend: Use safe stringifier in parseBody
Closes #88064
2024-07-09 16:15:59 +01:00
Galen Kistler
20181425e4
Table: Prevent runtime error when resizing columns with onColumnResize ( #89862 )
...
fix: prevent runtime error when resizing columns
2024-07-09 07:08:35 -05:00
Ashley Harrison
8444c7760c
Chore: Remove deprecated SCSS styles ( #90187 )
...
clean up infobox styles
2024-07-09 12:53:43 +01:00
Gilles De Mey
b7910ade97
Alerting: Allow future relative time ( #89405 )
2024-07-09 13:18:24 +02:00
Jack Westbrook
d8137083d9
Grafana/data: Remove barrel files part 3 ( #90001 )
...
* chore(grafana-data): remove monac and theme barrel files, clean up imports and exports
* chore(grafana-data): remove query barrel file and update imports / exports
* chore(grafana-data): remove text and events barrel files, update imports n exports
* chore(alerting): fix grafana/data imports pointing to nested barrel files
* chore(grafana-data): delete unused text/index.ts
* chore(grafana-data): fix broken text import paths
2024-07-09 10:07:33 +02:00
Timur Olzhabayev
f763f2085b
Feat: Extending report interaction with static context that can be appended to all interaction events ( #88927 )
...
* Extending report interaction with static context that can be appended to all requests
2024-07-08 16:37:45 +02:00
Andres Martinez Gotor
2b7338f8b6
Add optional APIVersion to DatasourceRef ( #90076 )
2024-07-08 13:12:56 +02:00
Alex Khomenko
96cdce7f72
FilterList: Separate ItemRenderer ( #90112 )
...
* FilterList: Separate ItemRenderer
* Extend props
* Codeformat
2024-07-08 14:05:43 +03:00
Andres Martinez Gotor
61b95783d5
UpdateDatasource: Add apiVersion if enabled ( #90038 )
2024-07-08 13:02:48 +02:00
Josh Hunt
06de37e6cd
GrafanaUI: Allow wrap prop on Stack to be a boolean ( #90145 )
2024-07-08 11:50:51 +01:00
Alex Khomenko
c1ec327b74
FilterList: Improve "No values" display ( #90032 )
...
* FilterList: Improve "No values" display
* Switch to ternary
2024-07-08 13:27:34 +03:00
Ashley Harrison
675457fb10
Select: Better styling for virtualized group separators ( #90127 )
...
* better styling for group separators
* update comment
* revert back to 37
2024-07-08 10:32:15 +01:00
Ashley Harrison
680f5ed2cc
Chore: More SCSS cleanup ( #90132 )
...
* convert TagBadge to a functional component
* migrate label and label-tag styles to TagBadge
* migrate filter-table to emotion globals
* migrate query-part styles to emotion globals
* move tag color to be an inline style
2024-07-05 14:33:43 +01:00
Alex Khomenko
7c7f09233d
DateTimePicker: Add "timeZone" prop ( #90031 )
...
* DateTimePicker: Add custom timeZone support
* Add test
* More tests
* Add comment
* Tweaks
2024-07-04 14:45:48 +03:00
Ashley Harrison
bcb168c39d
Drawer: Fix size on mobile ( #90037 )
...
fix drawer size on mobile
2024-07-04 11:19:19 +01:00
Ashley Harrison
df84d8509d
Select: Properly show group separator for virtualized selects ( #90005 )
...
* add group separator for virtualized selects
* simplify
2024-07-04 10:30:35 +01:00
Ida Štambuk
eef9a7b4e5
Cloudwatch: Rename Metric Query to Metric Insights ( #89955 )
2024-07-04 10:30:23 +02:00
Kyle Cunningham
c9b1e81ed2
Table panel: Add alt and title text options to image cell type ( #89930 )
...
* Various updates
* Update form callbacks
* Use defaultValue as opposed to value on input
* Fix things up
* Docs
* Prettier
* Update docs
* Update label text
* Prettier
2024-07-03 22:10:54 +03:00
ismail simsek
7f5dde6ed3
Chore: Cleanup duplicated code in grafana-prometheus package ( #89542 )
...
* remove redundant test matchers
* use amendTable, trimTable functions from @grafana/data package
* move getMockDataSource function into the mocks.ts
* use LocalStorageValueProvider from @grafana/o11y-ds-frontend
* move all mocks under __mocks__ directory
* use store from @grafana/o11y-ds-frontend
* move test related files under test directory
* use getNextRefId from @grafana/data instead of deprecated getNextRefIdChar
See: https://github.com/grafana/grafana/pull/87460
* betterer
* remove unnecessary mockings
* import from @grafana/data
* import from @grafana/data
2024-07-03 16:21:29 +02:00
Dominik Prokop
f659bc1f40
Dashboard: Allow disabling dashboard grid lazy loading ( #89280 )
...
* Schema update
* Dashboard: Allow opting out from dashboard panels lazy loading
* Locale
* Lint fix
* Snaps fix
2024-07-03 16:00:45 +02:00
Jack Westbrook
306ae8b4f5
Grafana/data: Remove barrel files part 2 ( #89850 )
...
* chore(grafana-data): remove datetime barrel file and update all imports
* chore(grafana-data): remove types barrel file and update imports
* chore(grafana-data): update types imports across package files
* chore(grafana-data): fix erroronous type export definition on OrgRole
* chore(grafana-data): fix errornous re-export type declarations and missing datetime/common exports
* chore(azure-monitor): fix import pointing to nested grafana-data barrel file
2024-07-03 14:14:58 +02:00
Joao Silva
9004b58851
Navigation: Backend to save navigation customization into preferences ( #89783 )
2024-07-03 10:40:51 +01:00
ismail simsek
5b6edc96d9
Chore: Use SelectMenuOptions from @grafana/ui in grafana-prometheus ( #89562 )
...
use SelectMenuOptions from @grafana/ui
2024-07-03 01:27:19 +02:00
Ida Štambuk
36ff0fe63a
Features: Add cloudwatchMetricInsightsCrossAccount feature toggle ( #89848 )
2024-07-02 12:34:12 +02:00
Adela Almasan
78f9c0fd41
Table: Filter hidden fields for text wrapping ( #89800 )
2024-07-01 22:01:19 +03:00
Alex Khomenko
852d032e1a
App events: Add "info" variant ( #89903 )
...
* App events: Add info notification type
* Add info hook
* Revert state
* Use info alert
2024-07-01 14:28:49 +03:00
Ashley Harrison
c0058f9c7e
Page: Add bodyScrolling
feature toggle ( #89895 )
...
add bodyScrolling feature toggle
2024-07-01 11:28:39 +01:00
Adela Almasan
ad2b5a02a1
VizTooltip: Hide tooltip options from when tooltip is hidden ( #89864 )
2024-06-28 00:49:20 +03:00
Lucy Chen
8b35ce6129
ShareModal: Export options (JSON) ( #87082 )
...
* Adding new export button
* Create Export as JSON drawer
* update scene drawer and add css
* update css
* Update ExportAsJson to be regular react component
* add tests to export menu and button
* add tests
* prettier and lint
* fix translations
* update translation
* Apply suggestions from code review
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
* delete extra file
* Update to use SceneObject
* add spinner
* Rename ExportAsJSON.tsx to ExportAsJson.tsx
* update i18n
* Upate texts
* small fixes from code review
* add space
* i18n
* fix build issues
* changes from review feedback
* update test
* update test
---------
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
2024-06-27 15:36:23 -04:00
Ida Štambuk
ba5b33227c
Cloudwatch: Round up endTime in GetMetricData to next minute ( #89341 )
...
* Add cloudWatchRoundUpEndTime feature toggle
2024-06-27 17:10:28 +02:00
kay delaney
2e0175c3eb
Dashboards: Change datemath parse logic so parsed dates always take timezone into account ( #88182 )
...
* Dashboards: Change datemath parse logic so parsed dates always take timezone into account
2024-06-27 16:17:21 +03:00
ismail simsek
8f2daacf78
Chore: Remove CancelablePromise ( #89564 )
...
* Remove CancelablePromise.ts as it wasn't used in anywhere
* Move cancelable-promise to the place where it is used
2024-06-27 13:33:35 +02:00
Jack Westbrook
56fb1234f6
Grafana/data: Remove barrel files part 1 ( #89556 )
...
* chore(grafana-data): remove dataframe barrel file and update all imports and exports
* chore(grafana-data): remove field barrel file and update imports n exports
* chore(grafana-data): remove utils barrel file and update imports and exports
* chore(grafana-data): remove tranformations barrel file and update imports n exports
* chore(grafana-data): remove imports from root index.ts
* chore(grafana-data): remove valueFormats barrel file and update imports n exports
* chore(grafana-data): don't import from root barrel file
2024-06-27 12:42:42 +02:00
Dominik Prokop
be1414b36b
Dashboards: Remove scenes
feature toggle ( #89771 )
2024-06-27 09:03:46 +02:00
Alex Khomenko
9056ff73f6
TimeRangePicker: Use week start ( #89765 )
2024-06-27 07:53:46 +03:00
Kyle Cunningham
c575c06d63
Table Panel: Fix Image hover without datalinks ( #89751 )
...
* Fix image hover
* Prettier
* Fix height offset
2024-06-26 23:12:44 +07:00
Jack Westbrook
40207c53ae
Plugins: Expose functions to plugins for checking RBAC permissions ( #89047 )
...
* feat(grafana-data): create rbac functions for checking permissions
* feat(grafana-runtime): pass current user to runtime
* feat(grafana-runtime): expose rbac functions to check permissions against current user
* refactor(contextsrv): use functions from grafana/data to check rbac permissions against user
* Apply suggestions from code review
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
* chore(rbac): fix missing types imports
* refactor(rbac): make exposed functions return boolean
---------
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2024-06-26 17:29:17 +02:00
Ashley Harrison
d3dda4ca89
Storybook: Use new JSX runtime ( #89768 )
...
use new jsx runtime in storybook
2024-06-26 12:14:11 +01:00
Ashley Harrison
7b0362b228
Drawer: Improve performance when resizing ( #89691 )
...
apply dynamic styles as styles instead of emotion classes
2024-06-26 09:37:17 +01:00
Leon Sorokin
0f01db4025
VizTooltip: Keep visible while hovering during data updates ( #89708 )
2024-06-25 20:00:47 +03:00
Jake Leahy
2bd95b2eb5
Prometheus: Fix quote stripping in parser ( #87675 )
...
* Prometheus: Fix quote stripping in parser
Currently only double quotes are stripped from the end, while single quotes are left. Moreover, double quotes are stripped even when part of the value
* Prometheus: Double escape the string, apply linting fixes for files that I touched
2024-06-25 17:39:32 +02:00
Laura Fernández
a3879e02bb
RestoreDashboards: Create FE feature toggle ( #89655 )
2024-06-25 16:43:13 +02:00
Ashley Harrison
7b88de9946
Chore: Move font-awesome
styles back to SCSS ( #89687 )
...
move font-awesome styles back to scss for performance reasons
2024-06-25 15:28:24 +01:00
Bogdan Matei
e4b9f356bc
Scopes: Implement radio buttons for containers with single node selection ( #89674 )
2024-06-25 17:10:36 +03:00
Ashley Harrison
47f8717149
React: Use new JSX transform ( #88802 )
...
* update eslint, tsconfig + esbuild to handle new jsx transform
* remove thing that breaks the new jsx transform
* remove react imports
* adjust grafana-icons build
* is this the correct syntax?
* try this
* well this was much easier than expected...
* change grafana-plugin-configs webpack config
* fixes
* fix lockfile
* fix 2 more violations
* use path.resolve instead of require.resolve
* remove react import
* fix react imports
* more fixes
* remove React import
* remove import React from docs
* remove another react import
2024-06-25 12:43:47 +01:00
Alex Khomenko
a9aba2b42f
TimeRangePicker: Add weekStart prop ( #89650 )
...
* TimeRangePicker: Add weekStart prop
* Set week start from config
* Use week start from dashboard
* Revert
* Add comment
* Tweak comment
* Add WeekStart type
2024-06-25 14:22:55 +03:00
Laura Fernández
fd96edaef7
POC: Disable ConfirmButton
( #89539 )
2024-06-25 09:42:18 +02:00
Chirag Gomber
ca1afff886
Chore: Remove deprecated Layout components ( #89376 )
...
* Removed depricated HorizontalLayout from PrometheusMetricsBrowser
* Removed commented import
* typo fix
* Removed depricated HorizontalLayout from RawInfluxQLEditor
* Replaced InlineFormLabel to InlineField in RawInlfuxEditor.tsx
* Removed depricated HorizontalLayout from GraphiteFunctionEditor
* Changed div to instead use stack
* Changed htmlFor attribute from selectElementId to aliasElementId
* Updated the betterer results
* Updated prettier write to the updated files
* Changed htmlFor label to fix the text
2024-06-24 20:59:41 +02:00
Ashley Harrison
7d8afd9578
Tab: Improve accessible name ( #89602 )
...
* replace aria-label selector with data-testid
* fix unit tests
* fix e2e selectors
* fix last unit test
* fix e2e tests
* fix casing
* fix e2e test
* fix casing
2024-06-24 17:48:26 +01:00
Haris Rozajac
e9ee65924b
Chore: Remove explore content outline feature toggle ( #89277 )
...
Remove explore content outline feature toggle
2024-06-24 09:45:42 -06:00
Juan Cabanas
399651b9ad
ShareDrawer: Share snapshot ( #89195 )
2024-06-24 10:26:06 -03:00
ismail simsek
946545cfc5
Chore: Move LocalStorageValueProvider under @grafana/data pacakge ( #89580 )
...
Rehome LocalStorageValueProvider
2024-06-24 15:06:49 +02:00
Ashley Harrison
7939745411
Chore: SCSS cleanup ( #89563 )
...
* fix fonts loading from CDN
* migrate font-awesome styles to emotion globals
* fix font-awesome rendering
* remove storybook scss overrides
* fix storybook theme imports
2024-06-24 11:42:16 +01:00
ismail simsek
dd15c825f0
Chore: Export SelectMenuOptions ( #89546 )
...
export SelectMenuOptions
2024-06-21 17:00:07 +02:00
Ashley Harrison
3c15781788
Panel: Fix text aliasing bug when panel is loading ( #89538 )
...
* place loading bar animation in its own stacking context to prevent aliasing of text
* add comment
2024-06-21 14:40:51 +01:00
ismail simsek
957957e62a
Chore: Move amendTimeSeries in @grafana/data package ( #89456 )
...
* move amendTimeSeries in @grafana/data package
* betterer and prettier
2024-06-21 13:39:42 +03:00
Ashley Harrison
be65aaf5dc
Chore: Clean up some more old SCSS ( #89404 )
...
* remove/migrate normalize.scss
* fix typo
* migrate _add_data_source styles
* migrate panel-header styles
* migrate slate styles to emotion globals
* put back a couple of classes used by external plugins
2024-06-21 10:03:57 +01:00
Ashley Harrison
8840471574
Internationalisation: Update docs with nested variable examples ( #89484 )
...
* update i18n docs to handle interpolating variables inside inner components
* update with wrapping component example
2024-06-21 09:48:40 +01:00
Yuri Tseretyan
b075926202
Alerting: Time Intervals API ( #88201 )
...
* expose ngalert API to public
* add delete action to time-intervals
* introduce time-interval model generated by app-platform-sdk from CUE model the fields of the model are chosen to be compatible with the current model
* implement api server
* add feature flag alertingApiServer
---- Test Infra
* update helper to support creating custom users with enterprise permissions
* add generator for Interval model
2024-06-20 16:52:03 -04:00
Bogdan Matei
543e71eb28
Scopes: Pass selected scopes to dashboard JSON fetching ( #89157 )
2024-06-20 18:49:19 +03:00
Andre Pereira
fc4a9904c9
Tempo: TraceQL metrics step option ( #89434 )
...
* Add step option for metric queries
* Add support for compare metric queries
* Remove unneeded line
* Delete step if it's not defined
2024-06-20 15:22:50 +01:00
Tobias Skarhed
924a94cf80
New Select: Use virtual list ( #89290 )
...
* use react-virtual
* Render story with 100k items
* Dyanmic height and TanStack
* Remove weird item
* Add numberOfOptions to story
* Update class name
* Update class name
2024-06-20 16:51:17 +03:00
ismail simsek
2a714601a7
Chore: Remove prometheusIncrementalQueryInstrumentation feature toggle ( #89463 )
...
* remove prometheusIncrementalQueryInstrumentation feature toggle
* remove profile method
* remove more about profiling
2024-06-20 15:04:22 +02:00
Andres Martinez Gotor
44fd13c742
Repurpose wrong datasource UID feature flag ( #89363 )
2024-06-20 12:56:39 +02:00
Tobias Skarhed
df987fe2e5
PanelChrome: Use labelledby for accessible title ( #88781 )
...
* Add labelledby to PanelChrome
* Fix React's subpar useId
* No labelledby if there is no title
2024-06-20 09:43:46 +02:00
Kyle Cunningham
5d328983a1
Table: Don't wrap text labels for gauge cells ( #88005 )
...
Don't wrap text
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-06-19 19:12:11 +03:00
Victor Marin
13e16a4142
Transformations: Fix filter by value error on interpolation ( #89418 )
...
* string check before interpolation
* refactor
2024-06-19 18:16:04 +03:00
Tobias Skarhed
4a74330a09
TimeRangePicker: Improve screen reader support ( #89409 )
...
* Aria-expanded and tabs
* Remove weird prop
* Remove unused import
* Fix padding
* Use useId
2024-06-19 16:45:05 +02:00
Karl Persson
3fe29809be
Zanzana: database migrations ( #89390 )
...
* Zanana: Use grafana migrations to run openFGA migration files and initilize store.
* Add feature toggle
* Zanzana: return noop client if feature toggle is disabled
2024-06-19 15:59:47 +02:00
Ashley Harrison
ceaf510a7d
Chore: SCSS cleanup ( #89355 )
...
* remove/migrate normalize.scss
* fix typo
* migrate _explore styles
* make json-formatter styles global
2024-06-19 13:28:00 +01:00
Stéphane Cazeaux
6b876f1e38
Prometheus: Fix interpolating adhoc filters with template variables ( #88626 )
...
* Prometheus: replace variables on adhoc filters
Fixes #87979
Signed-off-by: Stéphane Cazeaux <stephane.cazeaux@orange.com>
* Prometheus: replace variable filters on adhoc variables also when promQLScope=true
Signed-off-by: Stéphane Cazeaux <stephane.cazeaux@orange.com>
---------
Signed-off-by: Stéphane Cazeaux <stephane.cazeaux@orange.com>
2024-06-19 14:02:17 +02:00
Dominik Prokop
d46df10d30
DashboardScene: Show dashboard not found view ( #89342 )
...
* DashboardScene: Show dashboard not found view
* Test fix
* Use correct selector
2024-06-19 13:33:29 +02:00
ismail simsek
76047d9365
Prometheus: Don't use match[] parameter if there is no metric ( #89352 )
...
don't use match[] parameter if there is no metric
2024-06-19 08:19:49 +02:00
Yuri Kotov
a5e02f033a
Prometheus: Fix query builder visualization when a query has by() clause for quantile ( #88480 )
...
Prometheus query builder: add support for by() clause for quantile aggregation
2024-06-19 08:19:27 +02:00
Dave Henderson
3bbc821131
Metrics: Add ability to disable classic histogram for HTTP metric ( #88315 )
...
metrics: Add ability to disable classic histogram for HTTP metric
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-06-18 15:37:44 -04:00
Kristin Laemmert
50244ed4a1
Experimental Feature Toggle: databaseReadReplica ( #89232 )
...
This adds a version of the SQLStore that includes a ReadReplica. The primary DB can be accessed directly - from the caller's standpoint, there is no difference between the SQLStore and ReplStore unless they wish to explicitly call the ReadReplica() and use that for the DB sessions.
Currently only the stats service GetSystemStats and GetAdminStats are using the ReadReplica(); if it's misconfigured or if the databaseReadReplica feature flag is not turned on, it will fall back to the usual (SQLStore) behavior.
Testing requires a database and read replica - the replication should already be configured. I have been testing this locally with a docker mysql setup (https://medium.com/@vbabak/docker-mysql-master-slave-replication-setup-2ff553fceef2 ) and the following config:
[feature_toggles]
databaseReadReplica = true
[database]
type = mysql
name = grafana
user = grafana
password = password
host = 127.0.0.1:3306
[database_replica]
type = mysql
name = grafana
user = grafana
password = password
host = 127.0.0.1:3307
2024-06-18 11:07:15 -04:00
Ashley Harrison
50dd95c09b
Chore: Remove betterPageScrolling
toggle ( #89339 )
...
* remove betterPageScrolling toggle
* add scrollTo test shim
2024-06-18 14:33:08 +01:00
Mihai Doarna
d074cc7892
Auth: Implement reload function for LDAP ( #89267 )
...
* keep config in a separate struct in LDAP
* implement reload function for LDAP
* remove param from sso service constructor
* update unit tests
* add feature flag
* remove nil params
* address feedback
* add unit test for disabled config
2024-06-18 14:31:27 +03:00
Levente Balogh
1d6c9d4690
Plugin extensions: Return react components from usePluginComponents()
( #89237 )
...
feat: return with react components from `usePluginComponents()`
2024-06-18 09:40:25 +02:00
Ryan McKinley
ea7f6ea32f
Explore: Avoid sending panelId header unless we are in a dashboard ( #88255 )
2024-06-18 07:31:42 +03:00
Kyle Cunningham
3776c44c33
Table component: Fix sub-table rows not displaying correctly ( #89082 )
...
* Fix expanded height issue
* Prettier
* 🙅♂️ to console.log
2024-06-18 03:19:00 +07:00
Ida Štambuk
ab2af9b8f7
Feature management: Add openSearchBackendFlowEnabled feature toggle ( #89208 )
2024-06-17 11:41:50 +02:00
Tobias Skarhed
0107754da8
Select: Add orange indicator to selected item ( #88695 )
...
* Initial experiment
* Add pill and underline
* Text decoration for hover
* Only set underline on the title
* Remove underline from hover
* Remove underline alltogether
2024-06-17 10:39:28 +02:00
Adela Almasan
c3b772618a
Tooltip: Add tooltip support to Histogram ( #89196 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-06-14 11:23:25 -05:00
Ashley Harrison
7c5c01cb6c
Chore: Tidy up more font-awesome SCSS ( #89207 )
...
* migrate pull-right/pull-left
* remove fa-rotate and fa-flip
* remove _stacked
* remove font-awesome _list
* remove font-awesome _larger
* remove fa fixed-width
* remove fa animated styles
* move sr-only to global styles
* condense remaining font-awesome stuff into 1 file
* extract out spin animation into util folder
2024-06-14 11:35:32 +01:00
grafana-delivery-bot[bot]
40e3601982
Release: Bump version to 11.2.0-pre ( #89184 )
...
* "Release: Updated versions in package to 11.2.0-pre"
* fix newline
---------
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
2024-06-13 15:08:07 -05:00
Tobias Skarhed
5e2f08de31
New Select: Initial scaffolding ( #89114 )
...
* Initial scaffolding
* Extend props from Input
* Rename to Combobox
* Use search icon
* Remove use of SelectableValue
* Remove unused import
* Memoize
2024-06-13 13:41:14 +02:00
Gabriel MABILLE
afcb5a855c
AuthZ: embed an authorization server ( #89018 )
...
* AuthZ: embed an authorization server
* CODEOWNERS
* Remove swagger
* WIP
* Flatten structure and inject wireset
* sync mod files
* Rename authorization package
* Fix swagger gen
* CODEOWNERS
* Use itf instead of impl
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2024-06-13 11:41:35 +02:00
Matias Chomicki
7e9e5f5346
Chore: bump @grafana/experimental ( #89119 )
...
* Chore: bump @grafana/experimental
* chore: upgrade all package.json
2024-06-13 08:46:59 +00:00
Drew Slobodnjak
2fcc4d8cd7
Table: Fix row count during filter ( #89004 )
...
* Table: Fix row count during filter
* Fix pagination ranges
2024-06-12 13:54:39 -07:00
Juan Cabanas
7664b89209
ShareModal: Share externally ( #88259 )
2024-06-12 17:02:06 -03:00
Ashley Harrison
13d00e09ab
Chore: Migrate some more SCSS to emotion ( #89038 )
...
* migrate section-heading
* move fonts to global styles
* migrate code styles to emotion globals
* migrate spacings styles and leave some in angular
* padding should be 2 here not 1
2024-06-12 14:46:20 +01:00
Matias Chomicki
ff0c9bd66a
Log: Added panel support for filtering callbacks ( #88980 )
...
* chore: update stale comment
* Logs Panel: add props for interactive callbacks
* LogsPanel: type guard unknown props
* chore: add comments
* chore: rename popover filtering callbacks prop names
* chore: format panelcfg
* Formatting
* LogsPanel: add default label filter handlers using panel context
* Formatting
* chore: add tests for new props
2024-06-11 16:54:41 +03:00
Galen Kistler
1f967a89b6
Frontend: InteractiveTable fix - prevent styles from leaking into tables added in expanded rows ( #88948 )
...
* fix: prevent styles from leaking into tables added in expanded rows
2024-06-11 06:40:29 -05:00
Ashley Harrison
09dfdef378
Calendar: Add labels for next/previous month ( #89019 )
...
add labels for next/previous month
2024-06-11 11:49:02 +01:00
Ashley Harrison
06c30ee165
Chore: Migrate more SCSS styles ( #88780 )
...
* remove animations mixins
* move drop and drop-element to angular file
* migrate submenu scss
2024-06-10 16:10:54 +01:00
Leon Sorokin
89a0bec208
Transformations: Keep original field.labels.name
when joining frames ( #88873 )
2024-06-10 09:16:58 -05:00
Juan Cabanas
03a000e1b5
ConfirmModal: Reuse confirm content ( #88577 )
2024-06-10 11:14:25 -03:00
kay delaney
207672365a
@grafana/data: Introduce new getTagKeys/getTagValues response interface ( #88369 )
...
* @grafana/data: Introduce new getTagKeys/getTagValues response interface
2024-06-10 13:48:40 +01:00
Laura Fernández
84b638fb26
PinNavItems: Create feature toggle ( #88975 )
2024-06-10 13:40:03 +02:00
Bogdan Matei
56ce88dea3
Filters: Introduce enrichFiltersRequest ( #88913 )
2024-06-10 09:09:59 +02:00
Kyle Cunningham
8aa1bbe27c
Table Panel: Enable text wrapping ( #86895 )
...
* Calculate row height
* Move things around
* Update getItemSize to use text bounding box
* Update types
* Cleanups and reminders
* Calculate line height
* Update line height calculation
* Remove debugging
* Add cell option editing
* Prettier
* Use field configured for text wrapping
* Add TODO
* Make sure column configuration is correct
* Update height heuristic and hover behavior
* Disable overflow on hover with text wrapping
* Update heuristic
* Clean things up
* Color background cell options
* Fix tests
* Prettier
* React deps
* Remove old hook dep
* Fix type errors
* Update label and description for editor
* Fix non-wrapped case
* Make sure color background works
* Prettier
* Address review comments
* fix prettier
* Add heuristic for field sizing
* Fix up logic
* Prettier
* Fix test
* Oh prettier 🙈
* Don't wrap text on non-string fields
* Add wrapping to color text cell
* Prettier
* Fix option not showing for auto cell type
* Move longest field guessing into function
* Clean things up
* Add tests
* Make sure text won't flake
* Prettier
* Remove spurious import
* Ignore any in this case
* Add alpha label
* Prettier
* Fix typecheck
* Fix crash when sampling when there are undefined records
* Update heuristic to take into account long strings
* Prettier
* Update scale factors
* Update field index selection
* Prettier
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-06-07 23:15:33 +07:00
Levente Balogh
ebe42e1ada
Plugins: Allow apps to expose components. Update the extensions API. ( #87236 )
...
* feat: introduce exposable components and update the public APIs
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
* tests: fix the tests for `usePluginComponent()`
I broke them when I wrapped the component with the PluginContextProvider which fetches the plugin metadata.
* fix: typo
---------
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2024-06-07 18:05:00 +02:00
Jack Westbrook
0e73c4d387
Storybook: Bump to 8.1.6 ( #88899 )
...
* chore(storybook): bump to latest 8.1.6
* chore(yarn): dedupe yarn.lock post storybook update
* chore(typescript): align react types across repo
2024-06-07 14:31:31 +02:00
Zoltán Bedi
a1851b4c0a
SQL: change buttons aria-label to title ( #88744 )
2024-06-07 11:40:11 +02:00
Andreas Christou
c9778c3332
AzureMonitor: Prometheus exemplars support ( #87742 )
...
* Update types
* Mark datasource as supporting traces
* Add logic to transform exemplar query to traces query
* Render appropriate editor
* Run trace query for exemplars
* Refactor out common functions
- Add function to retrieve first/default subscription
* Add route for trace exemplars
* Update logic to appropriately query exemplars
* Update traces query builder
* Update instance test
* Remove unneeded import
* Set traces pseudo data source
* Replace deprecated function calls
* Add helper for setting default traces query
* Don't show resource field for exemplars query
* When resetting operation ID for exemplars set query to default
- Update tests
* Update query header to appropriately set the service value
* Fix response frame creation and update tests
* Correctly select resource
* Convert subscriptionsApiVersion to const
* Add feature toggle
2024-06-06 17:53:17 +01:00
Ashley Harrison
5f33943397
Select: Revert "preserving custom value" changes ( #88856 )
...
* revert Select changes as we can handle it outside of the base select component
* update scenes
* update scenes properly
* revert changes to azure-monitor e2e tests
2024-06-06 17:33:31 +01:00
Adela Almasan
3ad03d869d
VizTooltip: Allow setting the maxWidth
option ( #88652 )
2024-06-06 11:20:58 -05:00
Staton Hysell
0e62c200dd
Update QuerySuggestionItem.tsx ( #86950 )
...
* Update QuerySuggestionItem.tsx
Adjusts the styling of the "no" button in the explainer feedback section to a standard secondary variant instead of the success styling
* run prettier for drone
---------
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com>
2024-06-06 17:17:01 +03:00
Bogdan Matei
8d36949f61
Scopes: UI Improvements ( #88026 )
2024-06-06 16:00:56 +02:00
renovate[bot]
b0e73590ef
Update dependency eslint-plugin-jsdoc to v48.2.8
2024-06-06 10:22:39 +00:00
Joao Silva
a23174849c
TimePicker: Fix bug where recent timeranges is cut off ( #88795 )
2024-06-06 10:49:59 +01:00
Andre Pereira
277067ac9d
AnnotationsPlugin2: Implement support for rectangular annotations in Heatmap ( #88107 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-06-05 16:48:37 -05:00
Ivana Huckova
023857625a
Elasticsearch: Remove enableElasticsearchBackendQuerying
feature toggle ( #88668 )
...
* wip
* Fix newly introduced any
* Remove toggle
* Remove unused code in LegacyQueryRunner
2024-06-05 17:03:29 +02:00
renovate[bot]
8dcbd74803
Update dependency rc-drawer to v7.2.0 ( #88785 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 16:03:06 +01:00
Ryan McKinley
41e0430f83
K8s/Dashboards: Add frontend api to switch between implementations ( #88632 )
2024-06-05 17:34:23 +03:00
renovate[bot]
1ceb9e8e9d
Update babel monorepo to v7.24.7
2024-06-05 14:14:01 +00:00
Ashley Harrison
2297687ae1
Chore: Ensure all react-transition-group
animations use nodeRef
( #88604 )
...
* ensure all react-transition-group animations pass nodeRef
* clone children instead of wrapping in div
* remove div wrapper
* revert back to div
2024-06-05 15:01:50 +01:00
renovate[bot]
0188fc3e1f
Update dependency rc-cascader to v3.26.0 ( #88777 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 14:52:25 +01:00
renovate[bot]
3a6034b58e
Update dependency prettier to v3.3.1 ( #88771 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 14:18:22 +01:00
Dmitry Bashkatov
17525ad43f
Logs: Added support for numeric log levels ( #87366 )
...
* logs: add support for numeric loglevels
* Log types: add a numeric level map to LogLevel
* getLogLevelFromKey: adapt to support numeric levels
* Formatting
* getLogLevelFromKey: accept strings or numbers
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com>
2024-06-05 13:56:36 +02:00
Marcus Efraimsson
fe3e5917f1
Plugins: Preserve trailing slash in plugin proxy ( #86859 )
...
* Plugins: Preserve trailing slash in plugin proxy
* enable toggle by default
2024-06-05 13:36:14 +02:00
renovate[bot]
cd5f485df7
Update dependency tslib to v2.6.3
2024-06-05 10:08:51 +00:00
renovate[bot]
4443438fab
Update dependency @types/node to v20.14.2
2024-06-05 09:48:36 +00:00
Matias Chomicki
ec9aecd82b
Loki: remove query formatting ( #88636 )
...
* Loki: remove query formatting
* Loki formatting: remove feature flag
* chore: remove test
* Formatting
2024-06-05 12:46:28 +03:00
renovate[bot]
45336105b2
Update dependency glob to v10.4.1 ( #88717 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 09:32:39 +01:00
Ihor Yeromin
618c51e193
Stat: Cut the top of the chart issue ( #88640 )
...
* fix(stat): update config on range change
2024-06-04 19:09:10 +02:00
Ryan Watts
f1dce0c7d7
XYChart: Use same auto-ranging logic for X and Y axes ( #88584 )
2024-06-04 11:58:59 -05:00
Matias Chomicki
1cfb21a74c
Logs: improve deduplication supporting code and fix duplicated frames ( #88716 )
...
* Logs: change refId approach to deduplicate infinite scrolling rows
* Chore: update tests
* chore: add comment
* Prettier
2024-06-04 19:09:33 +03:00
renovate[bot]
404de83b06
Update dependency eslint-webpack-plugin to v4.2.0 ( #88715 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 18:44:58 +03:00
renovate[bot]
d4c28aa757
Update dependency @types/react-highlight-words to v0.20.0 ( #88693 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 14:54:22 +01:00
renovate[bot]
b8cd5bb57c
Update dependency @types/node to v20.14.1 ( #88689 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 13:58:08 +01:00
Ashley Harrison
3f7017a471
Chore: Remove nestedFolderPicker
toggle ( #88660 )
...
remove nestedFolderPicker toggle
2024-06-04 12:16:12 +03:00
renovate[bot]
de67734871
Update dependency @react-awesome-query-builder/ui to v6.5.2 ( #88630 )
...
* Update dependency @react-awesome-query-builder/ui to v6.5.2
* fix type errors
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-06-04 12:15:16 +03:00
Ashley Harrison
9f95841c45
Chore: Fix typo in lint rule file name ( #88662 )
...
rename file
2024-06-04 12:08:37 +03:00
Ashley Harrison
1cb701c304
Chore: Move Switch
SCSS to emotion/angular ( #88553 )
...
move switch scss to emotion/angular
2024-06-04 09:34:38 +01:00
Oscar Kilhed
0f89f4b2d2
Grafana UI: stop input element of the react select component from overflowing and causing layout issues. ( #88372 )
...
* Grafana UI: stop input element of the react select component from overflowing the input container
* update snapshot since the css changed
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-06-04 10:13:43 +02:00
Brendan O'Handley
eeabb6f066
Prometheus: Add hints for native histograms ( #87017 )
2024-06-03 16:59:06 -05:00
Ashley Harrison
16099c9913
Drawer: Fix overflow to stop drag handle being cut off ( #88500 )
...
fix drawer overflow to stop drag handle being cut off
2024-06-03 15:35:46 +01:00
renovate[bot]
0ba54152dc
Update dependency ts-jest to v29.1.4
2024-06-03 12:27:33 +00:00
renovate[bot]
44c62dd536
Update dependency sass to v1.77.4
2024-06-03 11:44:55 +00:00
Arati R
73905695e3
Storage: Remove dual writing mode feature flags ( #88573 )
...
Remove dual writing feature flags
2024-05-31 20:18:09 +02:00
Leon Sorokin
a257b74d6e
TooltipPlugin: Fix console error when data updates while anchored ( #88546 )
2024-05-31 13:17:54 -05:00
Ashley Harrison
8811c14aeb
AdHoc filters: add support for groups in adhoc filters + fix group styling ( #88430 )
...
add support for groups in adhoc filters + fix group styling
2024-05-31 11:04:19 +01:00
renovate[bot]
06121bb054
Update dependency eslint-plugin-react to v7.34.2
2024-05-31 09:56:48 +00:00
renovate[bot]
287e3868ed
Update dependency @prometheus-io/lezer-promql to v0.52.1 ( #88531 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 12:27:54 +03:00
Ashley Harrison
8c88f605e4
Chore: Migrate some more scss styles ( #88484 )
...
* migrate some more styles
* migrate typeahead styles
* migrate tagsinput styles
2024-05-31 10:04:25 +01:00
Nick Richmond
fddf77ee35
CodeEditor: Fix broken styles ( #88495 )
...
* fix: remove erroneous container
* fix: update selector
* fix: pass data attrs via `wrapperProps`
* fix: ensure `toBeInTheDocument` checks have unique markup
2024-05-30 20:34:00 +03:00
renovate[bot]
de201c5cdd
Update dependency eslint-plugin-jsdoc to v48.2.7
2024-05-30 13:34:49 +00:00
renovate[bot]
fabed77d1f
Update dependency css-loader to v7.1.2
2024-05-30 12:44:55 +00:00
renovate[bot]
4b62be37f5
Update dependency core-js to v3.37.1
2024-05-30 12:11:46 +00:00
renovate[bot]
0c572e8db7
Update dependency @types/node to v20.12.13
2024-05-30 10:45:34 +00:00
renovate[bot]
c5c38b57c4
Update dependency @types/lodash to v4.17.4
2024-05-30 09:52:46 +00:00