d3bd3175af
ProvisionedFolder: Delete folder drawer ( #107089 )
...
* ProvisionedFolder: delete flow set up
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2025-06-25 11:13:42 -04:00
4738957360
Querying: Pass dashboard and panel title as headers ( #107032 )
...
* WIP dashboard titile
* Add tests
* Fix tests
* Fix tests
* Remove redundant imports
2025-06-25 13:51:23 +02:00
c63a52958d
RowsLayout: Rethinking row repeats ( #104312 )
...
* Something is working
* Update
* Update
* working
* clear repeated rows
* Update
* Update
* Outline via function
* Update
* Update
* Update
* Progress
* Update
* Udpate sum
* Update
* Update public/app/features/dashboard-scene/scene/types/EditableDashboardElement.ts
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Update public/app/features/dashboard-scene/edit-pane/DashboardOutline.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Update public/app/features/dashboard-scene/edit-pane/DashboardOutline.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Update public/app/features/dashboard-scene/scene/layout-auto-grid/AutoGridLayoutManager.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Update public/app/features/dashboard-scene/scene/layout-default/DefaultGridLayoutManager.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Update public/app/features/dashboard-scene/scene/layout-rows/RowsLayoutManagerRenderer.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Update
* more tests
* Update
* Update
* Removed old behavior
* Update
* Update
* Update
* fix outline for default grid
* Update
---------
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2025-06-25 10:02:42 +02:00
f7fafe70f4
Dashboard: FF dashboardNewLayouts
Fix library panels non-editable when multiple added ( #107052 )
...
Dashboards: Fix library panels non-editable if multiple were added - dashboardNewLayouts
2025-06-24 14:15:44 +02:00
38fc06a6ff
Internationalisation: Mark up panel edit options ( #107051 )
...
* markup timeseries panel edit
* mark up matchers ui
* mark up bar chart
* mark up stat panel
* mark up gauge
* mark up bar gauge
* mark up table component
* mark up pie chart
* mark up state timeline
* mark up heatmap
* mark up status history
* mark up histogram
* mark up text panel
* mark up alert list
* mark up dashboard list
* mark up news panel
* mark up annolist
* mark up logs panel
* mark up node-graph
* mark up traces
* mark up trend
* mark up xychart
* fix build
2025-06-24 12:55:55 +01:00
de59956db4
Undo/Redo: add support for variable repeat options ( #106617 )
...
* add undo support for panel repeat variable change
* add undo support for panel repeat direction and max per row
* i18n
* adjust actions naming
2025-06-20 09:28:52 +01:00
fe4abf2221
Git Sync UI: Delete Provisioned Dashboard Flow ( #106593 )
...
* DeleteProvisionedDashboardDrawer: delete provisioned dashboard flow set up with drawer
* clean up
* add tests
* more test and clean up
* revert endpoint change
* adjust tests
* remove unuse codes
* fix type, fix test, add read only message
* small changes
* fix test, i18n fix
* comments
* Fix bug for file deletion using a branch
* PR comments update
* Use the provided ref for parser so that URLs work
* call useDeleteRepositoryFilesWithPathMutation in delete drawer component directly
* remove console log
* Update public/app/features/dashboard-scene/components/Provisioned/DashboardEditFormSharedFields.test.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* PR comments
* use string for fields
* extract handle request logic from save form and delete form and put into one hook
* Add test for useProvisionedRequestHandler
* Update public/app/features/dashboard-scene/components/Provisioned/DashboardEditFormSharedFields.test.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/dashboard-scene/components/Provisioned/DashboardEditFormSharedFields.test.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/dashboard-scene/components/Provisioned/DashboardEditFormSharedFields.test.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/dashboard-scene/components/Provisioned/DashboardEditFormSharedFields.test.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/dashboard-scene/settings/DeleteProvisionedDashboardForm.test.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/dashboard-scene/settings/DeleteProvisionedDashboardForm.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* use drawer close in both save form and delete form
* Add back panelEditor onDiscard
* add panelEditor onDiscard to delete flow
* Update public/app/features/dashboard-scene/settings/DeleteProvisionedDashboardForm.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
---------
Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2025-06-18 15:14:03 -04:00
a093381678
Dashboard: SchemaV2 - Fix stateless variable query with default datasource ( #106850 )
...
* Dashboard: SchemaV2 - Fix stateless variable query with default datasource
* Add warning for debugging purposes
* fix test add expected warning
2025-06-18 16:39:46 +02:00
afee9e47f2
Dashboards: undo redo move tab ( #106786 )
...
* move tab
Fixed issue
* make i18
* always select the tab after moving it, select it after undo too
2025-06-18 15:48:40 +02:00
f71c9c6ebf
Dashboards: Add undo/redo support for adding/removing template variables ( #106643 )
...
* Dashboards: Add undo/redo support for adding/removing template variables
* Remove unnecessary ObjectRemovedFromCanvasEvent
2025-06-17 14:50:11 +01:00
e90134bb6f
Dashboards: Prefer the library panel title instead of panel title set in the dashboard. ( #106810 )
...
* prefer library panel title
* Add .
* add tests
2025-06-17 13:21:21 +02:00
b89d52329b
Dashboard: Add missing translations save drawer ( #106736 )
2025-06-16 09:47:11 -03:00
61430f027f
Dynamic dashboards: Undo redo for remove row, add tab, remove tab ( #106614 )
...
* Undo redo for remove row, add tab, remove tab
* Undoing remove tab and row now adds them back in the correct place
* add tests
* fix lint issue
2025-06-16 14:20:45 +02:00
7273e4ca1c
Dashboards: Add undo/redo support for dashboard description ( #106718 )
...
* Dashboards: Add undo/redo actions for changing dashboard title
* Run make i18n-extract
* Dashboards: Add undo/redo support for dashboard description
* fix typo
* Add tests for DashboardTitleInput & DashboardDescriptionInput
2025-06-16 12:56:05 +01:00
ffc16ee072
Schema: Change how origin filters are added to AdHocVariable ( #106086 )
...
* refactor origin filters schema
* add canary version
* update schema
* fix failing tests
* refactor
* remove autogenerated import
* tests
* maintain only dashboard originated filters
* refactor
* refactor
* Schema: Persist defaultValue for groupBy in schema (#106542 )
* persist defaultValue for groupBy in schema
* fix
* type
* refactor
* refactor
* bump scenes
2025-06-16 11:15:00 +03:00
3c0d087186
Dashboards: Add undo/redo actions for changing dashboard title ( #106574 )
...
* Dashboards: Add undo/redo actions for changing dashboard title
* Run make i18n-extract
* Prevent empty undo/redo actions
2025-06-13 15:05:27 +01:00
6a11d462cb
API: Support versioned frontend clients ( #106545 )
...
* Update the generator to include version
* Add versioned APIs
* Update imports
* Prettier
2025-06-13 13:24:37 +03:00
e0d27dc0d7
Dashboard: Add configurable quick ranges for the time picker ( #102254 )
...
* Dashboard: Add configurable quick ranges for the time picker
* fix test and linter errors
* update from array to TimeOption
* Switching to grafana-scenes (Part 1 - remove grafana-ui changes
* Update SceneTimePicker initialization
* betterer
* remove hallucinated argument
* Revert "Bump scenes and fix types (#105167 )"
This reverts commit c6428dfc7463250f786a9089c46a2fac910333cb.
* make gen-go
* reset files
* Shorten documentation to increase maintainability
* Update _index.md
* the
---------
Co-authored-by: joshhunt <josh.hunt@grafana.com>
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-06-12 17:51:46 +02:00
2b8c74de2e
i18n: removes useTranslate hook ( #106556 )
...
* i18n: removes useTranslate hook
* chore: fix duplicate imports
* chore: fix import sorting and hook dependencies
2025-06-12 11:03:52 +02:00
bc076f27ff
DashboardsE2E: Add E2E tests for Auto grid ( #106171 )
...
* add auto grid e2e tests
* remove unnecessary clean up in grouping tests
* refaactor repeated code
* Refactor some repeated blocks
---------
Co-authored-by: kay delaney <kay@grafana.com>
2025-06-11 13:36:12 +01:00
291f33541d
Dashboards: Add id
s to auto grid inputs for improved a11y ( #106430 )
2025-06-11 11:53:30 +01:00
6af09ed763
Dashboard: Schema V2 - Auto-transform V2 dashboards in V1Resource export mode ( #105997 )
...
* experiment v2 to v1 in exporting
* refactor code to export to v1 resource
* Add unit test and fix linting
* fix typescript
* fix linting
* handle error gracefully when is not possible to convert to v1
2025-06-11 11:28:13 +02:00
4519d79406
Dashboard: Schema V2 - Improve warning when saving v1 dashboard to v2 dashboard ( #106492 )
...
* Dashboard: Improve warning when saving v1 to v2 dashboard
* Extract i18n
2025-06-10 19:04:32 +02:00
cbb828202a
FolderPicker: Remove old folder picker ( #105374 )
...
* Remove newFolderPicker toggle
* Remove usage of the old folder picker
* fix some tests
* remove old test
2025-06-10 16:01:48 +02:00
2c977bb77d
Dashboards: Add hover effect to outline splitter drag handle ( #106443 )
2025-06-10 11:36:07 +01:00
1564e1bac9
URLParams: Stringify true values as key=true always (fixes issues with variables with true value) ( #106440 )
...
* Restore prev fix
* added one more test
* Fix linkUrl issue
2025-06-10 12:08:08 +02:00
33a9a9313d
DashboardLayout: Only use edit actions with dashboardNewLayouts
feature toggle ( #106445 )
2025-06-10 09:22:06 +02:00
08168a33e9
Group by variable e2e ( #106176 )
...
Dashboards - E2E - Group By Variable in Edit Pane
2025-06-09 12:28:30 -04:00
ec0926eabb
Dashboards: Tweak DashboardEditableElement settings button ( #106329 )
...
Adds ability to specify icon placement on Button component
2025-06-09 12:27:37 +01:00
c30765bbea
Dashboards: A11y improvements for edit experience ( #106321 )
...
* Dashboards: A11y improvements for edit experience
* Pass descriptor to render function
2025-06-05 16:15:31 +02:00
6fd66dd690
VersionHistoryTable: Fix overflow issue with long notes ( #106284 )
2025-06-05 14:41:43 +01:00
e7103dc1f5
Dashboard: Fixes issue with dashboard links that include all variables ( #106356 )
...
Revert "URLParams: Stringify true values as key=true always (#97346 )"
This reverts commit 437f3ff93667b0b0e7dfb41b2875541de5c77e97.
2025-06-05 14:11:14 +02:00
e8d6b94120
Dashboards: Tweak undo/redo tooltips for a11y clarity ( #106325 )
2025-06-05 11:32:28 +02:00
edf5f9fc7c
Dashboards: Improve a11y for dashboard title/description inputs ( #106294 )
2025-06-04 10:58:11 +01:00
1b9d062583
DashboardReload: Refactor / move state diffing out of DashboardPageStateManager and into reload behavior, simplify ( #106039 )
...
* DashboardReload refactor
* Update
* revert accidental commit
* fix
* merge fix
* fix cache issue
* Update scenes
* Update
* Update
* revert debug
* Update scenes
* Update tests
* add back reload on activation, fix infinite reload bug
* Update prevState
* Remove time range subscription
* restore iso time format
* Update scenes
* Mock console for reload tests (for now)
* Only update scopes from URL when scopes in URL change
* fix equality check inside ScopesSelectorService
* branch fix drone
* Update
* revert drone verbosity
* Update scenes
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2025-06-04 11:29:25 +02:00
d9ccd879ec
DashboardOutline: Improve markup semantics ( #106008 )
2025-06-03 15:23:18 +01:00
7e271796c1
Adhoc variable export ( #106274 )
...
templatize adhoc variables when exporting externally
2025-06-03 08:30:01 -04:00
3c6a9da3cb
DashboardScene: Edit actions , undo/redo and repeat change detection ( #104160 )
...
* AutoGrid: Panel editor editingCompleted call
* editing started as well
* DashboardScene: Quick poc for undo/redo and repeat change detection
* undo redo working
* Update
* Update
* Update
* update
* Update
* Update
* Update
* Update
* Update
* Update
* Add panel title and description support
* Add comment
* Update
* review updates
* Update
* Update
* Update
* Update translations
* Update
* fix
* Update
* fix test that is pretty bad/broken
* Fix translation keys
2025-06-03 14:13:17 +02:00
8dcd66e0e6
Layouts: Ensure layout action buttons aren't greyed out when using keyboard nav ( #106203 )
...
* Layouts: Ensure layout action buttons aren't greyed out when using keyboard nav
* Lint
2025-05-29 15:45:42 +01:00
abb885c585
I18n: Move eslint rule to package ( #105860 )
2025-05-29 16:11:59 +02:00
1de0cd5d68
Dashboard group by variable edit pane ( #106104 )
...
* Dashboards: Group By Variable in edit pane
2025-05-29 09:44:37 -04:00
3b78078ea4
DashboardLayoutOrchestrator: Refine drag drop logic ( #106079 )
2025-05-29 13:48:25 +01:00
7bfa78c6e6
I18n: Update eslint rule to catch some untranslated object properties ( #105072 )
2025-05-28 21:14:43 +01:00
827419d32e
Dashboards: Make scrollbar gutter stable ( #106157 )
2025-05-28 15:37:07 +01:00
f511b313e6
Dashboard e2e datasource options edit pane ( #105896 )
...
Dashboards - E2E - datasource variable edit pane
2025-05-27 10:08:54 -04:00
28a31ed325
DashboardScenePage: Reset state manager to default when unmounting. ( #106017 )
...
* DashboardScenePage: Reset state manager to default when unmounting.
* Update test
2025-05-27 08:58:58 +02:00
4f18ad30c9
SchemaV2: Remove legacy rows from schema v2. ( #105238 )
...
* save transparent setting
* make sure we test both transparent and non transparent
* no more legacy rows
* schema changes
* Add testing, fix first row offset
* Remove legacy row from transform test
* Remove panel that's not present in layout
* Remove expects after removing the row, fix lint issues
* Remove unused commit
* update codegen
* update openapi snapshot
* Fix snapshot
* add missing default prop
* Fix repeating, fix first row, fix not flushing last row
* Use correct repeater
* fix lint, remove unused empty check
* update codegen
* update openapi test snapshot
2025-05-26 14:33:30 +02:00
970dceab8c
LayoutRestorer: Remove layout restorer usage ( #105963 )
...
* remove layout restorer usage
* remove layout restorer code
2025-05-26 10:12:25 +01:00
f65380db0e
Dashboard: Data source variable editing in edit pane ( #104153 )
2025-05-23 18:49:01 +02:00
f9d9d2f93e
Dashboards: Refactor URL state preservation functionality when reloading on params change ( #105952 )
...
Revert "Revert "Dashboards: Refactor URL state preservation functionality whe…"
This reverts commit 968bb08703a3779ebfc004829e7e31fdda050ae7.
2025-05-23 17:55:45 +03:00