Commit Graph

43671 Commits

Author SHA1 Message Date
Ashley Harrison
ebd6aa5034
Permissions: Fix incorrect navId in permissions page (#70906)
fix navId in permissions page
2023-06-29 16:35:41 +01:00
Brendan O'Handley
8cc8834407
Prometheus: Metrics explorer add docs and image (#69965)
* add docs and image

* update spelling and image

* titles are in sentence case

* run checks

* add text to differentiate the metrics explorer and the metrics browser

* spelling

* capitalize Prometheus

Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>

* code mode code style

Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>

* remove metric select option image tag

* caps for Prometheus

---------

Co-authored-by: lwandz13 <larissa.wandzura@grafana.com>
Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
2023-06-29 10:54:08 -04:00
Eric Leijonmarck
59be79b5f4
SAML UI: metric for provider card clicked (#70894)
provider card clicked
2023-06-29 15:42:52 +01:00
Matias Chomicki
f274484727
Elasticsearch: escape colons in ad hoc filters (#70611)
* Elasticsearch: escape colons in ad hoc filters

* Escape filter: update regex

* Elasticsearch: escape colons from all filters
2023-06-29 16:40:55 +02:00
Gábor Farkas
4548b0d9fc
logs: better nanosecond handling (#70878)
* logs: simplify code

* refactor

* handle nanoseconds
2023-06-29 15:33:41 +02:00
Josh Hunt
ae2378395b
Login: Fix footer from displaying under the login box (#70897) 2023-06-29 13:16:55 +00:00
Brendan O'Handley
bb7a3be86e
Prometheus: Metrics explorer remove select dropdown behavior (#70722)
* remove hover style from results

* remove metric select keyboard interactions and highlighting for table results

* update naming for metrics explorer

* fix bug for match highlighting persisting when empty query
2023-06-29 08:57:47 -04:00
Ashley Harrison
cc794b884e
ConfirmButton: Attach onClick to custom child button to better support a11y (#70504)
* change ConfirmButton to accept a function as a child so it can pass onClick to a custom child button

* spread button props instead

* update documentation

* remove duplicate line

* spread ref instead of className

* use cloneElement instead
2023-06-29 13:56:28 +01:00
Ashley Harrison
9ee2cc742a
Chore: Use theme.shape.radius.circle everywhere (#70896)
* use theme.shape.radius.circle everywhere

* add useTheme2 import
2023-06-29 13:56:05 +01:00
Gábor Farkas
890316c105
logs: add more tests (#70886) 2023-06-29 14:53:31 +02:00
Ieva
fc290281cb
Docs: reorder auth provider pages (#70764)
* order auth provider pages

* add shorter menu titles

* linting

* update reference

* rename Grafana auth section to basic auth
2023-06-29 15:44:33 +03:00
RoxanaAnamariaTurc
0e2626b004
I18n:Mark up phrases for translation on Permissions drawer (#70842)
* I18n:Mark up Permissions

* Mark up strings in Permissions file

* I18n:Mark up phrases for on Permissions drawer

* I18n:Mark up phrases for translation on Permissions page

* I18n:Mark up phrases for translation on Permissions page

* Made the changes based on suggestions received

* restore translations

* Run extract again
2023-06-29 13:43:14 +01:00
Todd Treece
8f975cfdb8
Modules: Add registry (#70859) 2023-06-29 07:58:45 -04:00
Ashley Harrison
703bf4afcc
Nested folders: Unify visual styles between tree + search view (#70814)
* unify search table styles with browse

* add a skeleton state when switching to search view

* show all column headers

* use isItemLoaded

* extract number of placeholder rows into variable + add comment

* fix all selection toggle behaviour

* tidy up

* fix unit test
2023-06-29 10:31:22 +01:00
abannachGrafana
0bbf011ca8
InteractiveTable: Add pagination and header tooltips (#70281)
* feat(interactiveTable): add pagination and header tooltips

* docs: add note about client side pagination
2023-06-29 08:22:22 +02:00
Yuri Tseretyan
2e0dae8fa0
Chore: Fix DiffReporter.Paths to properly initialize slice (#70870) 2023-06-28 18:08:05 -04:00
David Harris
7f8fe45a06
docs: typo in migration guide (#70858) 2023-06-28 20:19:20 +01:00
Alexander Weaver
f94fb765b5
Alerting: Add limit query parameter to Loki-based ASH api, drop default limit from 5000 to 1000, extend visible time range for new ASH UI (#70769)
* Add limit query parameter

* Drop copy paste comment

* Extend history query limit to 30 days and 250 entries

* Fix history log entries ordering

* Update no history message, add empty history test

---------

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2023-06-28 13:32:28 -05:00
Matthew Jacobson
00d5f7fed7
Alerting: Convert 'Both' type Prometheus queries to 'Range' in migration (#70781)
* Alerting: Convert 'Both' type Prometheus queries to 'Range' in migration
2023-06-28 14:02:57 -04:00
lwandz13
0cd56627db
Docs: Added new configure prometheus file, update index file (#70845)
* added config prometheus doc

* updated index file

* updated fundamentals exemplars doc validator issue
2023-06-28 07:27:40 -07:00
Gábor Farkas
50ad099eab
logs: refactor tests to make them smaller (#70824) 2023-06-28 16:19:34 +02:00
George Robinson
594c851d4b
Alerting: Add duration to saving alert states done (#70844) 2023-06-28 15:19:21 +01:00
Esteban Beltran
5732fc7b2a
Plugins: Add CDN support to sandboxed frontend plugins (#70608) 2023-06-28 16:58:37 +03:00
Sven Grossmann
48db23b32f
Logs: Add back properties to prevent unnecessary re-renders (#70839)
* add back properties

* use spread to not define all props
2023-06-28 15:45:22 +02:00
Marcus Andersson
f1529997f2
Explore: Make toolbar action extendable by plugins (#65524)
* Cleaned up solution and starting to make it work properly.

* will disable add button if no queries available.

* Changed so 'add to dashboard' is registered as an extension in explore.

* moved utility function to utils

* hides button if insufficent permissions.

* Fixed ts issue.

* cleaned up the code and change to using the 'getPluginLinkExtensions'

* Added values to explore context.

* truncating title in menu.

* added tests to verify explore extension point.

* fixed failing tests in explore.

* made excludeModal optional.

* removed temporary fix to force old button.

* reverted generated files.

* fixed according to feedback.

* Update public/app/features/explore/extensions/ToolbarExtensionPoint.test.tsx

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* Update public/app/features/explore/extensions/ToolbarExtensionPoint.test.tsx

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* added tests suggested in reviews.

* fixed failing tests after sync with main.

* replaced exploreId type with stirng.

* cleaned up code a bit more.

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2023-06-28 15:42:41 +02:00
Ida Štambuk
05b997f3d9
Plugins: Enable feature toggles for long running queries by deafult (#70678) 2023-06-28 15:42:02 +02:00
Sonia Aguilar
519e840f97
Alerting: Render folder selector in options for Alert List Panel only when having Grafana datasource (#70816)
Render folder selector in options for Alert List Panel only when no datasource is selected or when Grafana is selected as the datasource
2023-06-28 15:38:32 +02:00
Sven Grossmann
1206cf3dfa
LogContext: Make centered row unsticky on click (#70832)
* add pinning in log context

* add tests

* move icon names

* fix type of `pinned`
2023-06-28 15:22:54 +02:00
Andrej Ocenas
4969a78f83
Pyroscope: Fix normalize query function (#70836) 2023-06-28 15:22:13 +02:00
Sven Grossmann
e0619e8aa7
LogContext: Add button to scroll to center (#70821)
add scroll to center button
2023-06-28 14:55:22 +02:00
Esteban Beltran
bb18fd719a
Chore: Wrap custom configuration in development environment check (#70833) 2023-06-28 14:39:23 +02:00
Esteban Beltran
7237766b69
Revert "Chore: Wrap custom configuration in development environment check" (#70831) 2023-06-28 15:23:45 +03:00
Robby Milo
3e3bcf510b
standardize docs copyright (#70732) 2023-06-28 07:13:44 -05:00
Hugo Hromic
adac251a23
Units: Add events/messages/records/rows throughput units (#70726)
* Adds support for additional throughput units to `valueFormats`.
These new units are useful for streaming, e.g. Kafka or RedPanda, and database systems. 

* Adds missing entries to the dev dashboard tests.
2023-06-28 14:11:46 +02:00
Jaryk
db478ced45
Variables: Detect a name for duplicated variable (#68110)
* Variables: Detect a name for duplicated variable

* Variables: create copies of copies
2023-06-28 13:53:53 +02:00
Gábor Farkas
3f44412bfd
logs: more tests related to timestamp handling (#70819) 2023-06-28 13:50:29 +02:00
Esteban Beltran
8e6ec665c1
Chore: Wrap custom configuration in development environment check (#70731) 2023-06-28 13:41:32 +02:00
Ludovic Viaud
68ab0ac552
Update (#69684) 2023-06-28 13:11:41 +02:00
RoxanaAnamariaTurc
9e844b36b2
I18n:Mark up phrases for translation on Folder Page (#70801)
* I18n:Mark up phrases for translation on Folder Page

* I18n:Mark up phrases for translation on Folder Page, made suggested updates
2023-06-28 11:41:35 +01:00
Andrej Ocenas
0259ae2630
Pyroscope: Preselect default profile type or app in the query editor dropdown (#70624) 2023-06-28 12:26:09 +02:00
Bohdan Jóža
a2dad8a636
CodeEditor keeps model after unmount (#70661) 2023-06-28 11:43:12 +02:00
Josh Hunt
f18a7f7d96
NestedFolders: Nested folder picker (#70148)
* Initial layout

* Add some styles

* Add checkbox functionality

* Add feature flag

* Extract list component

* remove feature flag

* expand folders

* Don't show empty folder indicators in nested folder picker, prevent opening folder from selecting that folder

* remove legend and button

* selection stuff

* new feature flag just for nested folder picker

* fix lint

* cleanup

* fix movemodal not showing selected item

* refactor styles, make only label clickable

---------

Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com>
2023-06-28 09:40:29 +00:00
Joey
0668fcdf95
Tempo: Update error messages (#70448)
Update error messages
2023-06-28 10:34:11 +01:00
Horst Gutmann
2b10d31bac
CI: Ignore .pr-body.txt file (#70798)
This file is used during the backporting process but should never be
committed.
2023-06-28 12:12:25 +03:00
Gábor Farkas
9ca888527b
Logs: Implement "infinite" scrolling in log context (#69459)
* logs: context: allow "infinite" scroll

* Log Context: Add visual changes to infinite scrolling (#70461)

* remove text showing how many log lines are loaded

* better positioning of loading indicators

* add border

* fix import

* better loading states

* improve corner cases

* increase page size 10 => 50

* updated unit test, simplified code

* fixed tests

* updated tests

* removed unused code

* fixed test

* improved refid-handling in loki

* removed unnecessary code

* better variable name

* refactor

* refactor

---------

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2023-06-28 11:51:16 +03:00
brendamuir
5159317ee7
Docs: adds evaluation doc (#70757)
* Docs: adds evaluation doc

* Adds note on classic condition

* fixes link

* fixes link

* fixes link

* fixes data source

* link fix

* fixes rbac link

* adds aliases
2023-06-28 10:38:59 +02:00
Dimitris Sotirakis
7f55ba9c6e
CI: Cleanup - Remove security related steps (#70788)
* Remove security related steps

* More cleanup
2023-06-28 11:12:47 +03:00
Giuseppe Guerra
dde4a03544
Catalog: Display badges for Angular plugins and disable install if Angular is disabled (#69084)
* Angular deprecation: Add Angular badge in plugin catalog page

* Angular deprecation: Add alert in plugin details page

* Angular deprecation: Disable install button if for Angular plugins

* removed extra console.log

* Add tests for Angular badge

* Add tests for PluginDetailsAngularDeprecation

* Add tests for InstallControlsButton

* Add tests for ExternallyManagedButton

* Table tests

* Catalog: Update angular deprecation message

* PR review feedback

* Update tests

* Update copy for angular tooltip and alert

* Update tests

* Fix test warnings

* Fix angularDetected not being set for remote catalog plugins

* Dynamic alert text based on grafana config

* Moved deprecation message to a separate function

* Removed unused Props in PluginAngularBadge
2023-06-28 09:58:45 +02:00
Gábor Farkas
ebe5e9c2e6
logs: removed unused code (#70758) 2023-06-28 08:35:51 +02:00
Kristina
c0b64612f8
Explore: Remove duplicate decorator (#70775)
Remove duplicate decorator
2023-06-27 16:04:59 -05:00