DashboardScene: Action toolbar progress (#81664)

* DashboardScene: Action toolbar progress

* Add discard confirmation modal

* minor fix

* Update

* tweaked

* Updating

* Progress

* Update

* Update

* Added some unit tests

* fix test

* Change name to Exit edit

* Tweaks

* fix test

* Minor margin fix

* Move share to left of edit
This commit is contained in:
Torkel Ödegaard
2024-02-05 16:08:12 +01:00
committed by GitHub
parent 9b18a4d45e
commit 61c7fcc270
10 changed files with 370 additions and 135 deletions

View File

@@ -117,7 +117,7 @@ const getStyles = (theme: GrafanaTheme2, overflowButtonOrder: number, alignment:
alignItems: 'center',
backgroundColor: theme.colors.background.primary,
borderRadius: theme.shape.radius.default,
boxShadow: theme.shadows.z3,
boxShadow: theme.shadows.z2,
display: 'flex',
flexWrap: 'wrap',
gap: theme.spacing(1),
@@ -128,7 +128,7 @@ const getStyles = (theme: GrafanaTheme2, overflowButtonOrder: number, alignment:
right: 0,
top: '100%',
width: 'max-content',
zIndex: theme.zIndex.sidemenu,
zIndex: theme.zIndex.dropdown,
}),
container: css({
alignItems: 'center',