Commit Graph

6844 Commits

Author SHA1 Message Date
Giuseppe Guerra
e42d8f0bd0
Plugins: Removed feature toggle enablePluginsTracingByDefault (#85953) 2024-04-11 18:40:47 +02:00
renovate[bot]
51d5a4c8f2
Update dependency @testing-library/dom to v10 (#85958)
* Update dependency @testing-library/dom to v10

* update @testing-library/react as well

* fix unit tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-11 17:29:35 +02:00
renovate[bot]
bb56f4a605
Update dependency @grafana/e2e to v10 (#85952)
* Update dependency @grafana/e2e to v10

* remove @grafana/e2e dependency from @grafana/prometheus

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-11 16:16:12 +02:00
renovate[bot]
b4b0a80e86
Update dependency sass to v1.74.1 (#85947)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 14:32:37 +01:00
renovate[bot]
6a4ef71c4e Update dependency @types/eslint to v8.56.8 2024-04-11 10:55:18 +00:00
Laura Fernández
2986273273
Grafana UI: CellActions - Replace HorizontalGroup with Stack (#85860) 2024-04-11 10:59:23 +02:00
renovate[bot]
1ed3dc22d5 Update react monorepo 2024-04-11 08:47:05 +00:00
renovate[bot]
8461310e36 Update dependency rc-cascader to v3.24.1 2024-04-11 08:27:47 +00:00
renovate[bot]
9fc8599bbf Update dependency eslint-plugin-jsdoc to v48.2.3 2024-04-10 18:14:13 +00:00
Laura Fernández
cd79fe1a7c
Grafana UI: ThemeDemo - Replace HorizontalGroup and VerticalGroup with Stack and Box (#85888) 2024-04-10 18:23:31 +02:00
Josh Hunt
7aac5f6b3e
Chore: Fix custom eslint rule typechecking (#85886) 2024-04-10 17:12:31 +01:00
renovate[bot]
b1ad46e426 Update dependency @types/node to v20.12.7 2024-04-10 15:26:09 +00:00
Ashley Harrison
3c69de6be5
Chore: removing some type assertions (#85839)
* fix some type assertions in loops

* some more cleanup

* some alerting fixes

* put comments in correct place to ignore rule

* couple more

* undo SilencesFilter changes
2024-04-10 14:54:31 +01:00
Laura Fernández
22d33bd354
Grafana UI: SecretTextArea - Replace HorizontalGroup with Stack and Box (#85849) 2024-04-10 13:41:02 +02:00
renovate[bot]
d480cf4977 Update dependency @grafana/faro-web-sdk to v1.5.1 2024-04-10 11:24:40 +00:00
Laura Fernández
1dce01fdd7
Grafana UI: PanelChrome - Replace HorizontalGroup with Stack in documentation and stories (#85843) 2024-04-10 11:44:03 +02:00
renovate[bot]
0585b55bb1
Update dependency @floating-ui/react to v0.26.12 (#85842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 12:26:02 +03:00
renovate[bot]
651223fe2d Update babel monorepo to v7.24.4 2024-04-10 09:06:54 +00:00
Ashley Harrison
bbf874b96d
ConfirmModal: Pressing enter in confirmation input now triggers primary action (#85812)
wrap confirm modal in a form
2024-04-10 09:22:22 +01:00
Darren Janeczek
66c0fd4dcc
chore: update datatrails feature flag and enable (#85508)
* chore: update datatrails feature flag and enable

* fix: rename `datatrails` feature flag to `exploreMetrics`
2024-04-09 14:15:18 -04:00
Laura Fernández
88f116e96b
CSS: use prefers-reduced-motion to let users skip animations (#85450) 2024-04-09 15:27:28 +02:00
Kristina
5305316f5a
Explore: Move Query History to be screen wide (#84321)
* WIP

* Use splitpanewrapper for drawer

* Get rich history pulling from multiple datasources

* highlight pane

* Fix datasource data handling

* create ds/explore map, move around ds lookup

* Handle no filters

* Fix tests and some errors

* Fix context menu issue

* (Poorly) enable scrolling, fix onClose to function

* Remove highlighting, use legacy key, fix casing

* fix filtering to handle non-simple data

* Fix linter, add translations

* Fixing tests~~

* Move to explore drawer and fix some more tests

* Kinda fix drawer stuff?

* Fix remaining card tests

* Fix test

* Fix tests

* Partially fix starred tab tests

* Fix integration tests

* Fix remaining tests 🤞

* Add a test and a clarifying comment behind a couple hooks

* Remove unused code

* Fix button styling and fix animation (but break width)

* Make Drawer using parent width (100%)

* Fix tests and some small catches

* Add tests for selectExploreDSMaps selector

---------

Co-authored-by: Piotr Jamroz <pm.jamroz@gmail.com>
2024-04-09 07:36:46 -05:00
Laura Fernández
00be24d6b3
Chore: Create handleReduceMotion util function to manage animations (#85785) 2024-04-09 13:10:37 +02:00
Ashley Harrison
4b5b738646
Time Zones: Fix relative time when using UTC timezone (#85637)
add UTC case to e2e test + let UTC pass through to moment.tz
2024-04-09 09:54:57 +01:00
Laura Fernández
0bdb96552a
Grafana UI: Modal - Replace HorizontalGroup with Stack (#85756) 2024-04-09 10:31:11 +02:00
Erik Sundell
0f1b65a7ad
Grafana E2E: Add deprecation notice and update docs (#85619)
* add deprecation notice

* update docs

* Update packages/grafana-e2e/README.md

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

---------

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2024-04-09 10:10:19 +02:00
Laura Fernández
0e12f60ee6
Grafana UI: FilterPill.story.tsx - Replace HorizontalGroup with Stack (#85736) 2024-04-08 17:21:58 +02:00
Laura Fernández
f3fb083381
GrafanaUI: DateTimePicker - replace HorizontalGroup with Stack component (#85663) 2024-04-08 12:44:01 +02:00
Ashley Harrison
b3cff22db3
Chore: Improve types (#85659)
* fixing some types

* more type fixes

* few more

* last couple

* tiny tweak
2024-04-08 09:56:21 +01:00
Tim Levett
c47be316eb
Reducers: Add in basic Percentile Support (#85554) 2024-04-06 06:44:49 -05:00
Isabella Siu
58f32150c2
CloudWatch: Improve metric label parsing (#84835) 2024-04-05 11:57:56 -04:00
Bogdan Matei
9d44c8e8cf
Add auto to refresh picker (#85584) 2024-04-05 18:31:40 +03:00
Laura Fernández
9af259a0d6
GrafanaUI: ConfirmModal - replace HorizontalGroup with Stack and Box component (#85660) 2024-04-05 16:11:53 +02:00
Laura Fernández
362c95c606
Grafana UI: Button.story.tsx - Replace HorizontalGroup and VerticalGroup with Stack and Box (#85644) 2024-04-05 15:45:55 +02:00
Laura Fernández
661aaf352e
GrafanaUI: IconButton - replace HorizontalGroup and VerticalGroup with Stack component (#85639) 2024-04-05 12:03:57 +02:00
Nick Richmond
559fab9dc6
Prometheus: Fuzzy search for metric names in Code Mode (#85396)
* perf: limit metric names in Code Mode suggestions

* feat: configurable metric names limit

* feat: code mode autocomplete info/disclaimer

* chore: put new functionality behind new feature toggle

* refactor: avoid type assertions

* refactor: avoid explicit `any`

refactor: type guards

* refactor: type guards

* chore: add testdata results

* fix: add missing feature toggle guard

* perf: prefer array access to `Array.prototype.at`

* test: add missing config override

* test: refactor for brevity & clarity

* perf: avoid unnecessary mapping

* chore: undo testdata changes

* fix: use correct limit; perf optimizations

* refactor: avoid unnecessary `async`s

* types: simplify

* test: add missing tests

* fix: avoid hardcoding

* test: update mock path

* docs: fix typo

style: remove formatting artifact

style: remove formatting artifact

style: remove formatting artifact

* fix: event scope regression

* style: refactor for clarity

* refactor: prefer `useCallback` to in-effect handler

* refactor: simplify & broaden `filter`

* refactor: rename file to keep with conventions

* chore: mirror Prometheus package changes in app

* refactor: prefer no `@ts-ignore`

* chore: update betterer results

* docs: use type in TSDoc `@link` without `@ts-ignore`

* test: add missing provider

* test: fix jest mock path

* fix: display disclaimer in empty input case
2024-04-04 23:38:23 +03:00
Kyle Cunningham
67045aa90c
Table Panel: Update background colors to respect transparency (#85565)
* Update background colors to respect alpha

* codeincarnate/fix-table-background/ lint

---------

Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-04-04 22:55:37 +07:00
Konrad Lalik
9b4f88c6f6
Alerting: Improve template preview (#84798)
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-04-04 18:37:24 +03:00
Alex Khomenko
b08285962d
Saga-icons: Add svgs (#85522)
* Add svgs

* Fix output dir
2024-04-04 17:57:22 +03:00
Dominik Prokop
32b6ef9d15
Feature toggle to add filter and group by variables to all new dashboards by default (#85531)
* Add feature toggle

* Add filters and group by variables by default to all new dashboards

* Nits

* Tests

* Rename feature toggle to newDashboardWithFiltersAndGroupBy
2024-04-04 13:25:21 +02:00
Eunice Kim
4e60f44d98
Chore: Fix trailing spaces in prometheus min step (#85507)
Fix trailing spaces in prometheus min step
2024-04-04 13:14:49 +02:00
Tobias Skarhed
f387cff836
Accessibility: Default Icon to aria-hidden (#84362)
* Icon: aria hide icon, unless a label is set

* Update doc

* Remove weird auto import

* Fix fialing tests

* Add recommendation for Tooltip

* Consider more aria attributes to support Tooltip

* Handle tabIndex and aria-hidden case

* Add comment about aria-label
2024-04-04 12:07:50 +02:00
Leon Sorokin
130d561924
Chore: Restore some removed UI components to reduce BC surface area (#85546) 2024-04-04 04:31:28 -05:00
Kyle Cunningham
075976bea6
Transformations: Add applicability function to group to nested table (#85501)
* Add applicability function to group to nested table

* codeincarnate/group-to-nested-cond/ run linter

---------

Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-04-04 02:44:52 +07:00
Tim Levett
a5707788ba
Transformations - make substring and not substring transformer case insensitive. (#84699)
* make substring and not substring transformer case insensitive

* timlevett/case-insensitive/ run linter

---------

Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-04-03 11:11:09 -05:00
Leon Sorokin
1522499c4a
VizTooltips: Remove remaining old bits (#85500)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-04-02 19:32:01 -05:00
Leon Sorokin
d601acac3a
VizTooltips: Remove old tooltips and annotations (#84420)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-04-02 15:32:46 -05:00
renovate[bot]
a360cf0c85
Update dependency @types/node to v20.12.2 (#85480)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 18:47:56 +03:00
Jo
5340a6e548
Auth: Extended JWT client for OBO and Service Authentication (#83814)
* reenable ext-jwt-client

* fixup settings struct

* add user and service auth

* lint up

* add user auth to grafana ext

* fixes

* Populate token permissions

Co-authored-by: jguer <joao.guerreiro@grafana.com>

* fix tests

* fix lint

* small prealloc

* small prealloc

* use special namespace for access policies

* fix access policy auth

* fix tests

* fix uncalled settings expander

* add feature toggle

* small feedback fixes

* rename entitlements to permissions

* add authlibn

* allow viewing the signed in user info for non user namespace

* fix invalid namespacedID

* use authlib as verifier for tokens

* Update pkg/services/authn/clients/ext_jwt.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* Update pkg/services/authn/clients/ext_jwt_test.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* fix parameter names

* change asserts to normal package

* add rule for assert

* fix ownerships

* Local diff

* test and lint

* Fix test

* Fix ac test

* Fix pluginproxy test

* Revert testdata changes

* Force revert on test data

---------

Co-authored-by: gamab <gabriel.mabille@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2024-04-02 17:45:15 +02:00
renovate[bot]
ac6e51c94a Update dependency @types/react to v18.2.74 2024-04-02 15:27:41 +00:00