Commit Graph

5863 Commits

Author SHA1 Message Date
Leon Sorokin
aadd5bacfa
Chore: uPlot v1.6.26 (#75199) 2023-09-22 11:33:39 -05:00
Tobias Skarhed
10a874ba6a
Stack: Improve layout (#75144)
* stack test cases

* more example

* Make changes to Stack

* Update mdx

* Add forwardRef

* Export Vertical and Horizontal components

* Fix spelling mistake

* PR feedback

* Fix export

* horizantal and vertical to row and column

* Fix failing import

---------

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-09-22 16:56:07 +02:00
Alex Khomenko
cfd468bcdd
InteractiveTable: Add controlled sort (#75289)
* InteractiveTable: Enable controlled sort

* InteractiveTable: Add docs and test

* InteractiveTable: Tweak docs

* InteractiveTable: More doc tweaks

* InteractiveTable: Remove assertion rules

* InteractiveTable: Review updates
2023-09-22 17:31:12 +03:00
renovate[bot]
f0b75360db
Update dependency @grafana/faro-web-sdk to v1.2.1 (#75291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 15:11:32 +01:00
Ashley Harrison
ff0642bf6e
Chore: Type improvements 🧹 (#75271)
* fix some e2e flows types

* some type fixes

* must... fix... more...

* MOAR

* MOREMOREMORE

* 1 more
2023-09-22 15:06:49 +01:00
Ashley Harrison
06d89e1929
Chore: add some basic validation tests for our eslint rules (#75284)
* add some basic validation tests for our eslint rules

* add 1 more valid case
2023-09-22 13:03:21 +01:00
Leon Sorokin
c358135a63
TimeSeries: Apply selected line style to custom pathBuilders (#75261) 2023-09-22 04:32:32 -05:00
Carl Bergquist
e5fbc4a4cd
web: add slo group to request meta (#74765)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2023-09-22 11:52:28 +03:00
Andres Martinez Gotor
61cdfba87a
Feature: Allow to load a core plugin as external (#75157) 2023-09-22 10:50:13 +02:00
Torkel Ödegaard
fb494c8880
TabsBar: Fix height so that it aligns with grid, and alignItems center (#75230)
better fix
2023-09-22 08:46:19 +02:00
Adela Almasan
158c669d1a
Geomap: Move tests to panels-suite (#75023) 2023-09-21 14:06:56 -05:00
kay delaney
70cb87380d
UI: Remove unused ErrorIndicator component (#75185)
Closes #75068
2023-09-21 17:50:18 +01:00
Joao Silva
42cc6b1842
GrafanaUI: Create Box component (#73637) 2023-09-21 17:13:19 +01:00
Jack Westbrook
7e4ae5fdb6
Chore: Bump systemjs-cjs-extra to latest (#75214)
chore(plugins): bump systemjs-cjs-extra to fix dependency extraction in minified plugin code
2023-09-21 17:28:05 +02:00
Alex Khomenko
9fca10bfc3
InteractiveTable: Add horizontal scroll (#74888) 2023-09-21 14:43:38 +03:00
Esteban Beltran
8e8bd2760b
Plugins: Report plugin utilization of Grafana runtime dependencies (#75156)
* Plugins: Report plugin utilization of Grafana runtime dependencies

* Change approach to determine pluginName too

* Fix tests

* Update tests

* remove commented code
2023-09-21 13:36:32 +02:00
Leon Sorokin
492ba97ba1
BarChart: Axes centered zero, borders, and colors (#75136) 2023-09-20 11:15:29 -05:00
kay delaney
0884f78110
Templating: Fix cell macro date formatting (#75159)
Closes #70301
2023-09-20 16:10:23 +01:00
Andrej Ocenas
15e54df9f2
Pyroscope: Remove "phlare" from variable, types, strings etc (#75140) 2023-09-20 16:31:22 +02:00
Josh Hunt
b1d853a480
Chore: Remove withCenteredStory storybook decorators (#75154) 2023-09-20 13:17:51 +00:00
Andrej Ocenas
b622ac2a66
Flamegraph: Remove unused code after move to package (#75103) 2023-09-20 14:51:23 +02:00
Khushi Jain
24ac1da817
GrafanaUI: Add aria-label prop to RadioButtonGroup (#67019)
* Accessibility: Added label prop to RadioButtonGroup

* Update packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButtonGroup.tsx

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>

* Update RadioButtonGroup.tsx

* Update RadioButtonGroup.tsx

* corrected ariaLabel

* fix accessibility

* change to kebab case

---------

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-09-20 14:11:44 +02:00
Josh Hunt
8a33f68ba7
Storybook: Remove flexbox from story container (#75115)
* Storybook: Remove flexbox from story container

* Update packages/grafana-ui/src/components/Monaco/CodeEditor.internal.story.tsx

Co-authored-by: Laura Benz <48948963+L-M-K-B@users.noreply.github.com>

---------

Co-authored-by: Laura Benz <48948963+L-M-K-B@users.noreply.github.com>
2023-09-20 12:58:05 +03:00
Tobias Skarhed
95c9947af2
Flex: Use forwardRef and useStyles2 additional args (#75138)
Refactor for forwardRef and use of new useStyles2
2023-09-20 10:51:32 +02:00
Victor Marin
d852aed4f3
Fix groupBy error caused by undefined aggregate field (#75089)
* fix aggregation field to return empty array instead of undefined in groupBy

* add groupBy test scenario

* remove log
2023-09-20 09:51:36 +03:00
Leon Sorokin
9dc0c8be11
TimeSeries: Rename axisShow -> axisBorderShow (#75127)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-09-19 23:43:15 +03:00
Leon Sorokin
780b60dc81
XYChart: Fix numerous axis options (#75044) 2023-09-19 14:44:50 -05:00
Ryan McKinley
e83054386b
Chore: Remove unused/deprecated method (#74485) 2023-09-19 10:51:50 -07:00
Josh Hunt
7b4536cb2f
Chore: Remove memoize-one from grafana-ui (#75016) 2023-09-19 14:34:13 +00:00
Joao Silva
53e5804049
GrafanaUI: Update border radius of InlineToast (#75098) 2023-09-19 15:18:23 +01:00
Torkel Ödegaard
1d1bdaab37
DashboardScene: ShareModal + link sharing (#74955)
* DashboardScene: Panel menu updates, adding explore action

* DashboardScene: Panel menu updates, adding explore action

* Initial test

* Update

* share modal

* Update

* rename

* Update tests

* Fix test

* update

* Fix tooltip wording

* Update translation file

* fix e2e

* Extract ShareLinkTab component

* rename to overlay

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-09-19 16:02:21 +02:00
Torkel Ödegaard
6a37a56d68
AdHocFilters: Clean-up unused prop from type (#74960)
* AdHocFilters: Clean-up unused prop from type

* Fix test
2023-09-19 16:01:30 +02:00
Nathan Marrs
8a127c4351
Dashgpt: Implement panel title and description generation (#74284)
* Add "addon" prop to options panel item descriptor; add placeholder generate buttons to panel title + description

* Add basic `ai` icon; add separate wrapping component for panel title generation button

* Add basic panel title generation

* Add basic panel description generation

* Add configuration error state for GenAI button

* Add GenAI button generic component

---------

Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-09-19 15:40:33 +02:00
Laura Benz
a52fff4e86
Grafana-UI: Add tooltip for interval picker in RefreshPicker (#74534)
* feat: add tooltip for interval picker

* refactor: remove ts error

* feat: extract new translations

* refactor: deprecate unused tooltip property

* refactor: correct syntax of dynamic string

* refactor: remove interval and autogenerated strings

* refactor: localisation

* refactor
2023-09-19 15:06:19 +02:00
Travis Patterson
98aa7db64a
Loki: Run queries in parallel behind lokiRunQueriesInParallel feature toggle (#74064)
* issue loki queries in parallel so total query time is only the slowest query rather than the sum of all query times.

* Fix lint

* Add running of queries in parallel behind feature toggle to test the functonality before release

* Add span end

* Move shared logic to separate function

* Add logging and tracing around running of all queries

---------

Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com>
2023-09-19 12:34:01 +03:00
Andrej Ocenas
b6bb22a67a
Flamegraph: Swap lines to test CI (#75072) 2023-09-19 10:34:33 +02:00
Jaroslav Benc
8b4d167de5
Plugin Extensions: Add context prop to PluginExtensionComponentConfig.component (#75019)
* Add context prop to PluginExtensionComponentConfig.component

* Make context prop optional
2023-09-19 09:53:54 +02:00
Torkel Ödegaard
1105b93104
AdhocFilters: Improve typing and signature of getTagKeys and getTagValues and behaviors (#74962)
* Add adhocFilters to DataQueryRequest

* More changes

* Progress

* Working

* added baseFilters to picker

* Remove unused code

* minor fix
2023-09-19 08:24:45 +02:00
Andreas Christou
b779ce5687
AzureMonitor: Improve Log Analytics query efficiency (#74675)
* Promisify loading schema

- Move schema loading to LogsQueryEditor
- Improve typing
- Switch callbacks to promises

* Update types

* Refactor backend for new props

- Rename intersectTime
- Support setting timeColumn
- Add additional properties to logs request body

* Update applyTemplateVariables

* Update set functions

* Add new TimeManagement component

* Update LogsQueryEditor

* Hardcode timestamp column for traces queries

* Ensure timeColumn is always set for log queries

* Update tests

* Update frontend tests

* Readd type to make migration easier

* Add migration

* Add fake schema

* Use predefined type

* Update checks and defaults

* Add tests

* README updates

* README update

* Type update

* Lint

* More linting and type fixing

* Error silently

* More linting and typing

* Update betterer

* Update test

* Simplify default column setting

* Fix default column setting

* Add tracking

* Review

- Fix typo on comment
- Destructure and remove type assertion
- Break out await into two variables
- Remove lets and rename variable for clarity
2023-09-18 18:38:39 +01:00
Andrej Ocenas
7f7a155dcd
Flamegraph: Test CI flow (#75022) 2023-09-18 18:17:57 +03:00
Josh Hunt
a54846e75c
GrafanaUI: Support memoization of useStyles additional arguments (#75000)
* GrafanaUI: Support memoisation of useStyles additional arguments

* remove spooky any
2023-09-18 13:40:21 +00:00
Ashley Harrison
f0f1da842b
Toggletip: Remove form story and update padding (#75007)
remove form story and update padding
2023-09-18 14:28:58 +01:00
Laura Fernández
0ceeb18269
Navigation: Create feature toggle for dockedMegaMenu (#74985) 2023-09-18 12:57:11 +02:00
Laura Benz
dfd6134ff1
Grafana-UI: Add title in order to read out keyboard shortcuts (#74553)
refactor: remove aria-hidden, add title
2023-09-18 10:44:12 +02:00
Andrej Ocenas
1c61427f57
Flamegraph: Remove unused types (#74918) 2023-09-14 16:26:59 +02:00
Torkel Ödegaard
ed3fb71f7b
DashboardScene: Panel menu tracking, adding explore menu action and unit tests (#74867)
* DashboardScene: Panel menu updates, adding explore action

* DashboardScene: Panel menu updates, adding explore action

* Fix test

* Update test
2023-09-14 16:12:20 +02:00
Virginia Cepeda
5d88b8a4f5
[Alerting Insights] - Use Grafana feature flag system (#74749)
Use Grafana feature flag system
2023-09-14 09:58:04 -03:00
Andre Pereira
dc44ac7b78
Tempo: Added spss config - spans per span set (#74832)
* Added spss config - spans per span set

* Set default spss when calling Tempo
2023-09-14 10:49:18 +01:00
Carl Bergquist
2d8f5c1488
featuremgmt: add internal testing feature flag (#74873)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2023-09-13 21:32:01 +03:00
Jean-Philippe Quéméner
f3b6d01306
feat(alerting): enable loki query optimization by default (#74739) 2023-09-13 13:52:40 +02:00