Polina Boneva
b14263af45
Dashboard: Remove old panel code and leave only new panel design ( #74196 )
...
* delete PanelHeader
* PanelHeaderMenuItem is only used in PageHeader
* PanelHeaderCorner only used by PanelEditorTableView
* PanelHeaderMenuTrigger not used anywhere
* PanelHeaderMenuWrapperNew is PanelHeaderMenuWrapper, old one is deleted
* remove newPanelChromeUI from test
* delete feature flag newPanelChromeUI
* PanelHeaderMenuWrapperNew is PanelHeaderMenuWrapper, old one is deleted
2023-09-12 11:54:41 +03:00
Torkel Ödegaard
73a675af02
DashboardScene: Inspect panel data tab ( #74646 )
...
* Refactor data tab to be usable from scenes
* DashboardScene: Inspect data tab
* Everything seem to work now
* don't change drawer size in this PR
* Remove uncommented code
* Fix layout issues for data actions
* Added comment explaining retry
2023-09-11 16:11:22 +02:00
Eric Leijonmarck
394976bb6e
Service accounts: Fix mouse leave event by hide scrollbar in firefox and chrome ( #74266 )
...
fix: hide scrollbar in firefox and chrome for menu, due to mouse leave event
2023-09-08 07:40:18 +01:00
Ashley Harrison
ebe13a53f7
Browse Dashboards: Split new browse UI from nested folders backend ( #74435 )
...
* create new feature toggle + start to put stuff behind it
* block move, tidy up interfaces
* fix new/folder actions buttons
* show warning when deleting library panels/alert rules + run i18n:extract
* pseudo
* update unit tests
* pass alert in description
2023-09-07 11:41:00 +01:00
Ieva
d46208b28a
Chore: remove legacy AC fallback from frontend access control checks ( #74385 )
...
* don't use legacy AC fallback for frontend access control checks
* extend tests
* more test fixes
* more test fixes
* more test fixes
* final test fix
* team test fix
* finally fix tests
2023-09-06 16:07:49 +01:00
Eric Leijonmarck
87e8b654a2
Auth: Fix set basicrole to the previous role in UI on error from backend ( #74395 )
...
fix: onchange effect to set basicrole when error from backend
2023-09-05 18:44:57 +01:00
Ashley Harrison
e2724f39d9
Time Range: Using relative time takes timezone into account ( #74013 )
...
* account for timezone when using relative times
Co-authored-by: eledobleefe <laura.fernandez@grafana.com >
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com >
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: tskarhed <1438972+tskarhed@users.noreply.github.com >
* keep as it was originally for now
* add e2e test for relative time zone overrides
* empty commit to add coauthors
Co-authored-by: eledobleefe <laura.fernandez@grafana.com >
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com >
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: tskarhed <1438972+tskarhed@users.noreply.github.com >
* fix types
* switch to using table panel in e2e test
* use regex for partial text match
* actually go to the dashboard...
* use include.text
* check for visibility first
* try waiting on backend request to complete
* CI driven development is fun
* make sure we're waiting for both data query calls
* open dashboard instead
* kick drone
* Revert "open dashboard instead"
This reverts commit bab9c77c4d .
* check timezone second
* refactor to avoid detached elements
---------
Co-authored-by: eledobleefe <laura.fernandez@grafana.com >
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com >
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: tskarhed <1438972+tskarhed@users.noreply.github.com >
2023-09-04 10:38:35 +01:00
Denny Chang
a90f3b58b5
i18n: Mark up HelpModal for translations ( #73806 )
...
* fix: i18n Help Modal
* fix: change translation modal to grafana-ui.modal
* fix: lint
* fix: by run yarn:i18n pseudo
2023-08-30 14:08:18 +01:00
Jev Forsberg
6f368d51fd
Transformations: Force QueryOperationRow to expand on showHelp click ( #73958 )
...
* baldm0mma/help_button/ force QueryOperationRow to expand on showHelp click
* baldm0mma/help_button/ remove comment
* baldm0mma/help_button/ add comment to onClose()
* baldm0mma/help_button/ remove useToggle for showing help
* baldm0mma/help_button/ remove comment
* baldm0mma/help_button/ update comment
* baldm0mma/help_button/ add full toggle control for parent of QueryOperationRow
* baldm0mma/help_button/ update inline comments
* baldm0mma/help_button/ update annos
2023-08-29 09:41:44 -06:00
Torkel Ödegaard
5bd58cac57
Eslint: Update grafana/eslint-config that allows public accessability modifier ( #73906 )
2023-08-28 14:57:49 +02:00
Ashley Harrison
1f49d480a8
Drawer: Clicking a Select arrow within a Drawer no longer causes it to close ( #73557 )
...
ensure drawer doesn't close when clicking dropdown arrow
2023-08-22 16:11:18 +01:00
Joao Silva
3bb23d6be7
Whitelabeling: Add a config option to hide the Grafana edition from the footer ( #73412 )
2023-08-18 15:09:36 +01:00
Dmitry Filimonov
d935e6ff57
Navigation: Remove "preview" from Pyroscope Profiles nav item ( #73070 )
...
* Pyroscope: Mark profiles as GA (removes "preview")
* update
2023-08-16 08:38:26 +00:00
linoman
01721d910e
Auth: Add documentation references to No Basic role ( #72880 )
...
* Update the documentation
* Add references to the documentation
* Replace X with YES in roles table
2023-08-04 16:29:24 +02:00
linoman
64ed77ddce
Auth: Add no role frontend feature flag ( #72823 )
...
* Add 'noBasicRole' feature flag
* Hide role options and tooltip with feature flag
* Add feature flag to registry
2023-08-04 11:08:14 +02:00
mikkancso
290fc3aadf
Admin: Add redirect notice for datasources to admin landing page ( #72736 )
...
* update copy of ConnectionsRedirectNotice
The Connections page is not that new anymore
* extend NavLandingPage with optional header
* show ConnectionsRedirectNotice on Admin landing page
* make ConnectionsRedirectNotice dismissable
* make ConnectionsRedirectNotice informational
2023-08-04 07:45:09 +02:00
linoman
f6e836302b
Auth: Add No basic role UI ( #72561 )
...
* Render new No Basic Role
* Add Tooltip to dropdown menu
2023-08-03 16:02:14 +03:00
Laura Fernández
7ec9a0c9da
GLDS: Move Text component from the unstable package to grafana-ui ( #72660 )
2023-08-02 14:58:00 +02:00
Nathan Marrs
71b841fa9b
StatusHistory: Support legend decimals based on field overrides ( #72486 )
2023-08-01 20:54:56 +02:00
Ashley Harrison
e0587dfb30
Chore: Replace deprecated usage of shape.borderRadius() ( #72672 )
...
* properly mark borderRadius() as deprecated, replace borderRadius() with default
* undo a couple of changes
* use radius.pill in FilterPill
2023-08-01 14:46:07 +01:00
Joey
813e47103b
Tracing: Trace to metrics default range ( #72433 )
...
* Update default range
* Update tests
2023-07-31 11:24:12 +01:00
Connor Lindsey
f3b6e7d7eb
Trace to logs: Add service name and namespace to default tags ( #71776 )
...
* Add service name and namespace to default trace to logs tags
* Add deployment.environment. Update docs
* Revert metrics query tags type
2023-07-27 09:31:03 -07:00
Ivan Ortega Alba
8415dd40d7
DSPicker: Use new DS picker everywhere in Grafana ( #70609 )
2023-07-26 18:40:51 +02:00
Karol Stawowski
600b930c47
NestedFolders: Add invalid state to NestedFolderPicker ( #72175 )
...
* chore: add invalid state to NestedFolderPicker
* NestedFolderPicker: pass invalid state to trigger
* fix: remove redundant sharedInputStyle
2023-07-26 13:47:58 +03:00
Alexander Zobnin
d6e43a44bd
RBAC: Explain why org role selection is disabled for externally synced users ( #72274 )
...
* Move builtin role selector to separate component
* Show message if basic roles picker disabled
* Show explanation in OSS
2023-07-25 16:16:07 +03:00
Ivan Babrou
8e090f9951
Prometheus: Add a keyboard shortcut to toggle all exemplars ( #64479 )
...
* Add a keyboard shortcut to toggle all exemplars
Sometimes it's hard to see the quantile line behind all the exemplars.
This commit adds a `d x` keyboard shortcut to toggle exemplar visibility
on all prometheus queries. Unlike with legends, the logic is simpler
and it does a pure toggle as opposed to "majority toggle" as with legends.
Since exemplars might not be loaded, this also requires refreshing the data.
For the same reason, toggling a single panel is not supported, as it will
make the panel data out of sync with the rest of the dashboard.
* Use "p x" to navigate to panel explore rather than just "x"
It's more consistent with other panel level shortcuts.
It also doesn't conflict with the global "x" to toggle exemplars that way.
2023-07-25 07:45:18 -05:00
RoxanaAnamariaTurc
edb7d0e0d8
Login: Show oauth error messages inline ( #72255 )
...
Squashed commit of the following:
commit b82ed875b88d12348cd4043e2add493e8fb6edc6
Author: Roxana Turc <anamaria-roxana.turc@grafana.com >
Date: Tue Jul 25 10:42:31 2023 +0100
user essentials mob! 🔱
lastFile:public/app/core/components/Login/LoginPage.test.tsx
commit 923cbcf190d2def57b59f8b231f14322efdf9718
Author: joshhunt <josh@trtr.co >
Date: Tue Jul 25 10:17:51 2023 +0100
user essentials mob! 🔱
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com >
2023-07-25 12:57:45 +03:00
Ashley Harrison
2374458e94
Nested folders: use FolderPicker in dashboard settings ( #72192 )
...
* Use new NestedFolderPicker in SaveDashboardAsForm
* use FolderPicker wrapper in dashboard settings
* fix e2e test
* actually pass the deprecated props to the component
* just pass value
---------
Co-authored-by: joshhunt <josh@trtr.co >
2023-07-24 14:27:47 +01:00
Josh Hunt
3c48701f08
Use new NestedFolderPicker in SaveDashboardAsForm ( #72189 )
2023-07-24 11:11:35 +00:00
Josh Hunt
1fde7f7f46
NestedFolders: Switch between old and new folder picker components ( #72124 )
...
NestedFolders: Create wrapper to switch between old and new folder picker components
2023-07-24 10:25:32 +00:00
Ashley Harrison
56ae5abf08
Chore: remove comment that doesn't apply anymore ( #72186 )
...
remove comment that doesn't apply anymore
2023-07-24 10:13:21 +00:00
Leon Sorokin
1de35bf3c3
TimeSeries / StateTimeline: Add support for rendering enum fields ( #64179 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2023-07-21 11:38:11 -05:00
Josh Hunt
3457ccbf12
FolderPicker interaction reporting ( #71896 )
...
* FolderPicker interaction reporting
* rename event
2023-07-21 18:23:05 +03:00
Josh Hunt
a5016c9e88
NestedFolders: API improvements for NestedFolderPicker ( #72093 )
...
* NestedFolders: Prepare nested folder picker for more usage
* fix betterer results
* Update usage of NestedFolderPicker
* fix tests
* fix betterer
2023-07-21 15:40:39 +01:00
Josh Hunt
f3235ba959
NestedFolders: Rename FolderPicker to OldFolderPicker ( #72098 )
...
* Rename FolderPicker to OldFolderPicker
* fix jest mock
* fix jest mock
2023-07-21 13:24:43 +00:00
Josh Hunt
b9fc097ccd
NestedFolderPicker: Fix forms being submitted when opening folder picker ( #72109 )
...
Fix NestedFolderPicker submitting forms when opened
2023-07-21 15:57:09 +03:00
Ashley Harrison
f078a0bb40
NestedFolderPicker: Allow for excluding certain uids ( #72019 )
...
* exclude some uids from nested folder picker so you can't move a folder to itself
* rename excludedUids to excludeUIDs
2023-07-21 13:10:23 +01:00
RoxanaAnamariaTurc
e7ad60bfc7
A11Y: Added the name of the section to collapse button for screenreader ( #72010 )
...
A11Y: Added the name of the section to aria-label of the button to collapse or expand section in the navigation tree
2023-07-21 09:54:48 +01:00
Josh Hunt
78869fae7c
NestedFolders: Select style for closed nested folder picker ( #71959 )
...
* make unexpanded nested folder picker look like a select
* fix prefix icon
* placeholder style, only show input label if value selected
* aria-label
* text component
2023-07-20 17:33:42 +03:00
Laura Fernández
47f70bdb00
GLDS: Text component ( #71439 )
2023-07-20 12:59:42 +02:00
Ashley Harrison
b164fa37e6
NestedFolderPicker: Implement keyboard handling ( #71842 )
...
* first attempt at keyboard handling
* rename some things, handle escape
* better
* almost working
* cleaner
* remove aria-label
* add some extra unit tests
* remove onMouseUp
* fix typo
* use a switch instead of if/else
* ensure lsit items are prefixed with an id unique to the picker
* extract keyboard interactions out into custom hook
* wrap handleCloseOverlay in useCallback
* use redux state instead of filtering items
2023-07-19 15:32:55 +01:00
Josh Hunt
34a2a7f3cb
NestedFolders: Paginate nested folder picker ( #71489 )
...
* Paginate nested folder picker items
* Prevent dashboards from appearing in the folder picker
* fix tests
* remove SkeletonGroup
* more excludeKinds
* cleanup
2023-07-19 16:10:43 +03:00
Dominik Prokop
34c9faf140
PanelContext: Provide events scope identifier ( #71561 )
...
* PanelContext: Provide events scope identifier
* What a console log
2023-07-18 06:27:33 -07:00
Ashley Harrison
9852b24d61
Chore: Upgrade prettier to v3 ( #71764 )
...
* Update dependency prettier to v3 (#71586 )
* Update dependency prettier to v3
* run prettier
* ignore prettier update in legacy select scss
* update command line arg
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
* unplug prettier
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 15:58:22 +01:00
Ashley Harrison
5ca382c88a
Revert "Update dependency prettier to v3 ( #71586 )" ( #71755 )
...
This reverts commit 2e8cd1c021 .
2023-07-17 14:46:15 +01:00
renovate[bot]
2e8cd1c021
Update dependency prettier to v3 ( #71586 )
...
* Update dependency prettier to v3
* run prettier
* ignore prettier update in legacy select scss
* update command line arg
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2023-07-17 09:19:27 +01:00
Ashley Harrison
1caf3298ea
Nested folders: Empty state for nested folder picker ( #71464 )
...
* add empty state to nestedfolderpicker, add translations
* run i18n:extract
* rename i18n key
---------
Co-authored-by: joshhunt <josh@trtr.co >
2023-07-14 11:58:43 +01:00
Joey
76a83dd540
Traces: Add inline validation and greater precision to duration fields in span filters ( #71404 )
...
* Add inline validation to span filters
* Update filter spans by duration precision
* Update IntervalInput props
* Update validation
* Update span filters
* Update props
* Update test
* Update defaults and duration aria labels
2023-07-13 10:48:31 +01:00
Ashley Harrison
ad3d7d5e94
NestedFolderPicker: Truncate overflowing text, fix selected state ( #71444 )
...
* truncate overflowing text, fix selected state
* ensure search state is always clean when opening the overlay
2023-07-12 14:55:27 +01:00
Juan Cabanas
88bb4a778d
Dashboards: POC split between visualizations and widgets ( #70850 )
2023-07-12 10:09:22 -03:00