3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
Commit Graph

45878 Commits

Author SHA1 Message Date
renovate[bot]
549df18adc
Update dependency eslint-plugin-jsdoc to v46.8.2 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 10:49:47 +01:00
Joao Silva
a8b9c04cc1
Grafana/UI: Extend all layout component props to include html attributes () 2023-10-16 10:37:09 +01:00
Joao Silva
260e123b35
Transformations: Remove usage of gf-forms in FilterByValue transformation () 2023-10-16 10:36:48 +01:00
renovate[bot]
70d41d5a80
Update dependency eslint-plugin-jest to v27.4.2 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 10:34:11 +01:00
renovate[bot]
e380daf6b9
Update dependency eslint to v8.51.0 ()
* Update dependency eslint to v8.51.0

* update sdk version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-16 10:23:00 +01:00
renovate[bot]
474e433a7a
Update dependency @grafana/scenes to v1.19.0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 10:12:48 +01:00
Shabeeb Khalid
ad15c55803
Loki: Remove legacy form classes from LokiQuerySettings ()
* Remove legacy form from LokiQuerySettings

With this commit, legacy form components are remvoed from loki query
settings page. Form is now using InlineField instead.

* Fix the width of loki predefined ops input

* Fix the width of loki predefined ops input

* Fix type in loki query component input field
2023-10-16 11:05:30 +02:00
renovate[bot]
f3c4d76d15
Update dependency eslint-plugin-import to v2.28.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 09:31:42 +01:00
Nathan Marrs
0238db42af
DashGPT: Improve save dashboard description generation ()
Co-authored-by: Aaron Sanders <aaron.sanders@grafana.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2023-10-14 03:02:45 +03:00
Leon Sorokin
56c2d8ff40
Snapshots: Fix breakage of some panel types due to missing structureRev () 2023-10-13 18:56:51 -05:00
Adela Almasan
3ba78c45d1
Canvas: Promote Button to beta () 2023-10-14 01:59:12 +03:00
Isabel
862fd83f2d
Docs: add cloud feature release dates ()
Added release dates
2023-10-13 18:04:13 -04:00
Isabel
f906bc152d
Docs: add no basic role to Cloud what's new ()
Added no basic role content
2023-10-13 17:23:06 -04:00
Isabel
ae6f478c4e
Docs: add content outline to Cloud what's new ()
* Added content outline to what's new

* Fixed formatting

* add docs link

* Added version syntax

* Added page anchor and removed text reference to page section

---------

Co-authored-by: harisrozajac <haris.rozajac12@gmail.com>
2023-10-13 17:18:24 -04:00
Beverly
3622120664
Docs k8smon whats new content ()
* test commit

* Content additions

* Additional edits

* Added cloud metadata

* Remove "now" language

* Reordered and reformatted, added release numbers

* Addl edits

* Addl edits

* Added images

* Correct hyperlink

* Fix link to png

* Change heading for readability

* Fix doc link

* Fix doc link

* Remove doc link

* Update docs/sources/whatsnew/whats-new-next/index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Update docs/sources/whatsnew/whats-new-next/index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Updates to formatting, added dates

* Added shortcodes for images

* Resize images, reformat

* Updated date format

* Fixed linting errors

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2023-10-13 15:45:47 -04:00
Sol
889576ac1d
Transforms: Add 'Format String' Transform ()
* Format String Implementation

* Prettier

* Unify Every/Pascal/Camel cases

* Reformat + add new cases

* Add Trim and Substring to the transform options

* Trim/Substring tests+formatting

* refactor

* docs + feature toggle

* add category

* docs. add svg. change description

* revert weird add from merge

* readd config. change description

* docs change

* Adding experimental shortcode

* Add code formatting

* change shortcode

---------

Co-authored-by: Victor Marin <victor.marin@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-13 21:17:12 +03:00
Jo
48ef88aed7
Access: Fetch fresh permissions for target GlobalOrgID in AuthorizeInOrgMiddleware ()
fetch fresh permissions for global in AuthorizeInOrgMiddleware

Update pkg/services/accesscontrol/authorize_in_org_test.go

do not load viewer permissions in global ID
2023-10-13 21:01:47 +03:00
Tobias Skarhed
335b73d9ae
Chore: remove gf-forms and LegacyForms from Graphite ConfigEditor ()
* Chore: remove gf-forms and LegacyForms from Graphite ConfigEditor

* Use Field instead of InlineField

* Remove unused imports
2023-10-13 19:58:03 +02:00
Daniel Benjamin
7f89251dc9
chore: Remove gh-form and LegacyForms from InfluxFluxConfig ()
* chore: replace SecretFormField with SecretInput

