Commit Graph

5874 Commits

Author SHA1 Message Date
Laura Fernández
611df82259
Grafana UI: create Grid component in the unstable package (#75299) 2023-09-26 14:02:50 +02:00
Gilles De Mey
5a1580c659
Alerting: Contact points v2 part 3 (#72444) 2023-09-26 11:44:18 +03:00
Leon Sorokin
ade0de5ae9
Dashboard: Reduce scope of contain: strict to TextPanel (#75329) 2023-09-25 23:47:38 +03:00
Sarah Zinger
ef441f02d0
Cloudwatch: Fix Unexpected error (#74420)
Fix unexpected error when creating a new cloudwatch datasource.

Involves a fair amount of refactoring, so if this causes unexpected issues related to region fetching we can turn this off with the cloudwatchNewRegionsHandler feature toggle, although we do not predict it will so we are enabling it to default to true and hope to remove it shortly.
2023-09-25 14:19:12 -04:00
Victor Marin
13db9066a3
Transformations: Show row index as percent in 'Add field from calculation' (#74322)
* show row index as percentage in add field from calc transform

* prettier

* add test + modify docs

* show quantile and add percentage unit default. add explanatory tooltip and docs

* fix test

* set unit percent only on quantile mode

* Change naming to percentile

* Rename to As Percentile

* docs mods
2023-09-25 18:34:42 +03:00
Karl Persson
d15661c726
IDForwarding: Add toggle for id forwarding (#75378)
Features: Add toogle for id forwarding
2023-09-25 18:21:28 +03:00
Juan Luis Peña Wagner
ffb15ef363
NodeGraph: Allow to set node radius in dataframe (#74963)
Allow to set node radius in dataframe
2023-09-25 16:55:52 +02:00
renovate[bot]
da23aef83d
Update babel monorepo (#75353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 14:27:35 +01:00
Aditi Patel
56c75cc542
I18n: Markup ExploreToolbar component (#74292)
* chore: markup explore-split-toolbar and data-source-dropdown

* chore: markup explore-refesh-picker

* fix:  apostrophe in empty-recent-list paragraph

* chore: added markup for add to dashboard

* fix: corrected prefix

* fix: typos

* chore: updated markup prefixes in all other languages

* chore: added i18n markup for aria-labels

* i18n files generated

* i18n aria-label added for Add to Dashboard

* fix: fixed prefixes according to the grafana guidelines

* chore: generated i18n json files

* fix: fixed prefixes

* fix: apos; entity rendering

* chore: updated markup files

* chore: updated markup Locale file

* fix: updated prefix names

* chore: updated markup files

* fix: updated markup prefix for data-source-picker

* fix: trimmed extra spaces

* chore: updated markup files

* fix: added back translation phrases

* fix: Updated prefix name in DataSourceDropdown.tsx

* fix: created addToDashboard variable with translation markup
2023-09-25 10:38:17 +02:00
Torkel Ödegaard
5a91d00f52
EventBus: Fix error in ScopedEventBus (#75349) 2023-09-25 10:35:30 +02:00
Torkel Ödegaard
f4de29dd87
setRunRequest: Allow changing multiple times from tests (#75346)
setRunRequest: Allow changing multiple time from tests
2023-09-25 10:34:40 +02:00
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