Ryan McKinley
814a78ba46
Value mappings: scroll values when many items exist ( #40733 )
2021-10-22 18:16:32 +02:00
An
8b6a07a313
Panel Options: link to an open category section ( #40734 )
...
* scroll to view with panel query
* scroll to view with param
* no export const
* mock useLocation
* Updates to make update function from useQueryParams work
* show options
* flip logic
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2021-10-21 16:09:41 -04:00
Ryan McKinley
ad69de4a10
AppEvents: export appEvents in @grafana/runtime and support copy panel ( #40715 )
2021-10-20 13:01:21 -07:00
kay delaney
565537c6e2
A11y/Dashboard: Fix various dashboard settings issues ( #40641 )
...
See #39429
2021-10-20 14:54:00 +01:00
Domas
51a152456f
fix unified alerting enabled checks ( #40693 )
2021-10-20 15:45:26 +03:00
Guilherme Caulada
a9faab6b09
Dashboard: Add week start option to global and dashboard preferences ( #40010 )
...
* Add global week start option to shared preferences
* Add default_week_start to configuration docs
* Add week start option to dashboards
* Add week start argument to tsdb time range parser
* Fix strict check issues
* Add tests for week start
* Change wording on default_week_start documentation
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update week_start column to be a nullable field
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com >
* Update configuration to include browser option
* Update WeekStartPicker container selector
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
* Add menuShouldPortal to WeekStartPicker to remove deprecation warning
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Add inputId to WeekStartPicker
* Use e2e selector on WeekStartPicker aria-label
* Simplify WeekStartPicker onChange condition
* Specify value type on WeekStartPicker weekStarts
* Remove setWeekStart side effect from reducer
* Fix updateLocale failing to reset week start
* Store week start as string to handle empty values
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com >
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2021-10-18 10:27:14 -03:00
kay delaney
db62ce477d
A11y/Dashboard: Fix various fastpass issues for dashboard settings ( #40335 )
...
* A11y/Dashboard: Fix various fastpass issue for dashboard settings
See #39429
2021-10-18 13:51:26 +01:00
Hugo Häggmark
09bb890092
WIP Chore: reduce strict errors ( #40462 )
...
* Chore: reduce strict error in ngReact
* Chore: reduce strict errors for ShareModal
* Chore: reduce strict errors in VersioHistory
* Chore: reduce strict error in ExpressionDatasource
* Chore: reduce strict error in DashboardWatcher
* Chore: reduce strict error in PluginPage
* Chore: reduce strict errors for guard
* Chore: update threshold
* Chore: reduce strict errors in Graph
* Chore: reduce threshold
* Apply suggestions from code review
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
* Chore: reduce strict errors in TimeSeries
* Chore: reduce threshold
* Chore: reduce strict errors in polyfill
* Chore: reduce threshold
* Chore: update after PR comments
* Update public/app/features/plugins/PluginPage.tsx
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* Update public/app/features/plugins/PluginPage.tsx
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* Chore: changes after PR comments
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
2021-10-15 08:57:55 +02:00
renovate[bot]
4565fcd0df
Update dependency @testing-library/user-event to v13 ( #40394 )
...
* Update dependency @testing-library/user-event to v13
* Changes needed for userEvent v13
* Ignore pointer-event checks until jsdom issue is fixed
* Remove unused act imports
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2021-10-14 13:29:41 +01:00
Ryan McKinley
e62dd592c8
Chore: remove extra logging ( #40428 )
2021-10-14 07:35:40 +02:00
Hugo Häggmark
a981ea22fb
A11y: Fix fastpass issues for share modal ( #40386 )
2021-10-14 07:13:15 +02:00
Torkel Ödegaard
c4ce7a40af
AngularPanels: Move angular panel infra & components to angular/app folder ( #40373 )
...
* AngularPanels: Move to app/angular folder
* Fixing issues
2021-10-13 16:59:47 +02:00
Hugo Häggmark
a512dcf1bb
A11y: Fix fastpass issues for annotation/variables settings ( #40364 )
...
* A11y: Fix fastpass issues for annotation/variables settings
* Chore: fixes fastpass for annotations
* Chore: updates after PR comments
* Chore: readd div
2021-10-13 15:21:34 +02:00
Torkel Ödegaard
d62ca1283c
PanelState: Introduce a new separate redux panel state not keyed by panel.id ( #40302 )
...
* Initial pass to move panel state to it's own, and make it by key not panel.id
* Progress
* Not making much progress, having panel.key be mutable is causing a lot of issues
* Think this is starting to work
* Began fixing tests
* Add selector
* Bug fixes and changes to cleanup, and fixing all flicking when switching library panels
* Removed console.log
* fixes after merge
* fixing tests
* fixing tests
* Added new test for changePlugin thunk
2021-10-13 08:53:36 +02:00
kay delaney
3c52df960a
A11y/Dashboard: Fix a few more miscellaneous fastpass issues ( #40328 )
...
See #39429
2021-10-12 14:35:48 +01:00
kay delaney
c443f244a0
A11y/Dashboard: Fix misc. fastpass issues ( #40296 )
...
* A11y/Dashboard: Fix misc. fastpass issues
See #39429
2021-10-12 13:26:01 +01:00
Domas
571257226e
Alerting: make alert state indicator in panel header work with Grafana 8 alerts ( #38713 )
2021-10-11 16:55:45 +03:00
kay delaney
78ebac0116
Chore/Nit: Fix minor alignment issue in panel editor ( #40232 )
2021-10-11 10:46:21 +01:00
Ryan McKinley
3db98f417d
Panel Options: support dynamic options editors ( #39491 )
2021-10-06 21:41:42 +02:00
kay delaney
1ce750471f
A11y: Fix fastpass issues for dashboard management pages ( #39940 )
...
* A11y: Fix fastpass issues for dashboard pages
See #39429
2021-10-06 11:58:18 +01:00
Torkel Ödegaard
962745ff21
PanelEditor: Adds panel instance state and a way to share this between panel & option editors ( #39637 )
...
* PanelEditor: Adds panel instance state and a way to share this between panel & option editors
* Refactoring to use PanelContext
2021-10-01 11:08:11 +02:00
Oscar Kilhed
738d5e499e
Add fiscal years and search to time picker ( #39073 )
...
* Add search to time picker
* implement fiscal datemath
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2021-09-30 09:40:02 +02:00
Sofia Papagiannaki
012d4f0905
Alerting: Remove ngalert feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations ( #38746 )
...
* Remove `ngalert` feature toggle
* Update frontend
Remove all references of ngalert feature toggle
* Update docs
* Disable unified alerting for specific orgs
* Add backend tests
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Disabled unified alerting by default
* Ensure backward compatibility with old ngalert feature toggle
* Apply suggestions from code review
Co-authored-by: gotjosh <josue@grafana.com >
2021-09-29 16:16:40 +02:00
Dominik Prokop
f887576a27
Table panel: Make filter case insensitive ( #39746 )
...
* Expose FilterInput from grafana/ui
* Make table filter case insensitive
* Update packages/grafana-ui/src/components/Table/FilterList.tsx
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com >
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
2021-09-29 09:35:41 +02:00
Ryan McKinley
c9ae46a9ad
PanelOptions: fix array with siblings ( #39620 )
2021-09-25 08:22:52 -07:00
Ryan McKinley
01deae2105
Options: support array value paths for panel options ( #39499 )
2021-09-23 09:28:16 -07:00
Hugo Häggmark
65d79d9a30
Dashboard: Short url generation works for variables values with spaces ( #39552 )
2021-09-23 11:50:09 +02:00
Ryan McKinley
a6fbb8d724
Live: show popup if local changes exist ( #36093 )
...
* change tracker
* not needed
2021-09-20 18:28:46 +02:00
Hugo Häggmark
2696be49b9
LibraryPanels: Improves export and import of library panels between orgs ( #39214 )
...
* Chore: adds tests to reducer
* Refactor: rewrite state
* Refactor: adds library panels to export
* wip
* Refactor: adds import library panels
* Refactor: changes UI
* Chore: pushing drone
* Update public/app/features/manage-dashboards/components/ImportDashboardForm.tsx
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update public/app/features/manage-dashboards/components/ImportDashboardForm.tsx
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Chore: reverted unknown merge changes
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-09-20 10:58:24 +02:00
Domas
264946f37f
Graph: make old graph panel thresholds work even if ngalert is enabled ( #38918 )
2021-09-15 16:15:50 +03:00
Ryan McKinley
10ffc9a754
Tables: optionally show field type icon in tables ( #38855 )
2021-09-08 00:44:41 -07:00
Hugo Häggmark
8826540c09
Dashboard: Forces panel re-render when exiting panel edit ( #38913 )
2021-09-07 12:46:21 +02:00
Hugo Häggmark
058ac6becf
Chore: Bumps Immer, Redux Toolkit, Redux and React Redux ( #38872 )
...
* Chore: Bumps immer and redux/toolkit
* WIP: transpile errors
* Chore: bumps redux and react redux
* Chore: removes unused dispatch
* make alerting compile with updated redux toolkit
* Test: Fixes broken test
* Chore: fixes strict errors
Co-authored-by: Domas <domasx2@gmail.com >
2021-09-07 10:44:47 +02:00
Hugo Häggmark
3b0910e470
LibraryPanels: Prevents duplicate repeated panels from being created ( #38804 )
...
* LibraryPanels: Prevents duplicate repeated panels from being created
* Tests: adds tests
* Chore: updates after PR feedback
2021-09-06 05:57:01 +02:00
Hugo Häggmark
55e20bbf04
LibraryPanels: Separates name from panel title ( #38707 )
...
* LibraryPanels: Separates name from panel title
* WIP
* Chore: fixes update for duplicate lib panels
* Chore: reverts implementation
* Chore: show library options only for library panels
* Chore: ui fixes after PR comments
* Chore: fixes issue when creating library panels
2021-09-01 13:27:43 +02:00
Zoltán Bedi
38b398feb4
Fix: panel crash after esc ( #38646 )
2021-08-30 09:57:07 +02:00
Ryan McKinley
8c4c05493b
Dashboard: keep live timeseries moving left (v2) ( #37769 )
2021-08-20 14:48:55 -07:00
Olof Bourghardt
5231660627
Explore: use GrafanaTheme2 (LiveLogs component) ( #37452 )
...
* Explore: use GrafanaTheme2
* Explore: add correct style values. Add theme.v1 to the styles that were uncertain
* Logs: add use of GrafanaTheme2 in varioius log components
* Styles: add some of the correct values recieved via feedback
* Add correct style values
* Update public/app/features/dashboard/components/AddPanelWidget/AddPanelWidget.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
* Update public/app/features/dashboard/components/AddPanelWidget/AddPanelWidget.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
* Update public/app/plugins/panel/dashlist/styles.ts
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
* Explore: fix failing tests
* Explore: add styling values from v2
* Fix small type error
* Replace v1 styles with v2 styles
* Remove forgotten v1 values
* Remove more v1 style values
* Apply correct style value to LogRowMessage
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2021-08-20 14:53:03 +02:00
Hugo Häggmark
a0773b290b
Dashboard: Prevents folder change when navigating to general settings ( #38103 )
...
* Dashboard: Prevents folder change when navigating to general settings
* Tests: fixes broken tests
* Chore: changes from PR feedback
2021-08-20 11:53:48 +02:00
Tobias Skarhed
1f091c448f
Template variables: Keyboard navigation improvements ( #38001 )
...
* Fix variable labels
* Add proper labeling for input
* Add ids to PickerRenderer
* Fix tests
* Update PR feedback
* OptionsPicker: Change to id
* Inherit aria attributes
* Add checkbox role
* Fix typo
* Add proper label reference
* Update role and label
* Prevent spreadng non-DOM attributes
* Move form layout to other component
* Remove haspopup
* Add testid to selector
* Add HTMLProps extension
* Use list
* Move styles outside of class
* Add cx
2021-08-19 16:28:25 +02:00
Ashley Harrison
344c43f2e8
PanelEdit: Fix 'Actual' size by passing the correct panel size to DashboardPanel ( #37885 )
2021-08-16 16:01:54 +01:00
Tobias Skarhed
fa731f16bf
DashboardLinks: Screen reader accessibility #37682
2021-08-10 16:55:25 +02:00
Gábor Farkas
9417e86316
Updated "react-use" package to newest version ( #37579 )
...
* package.json: updated react-use to newest version
* fixes (typescript and other)
2021-08-05 14:32:51 +02:00
Ashley Harrison
8aa3845f70
Select: Make portalling the menu opt-in, but opt-in *everywhere* ( #37501 )
...
* Select: Don't portal by default
* Select: Portal all the Selects
* Fix indendentation in this comment
* Select: Remove @example docs until formatting is correct
* Docs: Add some documentation for the Select changes
* Update docs/sources/whatsnew/whats-new-in-v8-1.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update docs/sources/whatsnew/whats-new-in-v8-1.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update packages/grafana-ui/src/components/Select/types.ts
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update public/app/core/components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update public/app/core/components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update public/app/core/components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Update public/app/core/components/TransformersUI/prepareTimeSeries/PrepareTimeSeriesEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Docs: Variants instead of varients
* Update public/app/core/components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
2021-08-04 15:47:53 +01:00
Ashley Harrison
81cf09af9e
DashboardPrompt: Implement beforeunload handler ( #37490 )
2021-08-04 10:08:13 +01:00
Maria Alexandra
d48e65bf74
Annotations: Fix Datasource as template variable not available for annotations ( #37506 )
2021-08-03 19:54:49 +02:00
Maria Alexandra
f10c5020f1
Annotation: Fix "Enabled" button disappear after Grafana v8.0.6 upgrade ( #37454 )
2021-08-03 09:42:13 +02:00
Will Browne
312e78ff0b
fix typo ( #37457 )
2021-08-03 09:41:31 +02:00
Ashley Harrison
75ff031789
Chore: Fix TypeScript strict errors with components using connect ( #37109 )
...
* Chore: Fix TypeScript strict errors with components using connect
* Chore: More TypeScript fixes
* Chore: Update strict check values
* Still need to export these types...
* Declare connector at the top of the file
* Careful with find and replace...
2021-07-23 11:33:26 +02:00
Ashley Harrison
220b964de5
Chore: Fix more TypeScript errors ( #36918 )
...
* TypeScript: Fix some strict typescript errors
* Fix more strict typescript errors
* Few more fixes
* Better string conversion
* update check script to 195
2021-07-20 09:57:03 +01:00