Ezequiel Victorero
fc374f93a3
PublicDashboards: Support timezone on query API ( #68560 )
2023-06-14 17:35:01 -03:00
Kristina
3850f7b334
Correlations: UX updates ( #69313 )
...
* Round 1
* Add comma
* Remove validate query from editor
* Slightly change headings
* Change text
2023-06-14 08:34:06 -05:00
Sven Grossmann
87eb76947b
Revert "LogsPanel: Remove bottom margin" ( #69999 )
...
Revert "LogsPanel: Remove bottom margin (#69850 )"
This reverts commit 66851d5d87
.
2023-06-14 13:24:23 +02:00
Jaroslav Benc
12cd99ae8d
Pass testing status to the data source plugin extension ( #69988 )
2023-06-14 13:18:24 +02:00
Alexa V
b60b43640f
Revert "Variables: Show description instead of definition in table" ( #70043 )
2023-06-14 12:50:38 +03:00
Ivan Ortega Alba
908b248e10
DS Picker: Built-in datasources are not marked as selected ( #70020 )
2023-06-14 10:52:49 +02:00
Ivan Ortega Alba
bc48622919
DS Picker: Fix React key issue for built-in data source list ( #70018 )
2023-06-13 16:06:49 +00:00
Gilles De Mey
a00d7770bc
Alerting: Show disabled provisioned evaluation group ( #69932 )
2023-06-13 11:26:01 +02:00
Ashley Harrison
266751b96d
NestedFolders: stay in the modal whilst actions complete ( #69730 )
...
* stay in the modal whilst actions complete
* don't return anything here to fix types
* ensure we're always resetting button state
2023-06-12 16:53:17 +01:00
Ashley Harrison
9799a28fad
Nested folders: add analytics tracking for some features ( #69901 )
...
* add analytics for folder creation
* add interaction tracking for move/delete
* add tracking for item clicked in the new browse view
* review comments
* emit counts instead
2023-06-12 16:52:08 +01:00
Tobias Skarhed
b1da3dd202
Chore: Remove some SASS classnames from SubMenu ( #69302 )
...
Remove classNames from SubMenu
2023-06-12 17:25:38 +02:00
Ashley Harrison
9eb8ec9fa9
Command Palette: Links opened in a new tab now route correctly when Grafana is served under a subpath ( #69845 )
...
don't strip base from url since we're not using locationSrv.push anymore
2023-06-12 15:58:38 +01:00
Dominik Prokop
1de8f48a53
Repeats: Set scoped vars correctly for collapsed panel when toggled ( #69707 )
2023-06-12 02:59:05 -07:00
Sven Grossmann
66851d5d87
LogsPanel: Remove bottom margin ( #69850 )
...
drop margin-bottom
2023-06-12 11:21:18 +02:00
Torkel Ödegaard
3cb14074a9
Dashboard: Clear current dashboard when moving away from dashboard ( #66538 )
2023-06-12 11:18:37 +02:00
Darren Janeczek
d61af3adde
Dashboards: Data source template variable options now specify a current value using uid. ( #69259 )
...
* feat: template data source option current by uid
* fix: e2e with explicit uid for "slow-prometheus"
* revert: unrelated change
* revert: unreverted the actually related change
* chore: e2e support for testing ${variable:text}
* fix: use `:raw` instead of `:value` in e2e dashboard
2023-06-12 01:05:50 -07:00
Ashley Harrison
d29124214a
NestedFolders: Ensure New dashboard
page has the correct breadcrumb hierarchy ( #69758 )
...
ensure new dashboard page has the correct breadcrumb hierarchy
2023-06-09 16:22:57 +01:00
Ashley Harrison
ca8d0ef041
NestedFolders: Move New folder
into a drawer ( #69706 )
...
* make New folder a drawer
* use sentence case
* extract strings and update tests
* use sm drawer
2023-06-09 16:00:16 +01:00
Ibrahim
a5b9eac88e
Transformations: Config overrides being lost when config from query transform is applied ( #69720 )
...
fix config overides being lost by transforms
2023-06-09 10:57:56 -04:00
Alexander Zobnin
c731d9fe2c
Authentication UI: Add metric for the first usage ( #69779 )
2023-06-09 15:26:32 +02:00
Ivana Huckova
0aef39d76a
Variables: Show description instead of definition in table ( #69786 )
...
* Variables: Show description instead of definition in table
* Remove referencing of definition
* Update
2023-06-08 19:58:02 +02:00
Galen Kistler
093d0a4c35
Prometheus: Fix numeric values in raw prometheus view which are being formatted as text ( #69737 )
...
* output numeric if exists
* fix bug where copying to clipboard was excluding quantile label (le)
2023-06-08 09:32:09 -05:00
Josh Hunt
ff89217d66
NestedFolders: Fix select all in folder view selecting items out of folder ( #69780 )
...
* NestedFolders: Fix select all selecting items outside of folder when viewing a folder
* fix lint errors
2023-06-08 14:35:21 +03:00
Gilles De Mey
f94e07f5a4
Alerting: Fix notification policies inheritance algorithm ( #69304 )
2023-06-08 13:01:40 +02:00
Polina Boneva
4db6679460
[Chore] Dashboard: Tests for dashboard's add content buttons and menu ( #66233 )
...
* add tests for empty dashboard page
* add tests for AddPanelButton
* export default components
* test +Add menu in dashboard page
* use userEvent instead of firing an event on the DOM itself
* fix test to match new analytic events
2023-06-08 11:16:08 +01:00
Eric Leijonmarck
5dceb5dff3
Service accounts: API key migration refactoring to parse as json object of the results ( #69771 )
...
refactoring to parse as json object of the results
2023-06-08 12:12:26 +02:00
Ivana Huckova
dbdb71fbfa
Templating: Fix updating of definition to empty string ( #69703 )
2023-06-08 11:02:47 +02:00
Oscar Kilhed
e0ce6c3a94
Drag&Drop: Dynamically load sheets module ( #69536 )
...
dynamically load sheets module
2023-06-08 10:24:49 +02:00
Laura Benz
24502c4c4a
Add tooltip to instances of IconButton ( #68880 )
...
* refactor: tooltip is required
* refactor: add tooltips
* refactor: add tooltips
* refactor: add tooltips
* refactor: add tooltips
* refactor: add tooltips
* refactor: add tooltips
* refactor: adjust tests
* refactor: apply changes from code review
* refactor: adjust component for e2e test
* refactor: adjust fallback
* refactor: apply changes from code review
* refactor: apply changes from code review
* refactor: set IconButton default as type=button and remove from use cases
* refactor: remove aria-labels when duplicated and type=button from use cases
* refactor: clean up
* refactor: fix tests
* refactor: fix type errors
* refactor: remove changes in order in order to add them to a separate PR
* refactor: set IconButton default as type=button
* refactor: remove tooltip
* refactor: apply changes requested in review
2023-06-08 10:23:28 +02:00
Eric Leijonmarck
081f59feba
Service accounts: UI migration results ( #68789 )
...
* ui migration WIP
* merge
* migration tests for api
* revert chagnes to align with main
* revert chagnes to align with main
* revert chagnes to align with main
* remove unused code and comments
* revert gen files
* retry logic inplace
* fix a any
* fixed types
* migraiton results now show only result if no failures
* review comments
* wording to make it more actionable
* add migraiton summary text onyl for failed apikeys
* fixed wording and added a close button to the modal
* made the button close the modal
* moved state into component
* fix based on review, naming and removed unused code
* service account migration state optional
* making migration result undefined
* showing total and migrated numbers for a successful migration
* fix payload const to take the payload
2023-06-08 10:09:30 +02:00
Gilles De Mey
8a8b5da1ee
Alerting: Use monaco editor for admin page ( #69514 )
2023-06-07 16:21:36 +02:00
Gilles De Mey
a91de30f99
Alerting: Support newer http_config struct ( #69452 )
2023-06-07 16:21:22 +02:00
Victor Marin
6561f3a7a6
Lower Drag and Drop file size limit to 500kb ( #69640 )
2023-06-07 15:43:16 +03:00
Ashley Harrison
0e28d6143b
Nested folders: Improve loading states ( #69556 )
...
* loading states!
* fix uncontrolled checkbox
* cleaner css
* improve flickering title
* make sure @grafana/ui has the same version of react-loading-skeleton
* fix unit test + add tooltip text
* better way of restoring focus
* only restore focus when loading
* missing !
* use aria-label instead of tooltip
2023-06-07 11:21:44 +01:00
Sonia Aguilar
848eb01a89
Alerting: Fix broken UI because of query being optional for some ExpressionQuer… ( #69650 )
...
* Fix broken UI because of query being optional for some ExpressionQuery coditions field
* Delete query field from conditions in utils.test.ts
2023-06-07 10:58:08 +02:00
Ryan McKinley
e17ef5e504
Pyroscope: Rename phlare to grafana-pyroscope-datasource ( #68859 )
2023-06-07 06:09:29 +03:00
Giordano Ricci
cefcbfa5ed
Explore: Run remaining queries when one is removed from a pane ( #69643 )
2023-06-06 23:28:33 +01:00
Jev Forsberg
c0a1fc2cbd
SQL Datasources: Reinstate SQL data source behavior around database selection when default configured databases already exist ( #65659 )
...
* badlm0mma/sql_datasource_update/ initial notes
* baldm0mma/sql_datasource_update/ solution
* baldm0mma/sql_datasource_update/ clean datasetSelector
* baldm0mma/sql_datasource_update/ clean up queryEditor.tsx
* baldm0mma/sql_datasource_update/ clewan up queryHeader.tsx
* baldm0mma/sql_datasource_update/ clean up tableSelector.tsx
* baldm0mma/sql_datasource_update/ clean up mysqlDatasource.ts
* baldm0mma/sql_datasource_update/ clean up configurationEditor.tsx
* baldm0mma/sql_datasource_update/ rem conlog from queryEditor.tsx
* baldm0mma/sql_datasource_update/ rem conlog from queryEditor.tsx
* baldm0mma/sql_datasource_update/ remove conlog in tableSelector.tsx
* baldm0mma/sql_datasource_update/ rem conlog in sqlDatasource.ts
* baldm0mma/sql_datasource_update/ update deafult database value in sqlDatasource.ts
* baldm0mma/sql_datasource_update/ update logic to accomidate no preconfig
* baldm0mma/sql_datasource_update/ update props
* baldm0mma/sql_datasource_update/ update prop names
* baldm0mma/sql_datasource_update/ update prop names in tableSelector
* baldm0mma/sql_datasource_update/ update annos in datasetSelector
* baldm0mma/sql_datasource_update/ update naming
* baldm0mma/sql_datasource_update/ update to standard langauae
* baldm0mma/sql_datasource_update/ update prop names
* baldm0mma/sql_datasource_update/ update annos in datasetSelector
* baldm0mma/sql_datasource_update/ remove unused import in tableSelector.tsx
* baldm0mma/sql_datasource_update/ remove addDefaultdataset
* baldm0mma/sql_datasource_update/ reset query when needed
* baldm0mma/sql_datasource_update/ update asymc return val
* baldm0mma/sql_datasource_update/ remove psql query editor
* baldm0mma/sql_datasource_update/ remove con logs in defaults.ts
* baldm0mma/sql_datasource_update/ revert postgres changes
* baldm0mma/sql_datasource_update/ update postgres naming
* baldm0mma/sql_datasource_update/ add altert
* baldm0mma/sql_datasource_update/ update annos and add alerts and alert logic
* baldm0mma/sql_datasource_update/ update postgres nomenclature
* baldm0mma/sql_datasource_update/ update annos and remove con logs
* baldm0mma/sql_datasource_update/ update nomenclature
* baldm0mma/sql_datasource_update/ drone fix
* baldm0mma/sql_datasource_update/ export and format
* baldm0mma/sql_datasource_update/ update docs for mysql datasource with dataset dropdown disable info
* baldm0mma/sql_datasource_update/ update mssql docs
* baldm0mma/sql_datasource_update/ update postgres docs and alert logic
* baldm0mma/sql_datasource_update/ add tests
* baldm0mma/sql_datasource_update/ update docs
* baldm0mma/sql_datasource_update/ update test names
* baldm0mma/sql_datasource_update/ update alert language
* baldm0mma/sql_datasource_update/ correct spelling
* baldm0mma/sql_datasource_update/ update postgres query builder image
* baldm0mma/sql_datasource_update/ update annos
* baldm0mma/sql_datasource_update/ update tests
* baldm0mma/sql_datasource_update/ docs updated
* baldm0mma/sql_datsource_update/ refactor determinePlaceholder
* Update public/app/features/plugins/sql/components/QueryEditor.tsx
spelling
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* Update public/app/features/plugins/sql/components/QueryEditor.tsx
spelling
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* baldm0mma/sql_datasource_update/ remove superfluous cleanup data from tests
* baldm0mma/sql_datasource_update/ update spelling
* Update public/app/features/plugins/sql/components/SqlComponents.test.tsx
spelling
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* baldm0mma/sql_datasource_update/ add logic to prevent db call for tables if dataset it nullish
* baldm0mma/sql_datasource_update/ update alert tests
* baldm0mma/sql_datasource_update/ update button text
* baldm0mma/sql_datasource_update/ update tests to preferred standard
* baldm0mma/sql_datasource_update/add feature flag
* baldm0mma/sql_datasource_update/ update mssql docs
* baldm0mma/sql_datasource_update/ add feature flag to registry
* baldm0mma/sql_datasource_update/ adjust table and dataset dropdown logic
* baldm0mma/sql_datasource_update/ update testing to deal with feature flag
* baldm0mma/sql_datasource_update/ update wioth cascadeDisable
* baldm0mma/sql_datasource_update/ update naming
* baldm0mma/sql_datasource_update/ update tests to reflect enabled feature flag
* baldm0mma/sql_datasource_update/ update annotations
* baldm0mma/sql_datasource_update/ update annos in queryEd
* baldm0mma/sql_datasource_update/ update test names
* baldm0mma/sql_datasource_update/ update anno issues
* baldm0mma/slq_datasource_update/ add query to sqlDatasource with error
* baldm0mma/sql_datasource_update/ update docs language
* baldm0mma/sql_datasource_update/ remove notes to self
* baldm0mma/sql_datasource_update/ add QueryEditorFeatureFlag.utils.ts
* baldm0mma/sql_datasource_update/ update database into json
* baldm0mma/sql_datasource_update/ found file
* Update docs/sources/datasources/mssql/query-editor/index.md
Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
* baldm0mma/sql_datasource_update/ update feature flag and toggles
* baldm0mma/sql_datasource_update/ add hasConfigIssue, update annos, rethink disable logic
* baldm0mma/sql_datasource_update/ update warning language
* baldm0mma/sql_datasource_update/ update button content
* baldm0mma/sql_datasource_update/ update jsonData logic in frontendsettings.go
* baldm0mma/sql_datasource_update/ update jsonData logic
* baldm0mma/sql_datasource_update/ update annos in frontendsettings.go
* baldm0mma/sql_datasource_update/ update sql editor docs
* baldm0mma/sql_datasource_update/ update mysql docs
* baldm0mma/sql_datasource_update/ update postgres docs
* baldm0mma/sql_datasource_update/ remove unused code in datasetSelector.tsx
* baldm0mma/sql_datasource_update/ update syntax conventions
* baldm0mma/sql_datasource_update/ add logs
* baldm0mma/sql_datasource_update/ remove unused code
* baldm0mma/sql_datasource_update/ remove conlogs
* baldm0mma/sql_datasource_update/ update tests
* baldm0mma/sql_datasource_update/ add second error to query
* baldm0mma/sql_datasource_update/ run make gen-cue
* baldm0mma/sql_database_update/ lint registry
* baldm0mma/sql_datasource_update/ update registry
* baldm0mma/sql_datasource_update/ upate datasource logic
* baldm0mma/sql_datasource_update/ add logs
* baldm0mma/sql_datasource_update/ add comms to self
* baldm0mma/sql_datasource_update/ comment out false pos tests, and add investigatory comments
* baldm0mma/sql_database_update/ update query error to only test for config change if query was made in "builder" mode
* baldm0mma/sql_datasource_update/ update annos in frontendsettings.go
* baldm0mma/sql_datasource_update/ update error logic to datasource
* baldm0mma/sql_datasource_update/ remove alerts from query editor
* baldm0mma/sql_datasource_update/ remove unused imports
* baldm0mma/sql_datasource_update/ update tests
* baldm0mma/sql_datasource_update/ remove comments
* baldm0mma/sql_datasource_update/ remove logs in queryGroup.tsx
* baldm0mma/sql_datasource_update/ remove outdated annotation in datasetSelector.tsx
* baldm0mma/sql_datasource_update/ remove superfluous test and update test description
* baldm0mma/sql_datasource_update/ remove feature flag
* baldm0mma/sql_datasource_update/ add back feature flag
* baldm0mma/sql_datasource_update/ update to enums
* baldm0mma/sql_datasource_update/ update panel caps
* baldm0mma/sql_datasource_update/ update dataset selector to default update the database correctly
* baldm0mma/sql_datasource_update/ move onChange into conditional
* baldm0mma/sql_datasource_update/ add logic for previous datasets choice
* baldm0mma/sql_datasource_update/ add back previous logic for assigning default datasets
* baldm0mma/sql_datasource_update/ update useEffect dep array
* baldm0mma/sql_datasource_update/ remove feature toggle
* baldm0mma/sql_datasource_update/ add feature toggle
---------
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
2023-06-06 10:28:52 -06:00
Josh Hunt
52c4761218
Fix: Fix dashboards not showing in folders with search v2 enabled ( #69638 )
...
* Fix: Fix dashboards not showing in folders with search v2 enabled
* tests
2023-06-06 16:26:06 +00:00
Giordano Ricci
067bbcbe56
Explore: Refactor & centralize URL/state sync ( #66286 )
...
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2023-06-06 15:31:39 +01:00
Alexa V
07dd90b5a8
Dashboards: Variables - Improve slow template variable loading due same variable loaded multiple times on time range change ( #66965 )
2023-06-06 16:12:09 +03:00
Ivan Ortega Alba
819041c732
Schema: Improve Dashboard kind docs and remove deprecated props ( #69359 )
...
Remove unused properties:
* `FieldColorModeId.PaletteSaturated`: It doesn't exist and it is not a valid palette.
* `VariableModel.rootStateKey`: It is not persisted in the DB, so it shouldn't be in the schema. It is a property only used in the frontend to store the Redux store key.
* `VariableModel.error`: It is not persisted in the DB, so it shouldn't be in the schema. It is a property only used in the frontend to store fetching errors.
* `Panel.thresholds`: old property only existing in previous versions of the dashboard schema.
* `Panel.timeRegions`: old property only existing in previous versions of the dashboard schema.
2023-06-06 14:28:10 +02:00
Sven Grossmann
9d2f4786c7
Log Row: Fix menu styling and dimensions ( #69569 )
...
* fix wrong logrowmenu styling
* fix imports
2023-06-05 20:24:41 +02:00
ismail simsek
97221595c1
Chore: Move useUniqueId to a general place ( #69542 )
...
* Move useUniqueId to a general place
* Use new built-in useId hook
2023-06-05 14:38:54 +02:00
Josh Hunt
394ff9fcde
NestedFolders: Improve performance of Browse Dashboards by loading one page at a time ( #68617 )
...
* wip for pagination
* kind of doing pagination, but only for the root folder
* wip
* wip
* refactor paginated fetchChildren
* make sure dashboards are loaded if a folder contains only dashboards
* rename lastKindHasMoreItems
* load additional root pages
* undo accidental commit
* return promise from loadMoreChildren, and prevent loading additional page while a request is already in flight
* rename browseDashboards/fetchChildren action so it's more clear
* starting to revalidate children after an action
* unset general uid
* comment
* clean up
* fix tests omg
* cleanup
* fix items not loading after invalidating loaded cache
* comment
* fix lints
2023-06-05 10:21:45 +00:00
Esteban Beltran
1ed4c0382b
Plugins: Add Initial implementation for frontend plugins sandboxing ( #68889 )
2023-06-05 10:51:36 +02:00
ismail simsek
17836c5895
Chore: Typo fixes in comments ( #69475 )
...
Typo fixes in comments
2023-06-02 21:16:38 +02:00
Ida Štambuk
6bc467f8e7
Don't display stackTraces list if passed an empty array ( #69484 )
2023-06-02 21:10:40 +02:00
Ryan McKinley
422684d8b0
Plugins: Support changing plugin IDs (hardcoded) ( #67867 )
2023-06-02 10:46:12 -07:00
Arati R
6cb1a5e368
Nested folders: Add alert rule counts and deletion to folder registry ( #67259 )
...
* Let alert rule service implement registry service
* Add count method to RuleStore interface
* Add implementation for deletion of alert rules
* Rename uid to folderUID in registry methods
* Check forceDeleteRule value for registry deletion
* Register alerting store with folder service
* Move folder test functions to separate package
* Add testing for alert rule counting, deletion
* Remove redundant count method
* Fix deleteChildrenInFolder signature
* Update pkg/services/ngalert/store/alert_rule.go
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
* Add tests for nested folder deletion
* Refactor TestIntegrationNestedFolderService
* Add rules store as parameter for alertng provider
---------
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-06-02 16:38:02 +02:00