* chore: Remove gh-form and LegacyForms from InfluxFluxConfig
2023-10-13 19:55:37 +02:00
Isabel
5ba32e0f11
Add public dashboards GA content ()
* Added public dashboards content

* Updated Loom link

* Added back old Loom embed to help troubleshoot new embed

* Add video

* Added video embed shortcode

* Fixed embed code
2023-10-13 13:37:25 -04:00
Stefan Mitic
4d8560d9a9
i18n: Markup Explore's Query Inspector for translations () 2023-10-13 18:36:43 +01:00
Piotr Jamróz
1e3254bb43
Correlations: Docs update ()
* First draft

* Update docs

* Update docs

* Fix a typo

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Update docs/sources/administration/correlations/use-correlations-editor-in-explore/index.md

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Fix linting

* Fix a typo

* Update how correlations works in logs panel

* Add more context to results field

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-10-13 19:16:23 +02:00
Haris Rozajac
97f5c1c6ba
Explore: Content outline add documentation ()
* Add documentation
2023-10-13 11:01:08 -06:00
Serge Zaitsev
1d19dcd009
Chore: Update data migration to update rows that have changes ()
* update data migration to update rows that have changes

* fix migration for sqlite

* remove id; fix postgres

* Fix for MySQL

* delete old items from folder table

* change integer to boolean

---------

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-10-13 18:58:36 +02:00
Haris Rozajac
4ec54bc2c3
Explore: Content Outline ()
* Add images

* Basic button functionality; TODO placeholders for dispatching contentOutlineToggle and rendering content outline component

* Basic content outline container

* Content outline toggles

* Remove icon files from explore

* Scroll into view v1

* outline that reflect's explore's order of vizs

* Update icon name

* Add scrollId to PanelChrome; scrolling enabled for Table

* Add queries icon

* Improve scroll behavior in split view

* Add wrapper so the sticky navigation doesn't scroll when on the bottom of the window

* Fix the issue with logs gap; center icons

* Memoize register and unregister functions; adjust content height

* Make displayOrderId optional

* Use Node API for finding position of panels in content outline;  add tooltip

* Dock content outline in expanded mode; at tooltip to toggle button

* Handle content outline visibility from Explore and not redux; pass outlineItems as a prop

* Fix ContentOutline test

* Add interaction tracking

* Add padding to fix test

* Replace string literals with objects for styles

* Update event reporting payloads

* Custom content outline button; content outline container improvements

* Add aria-expanded to content outline button in ExploreToolbar

* Fix vertical and horizontal scrolling

* Add aria-controls

* Remove unneccessary css since ExploreToolbar is sticky

* Update feature toggles; Fix typos

* Make content outline button more prominent in split mode; add padding to content outline items;

* Diego's UX updates

* WIP: some scroll fixes

* Fix test and type error

* Add id to ContentOutline to differentiate in split mode

* No default exports

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-10-13 10:57:13 -06:00
Dan Cech
91cf4f0c1c
Revert "Plugins: Update PDC pattern from latest plugin SDK changes" ()
Revert "Plugins: Update PDC pattern from latest plugin SDK changes ()"

This reverts commit 151f6d6216.
2023-10-13 12:35:16 -04:00
Kyle Cunningham
5e9dac6695
Transformations: De-emphasize non-applicable transformations ()
* Stub types

* Update applicator

* Type and functionality updates

* Format time applicator

* Group by applicator

* Groupy to matrix applicator

* Use applicability levels

* Add  organize fields applicator

* Add applicator to heatmap

* Add disabled icons

* Update presentation

* Prettier

* Why run prettier once when you can do it twice?

* Update presentation

* Prettier

* Update presentation

* Prefer object syntax

* Betterer and Prettier
2023-10-13 11:21:43 -05:00
Juan Cabanas
cdca1518d2
PublicDashboards: Title logo and footer redesign ()
---------

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2023-10-13 13:18:05 -03:00
NikolayTsvetkov
e0f32f4363
Elasticsearch: Clean up query print leftover ()
Clean query print left over
2023-10-13 19:17:09 +03:00
David Harris
5a62a97056
Update angular-plugins.md ()
remove cognite
2023-10-13 16:59:43 +01:00
Alexander Weaver
0592fe7edb
Alerting: Add support for msteams contact point in external Alertmanagers ()
* Add support for msteams contact point in external AMs

* Update docs
2023-10-13 10:43:42 -05:00
Josh Hunt
520497738e
Docs: Revisit Manage Dashboard docs for new UI ()
* Docs: Start to iterate on new Browse Dashboard docs

* more

* more changes

* Apply suggestions from code review

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* prettier

* Update docs/sources/dashboards/manage-dashboards/index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* disclaimer about folders with slashes in them

* Apply suggestions from code review

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-13 18:39:35 +03:00
Misi
3dbda43d44
Docs: Update whats-new-next with RBAC permission validation ()
* Update whats-new-next with RBAC permission validation

* run prettier

* Fixed version syntax

* Update docs/sources/whatsnew/whats-new-next/index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* update docs

* update

* fix merge

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-13 17:27:16 +02:00
Galen Kistler
f2ad66620f
Loki: Autocomplete returning labels already in use when cursor is before or between other labels ()
* Fix issue getting current labels that would only grab values to the left of the cursor

* Loki: Fix Autocomplete in stream selector overwriting existing label names, or inserting autocomplete result within label value ()

* Better autocomplete functionality in loki, changing the word pattern to include label value separator (=), include valid sting chars (-), and value wrapper ("), adding some more logic in the range calculation to prevent autocomplete results from partially overwriting adjacent label names or portions of the current label value
2023-10-13 10:26:32 -05:00
Torkel Ödegaard
c4b02d7063
BarChart: Improve data links UX in tooltip () 2023-10-13 17:25:51 +02:00
Santiago
20e624dafd
Alerting: Add Mimir Backend image to devenv (blocks) () 2023-10-13 16:15:05 +01:00
ismail simsek
2877723648
InfluxDB: Use apache/arrow v13 ()
* Use apache/arrow v13

* remove apache/thrift

* go mod tidy with go1.21.1

* add metrics team as owner

---------

Co-authored-by: Kyle Brandt <kyle@grafana.com>
2023-10-13 17:06:10 +02:00
Eric Leijonmarck
7794697660
Doc: Add docs for direct mapping of None role for SAML ()
* add: direct mapping of None role for SAML

* Fix docs formatting

* fix spelling

---------

Co-authored-by: Vardan Torosyan <vardants@gmail.com>
2023-10-13 16:01:55 +01:00
Ashley Harrison
ed4c9bb487
Navigation: Correctly set active nested plugin pages ()
* correctly set active nested plugin pages

* add recursion depth limit
2023-10-13 16:01:22 +01:00
Alex Khomenko
8bf0143908
Grafana/ui: Wrap Box in forwardRef ()
* Grafana/ui: Wrap Box in forwardRef

* Destructure props
2023-10-13 17:40:25 +03:00
Juan Cabanas
40b79de0cd
PublicDashboards: Enable feature by default for GA and remove public preview text ()
* public dashboard for GA

* files modified

* public preview removed
2023-10-13 16:32:49 +02:00
Torkel Ödegaard
a42040a59a
DashboardScene: Backward compatability with getDashboardSrv.getCurrent and DashboardModel props and functions ()
* DashboardSrv.getCurrent backward compatibility

* fixes
2023-10-13 16:24:04 +02:00
Torkel Ödegaard
b01cbc7aef
Dashboard: Fixes save drawer always comparing changes against first loaded version ()
* Dashboard: Fixes save changes diff after first save

* Lots of type issues

* better fix

* Update some more places to use new function

* Fix

* Update

* Update

* remove console.log

* Update
2023-10-13 16:23:23 +02:00
Torkel Ödegaard
0d55dad075
DashboardScene: Fixes full page reload of fullscreen view of a repeated panel ()
* Progress on view panel for repeats

* Good enough

* Update
2023-10-13 16:03:38 +02:00
Piotr Jamróz
23fe8fcf5a
Correlations: Add documentation around variable exceptions () () 2023-10-13 15:32:38 +02:00
Andre Pereira
69b84fec8f
Tempo: Fix empty values in TraceQL filters ()
Fix empty values in TraceQL filters
2023-10-13 14:19:01 +01:00
Isabel
939b311b8e
Add support for dashboard variables in transformations to cloud what's new ()
* Add support for dashboard variables in transformations

* Fixed version syntax

* added whitespace

* Added release date

* Fixed linting errors
2023-10-13 09:08:49 -04:00
Marcus Andersson
d18766e88b
PluginExtensions: Make sure to pass default timeZone in context ()
* Fixed so we will return default timeZone to extensions if empty is provided.

* Update public/app/features/dashboard/utils/getPanelMenu.test.ts

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-10-13 14:43:45 +02:00
Will Browne
151f6d6216
Plugins: Update PDC pattern from latest plugin SDK changes ()
* update with sdk

* do sql

* fix core plugins

* fix proxy settings

* bump SDK version

* tidy

* enable pdc for test

* add codeowners
2023-10-13 14:42:15 +02:00
Karl Persson
e2ba399e30
IDForwarding: Use single flight for SignIdentity ()
* IDForwarding: Use single flight for SignIdentity

* Update cache inside single flight call
2023-10-13 14:32:53 +02:00