kay delaney
c8b7373016
A11y/UserAdminPage: Improves tab navigation and focus management ( #41321 )
2021-11-05 14:45:00 +00:00
kay delaney
124c3f537f
A11y: Fix misc. fastpass issues ( #41088 )
2021-11-01 14:45:23 +00:00
kay delaney
565537c6e2
A11y/Dashboard: Fix various dashboard settings issues ( #40641 )
...
See #39429
2021-10-20 14:54:00 +01: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
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
Hugo Häggmark
a981ea22fb
A11y: Fix fastpass issues for share modal ( #40386 )
2021-10-14 07:13:15 +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
Hugo Häggmark
7c7b21b39e
DashboardList/AlertList: Fix for missing All folder value ( #39772 )
...
* DashboardList/AlertList: Fix for missing All folder value
* Refactor: Fixes case where folder does not exist in results
2021-10-01 06:20:25 +02:00
kay delaney
451d023c79
A11y: Fix fastpass issues for /org/teams pages ( #39848 )
...
* A11y: Fix fastpass issues for /org/teams pages
See #39429
2021-09-30 15:46:10 +01:00
Ryan McKinley
98cca6317d
Options: expose a dashboard picker element ( #38955 )
2021-09-13 23:30:46 -07: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
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
3004a650b5
Chore: Fix more TypeScript strict errors ( #37066 )
...
* Chore: Fix more TypeScript strict errors
* whoops
2021-07-22 08:09:55 +01:00
Domas
cac4b4b443
Alerting: small rule form ux improvements ( #36941 )
...
* dedupe folder option for existing grafana rules
* update test mocks
* change toggle to chevron for expanding error state ui
* fix some strict lint errors
2021-07-21 18:01:05 +03:00
kay delaney
2e38bbf751
Chore: Reduce number of strict typescript errors ( #34595 )
2021-06-01 13:47:29 +01:00
Hugo Häggmark
c1be52bed0
OrgPicker: Fixes so organisations load ( #33990 )
...
* OrgPicker: Fixes so organisations load
* Update public/app/core/components/Select/OrgPicker.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Chore: updates after PR comments
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-05-12 14:21:54 +02:00
Hugo Häggmark
c6d4d14a89
LibraryPanels: Adds folder filter to manage library panel page ( #33560 )
...
* LibraryPanels: Adds folder filter
* Refactor: Adds folder filter to library search
* Refactor: splits huge function into smaller functions
* LibraryPanels: Adds Panels Page to Manage Folder tabs (#33618 )
* Chore: adds tests to LibraryPanelsSearch
* Refactor: Adds reducer and tests
* Chore: changes GrafanaThemeV2
* Refactor: pulls everything behind the feature toggle
* Chore: removes clear icon from FolderFilter
* Chore: adds filter to SortPicker
* Refactor: using useAsync instead
2021-05-04 13:59:40 +02:00
kay delaney
bad048b7ba
Performance: Standardize lodash imports to use destructured members ( #33040 )
...
* Performance: Standardize lodash imports to use destructured members
Changes lodash imports of the form `import x from 'lodash/x'` to
`import { x } from 'lodash'` to reduce bundle size.
* Remove unnecessary _ import from Graph component
* Enforce lodash import style
* Fix remaining lodash imports
2021-04-21 09:38:00 +02:00
Domas
826d82fe95
Alerting: editing existing rules via UI ( #33005 )
2021-04-16 11:08:26 +03:00
Hugo Häggmark
34b4f7c717
Chore: Reduces strict errors ( #33012 )
...
* Chore: reduces strict error in OptionPicker tests
* Chore: reduces strict errors in FormDropdownCtrl
* Chore: reduces has no initializer and is not definitely assigned in the constructor errors
* Chore: reduces has no initializer and is not definitely assigned in the constructor errors
* Chore: lowers strict count limit
* Tests: updates snapshots
* Tests: updates snapshots
* Chore: updates after PR comments
* Refactor: removes throw and changes signature for DashboardSrv.getCurrent
2021-04-15 14:21:06 +02:00
Domas
282c62d8bf
Alerting: Rule edit form ( #32877 )
2021-04-14 15:57:36 +03:00
Jack Westbrook
8b38b70e00
FolderPicker: Prevent dropdown menu from disappearing off screen ( #32603 )
...
* fix(folderpicker): remove position fixed so menu works in panel editor for dashlist & alertlist
* test(folderpicker): update snapshot
2021-04-07 10:18:30 +02:00
kay delaney
a98fd22e34
Panel/DashList: Fetch folders with View permission ( #32406 )
...
Closes #31357
2021-03-29 11:11:51 +01:00
Hugo Häggmark
51e7b87f39
Playlist: Migrates New/Edit pages to React ( #32218 )
...
* WIP: initial commit
* Playlist: Migrates New/Edit to React
* Tests: adds tests for PlaylistForm
* Tests: adds more tests
* Chore: moved some styles
* Chore: updates after PR review
2021-03-23 07:45:04 +01:00
Marcus Andersson
69201bbf8c
Plugins: moving the DataSourcePicker to grafana/runtime so it can be reused in plugins ( #31628 )
...
* moved the datasource picker to grafana-runtime.
* fixed imports.
* added e2e selectors as an external package.
* adding react as external package.
* exposing dependent types for DataSourcePicker.
* added docs for ui components.
* moving component to components.
2021-03-18 10:44:26 +01:00
Torkel Ödegaard
c41b559063
FolderPicker: Remove useNewForms from FolderPicker ( #31485 )
...
* FolderPicker: Remove useNewForms from FolderPicker
* Updated snapshot
2021-02-26 08:42:00 +01:00
Alex Khomenko
c21e45e428
Search: display sort metadata ( #31167 )
...
* Search: display metadata
* Search: update SortPicker icon
* Search: display folder meta data
* Search: reset sort picker on layout change
* Search: align tags in Card component
* Search: replace hyphen with dash
* Search: preserve sort state on layout change
* Search: update tests
* Search: fix tests
* Update pkg/services/search/hits.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update public/app/features/search/components/SearchItem.tsx
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update public/app/features/search/components/SearchItem.tsx
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update public/app/features/search/types.ts
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Search: fix type error
* Search: add General folder name and adjust icon margin
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2021-02-17 14:06:19 +02:00
Alex Khomenko
6f1a38cbe2
Variables: Extend option pickers to accept custom onChange callback ( #30913 )
...
* Rename DashboardPicker props
* Extend variable option pickers to allow providing custom onchage callback
* Update public/app/features/variables/pickers/OptionsPicker/actions.ts
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* Update public/app/features/variables/pickers/OptionsPicker/actions.ts
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* Update public/app/features/variables/pickers/OptionsPicker/actions.ts
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* Update public/app/features/variables/textbox/TextBoxVariablePicker.tsx
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* Codeformat
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-02-12 16:00:12 +02:00
Dominik Prokop
8d339a279b
Eslint: no-duplicate-imports rule (bump grafana-eslint-config) ( #30989 )
...
* Eslint: no-duplicate-imports rule (bump grafana-eslint-config)
* Chore: Fix duplicate imports (#31041 )
* Rebased this branch into eslint-no-duplicate-imports
* updated some changes
* merged uncaught duplicate imports
* fixes frontend test- I hope
* fixes e2e test- I hope
Co-authored-by: Uchechukwu Obasi <obasiuche62@gmail.com>
2021-02-11 13:45:25 +01:00
Alex Khomenko
e36b035c05
DashboardPicker: switch to promise-based debounce, return dashboard UID ( #30706 )
...
* Use uid in dashboard picker
* Set both id and uid from picker
* Use debounce-promise
* Simplify logic
* Use exact package versions
2021-01-28 16:57:57 +02:00
Torkel Ödegaard
1d689888b0
Prettier: Upgrade to 2 ( #30387 )
...
* Updated package json but not updated source files
* Update eslint plugin
* updated files
2021-01-20 07:59:48 +01:00
Hugo Häggmark
5f4b528122
Select: Changes default menu placement for Select from auto to bottom ( #29837 )
...
* Select: Changes default menuPlacement from auto to bottom
* Tests: Fixes snapshot
2020-12-15 12:46:31 +01:00
Torkel Ödegaard
3d6380a0aa
QueryGroup & DataSourceSrv & DataSourcePicker changes simplify usage, error handling and reduce duplication, support for uid ( #29542 )
...
* Starting moving more stuff into data source picker
* WIP progress
* Progress on datasource picker rethink
* Things are working now some details to figure out
* Removed commented part
* Complex work on getting data source lists
* Fixed variable support showing correct data sources
* Tried fixing dashboard import but failed
* Fixes
* Fixed import dashboard
* Fixed unit test
* Fixed explore test
* Fixed test
* Fix
* fixed more tests
* fixed more tests
* fixed showing which option is default in picker
* Changed query variable to use data source picker, updated tests and e2e
* Fixed more tests
* Updated snapshots, had wrong typescript version
2020-12-04 14:24:55 +01:00
Dominik Prokop
a312f1ae80
Increase search limit on team add user and improve placeholder ( #29258 )
2020-11-20 08:57:19 +01:00
Jack Westbrook
f519f89103
Migration: Remove LegacyForms from dashboard folder permissions ( #28564 )
...
* refactor(permissionlist): replace legacyform components with next-gen equivalents
* refactor(permissionlist): replace legacyform components
* refactor(permissionlist): clean up PermissionsInfo
* feat(grafana-ui): define line-height for Select option descriptions
* refactor(permissionlist): remove debug code
* refactor(permissionlist): simplify component tree with horizontalgroup. Add label
* refactor(permissionlist): remove redundant classname from Select
2020-11-02 12:55:34 +01:00
Dominik Prokop
4468d41417
Plugin signing: UI information ( #28469 )
...
* first pass
* return list
* types and cleanup
* add to plugin page and add styles
* update comment
* update comment
* fix component path
* simplify error component
* simplify error struct
* fix tests
* don't export and fix string()
* update naming
* remove frontend
* introduce phantom loader
* track single error
* remove error from base
* remove unused struct
* remove unnecessary filter
* add errors endpoint
* Update set log to use id field
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* skip adding BE plugins
* remove errs from plugin + ds list
* remove unnecessary fields
* add signature state to panels
* Fetch plugins errors
* grafana/ui component tweaks
* DS Picker - add unsigned badge
* VizPicker - add unsigned badge
* PluginSignatureBadge tweaks
* Plugins list - add signatures info box
* New datasource page - add signatures info box
* Plugin page - add signatures info box
* Fix test
* Do not show Core label in viz picker
* Update public/app/features/plugins/PluginsErrorsInfo.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update public/app/features/plugins/PluginListPage.test.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/plugins/PluginListPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/datasources/NewDataSourcePage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Review comments 1
* Review comments 2
* Update public/app/features/plugins/PluginsErrorsInfo.tsx
* Update public/app/features/plugins/PluginPage.tsx
* Prettier fix
* remove stale backend code
* Docs issues fix
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2020-10-27 13:08:08 +01:00
Alex Khomenko
6173aa70b7
UserPicker: Use clearable AsyncSelect for the UserPicker ( #27994 )
2020-10-03 07:19:45 +02:00
Ryan McKinley
8a5fc00330
Live: broadcast events when dashboard is saved ( #27583 )
...
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2020-10-01 10:46:14 -07:00
Peter Holmberg
6a14f830ba
Fix: Show an ellipsis if Query row title is too long ( #27648 )
...
* add overflow hidden to titleWrapper
* show ellipsis and css labels for components
* readd drag handle after bad merge
* rewrite userpicker test with rtl
* update test after adding css label to icon component
* fix more tests..
2020-09-21 15:33:50 +02:00
Hugo Häggmark
3504009914
FolderPicker: Fixes not being able to create new folder ( #27092 )
...
* FolderPicker: Fixes not being able to create new folder
* Update public/app/core/components/Select/FolderPicker.tsx
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Refactor: Fixes import issues for tests that do not mock GrafanaBootConfig
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-08-20 14:54:58 +02:00
Torkel Ödegaard
8f78b0e7bc
Chore: Fix all Typescript strict null errors ( #26204 )
...
* Chore: Fix typescript strict null errors
* Added new limit
* Fixed ts issue
* fixed tests
* trying to fix type inference
* Fixing more ts errors
* Revert tsconfig option
* Fix
* Fixed code
* More fixes
* fix tests
* Updated snapshot
* Chore: More ts strict null fixes
* More fixes in some really messed up azure config components
* More fixes, current count: 441
* 419
* More fixes
* Fixed invalid initial state in explore
* Fixing tests
* Fixed tests
* Explore fix
* More fixes
* Progress
* Sub 300
* Now at 218
* Progress
* Update
* Progress
* Updated tests
* at 159
* fixed tests
* Progress
* YAy blow 100! at 94
* 10,9,8,7,6,5,4,3,2,1... lift off
* Fixed tests
* Fixed more type errors
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2020-07-10 12:46:59 +02:00
Torkel Ödegaard
49b5fc4b9a
Chore: More typescript strict null fixes, going for sub 200 ( #26134 )
...
* Chore: Fix typescript strict null errors
* Added new limit
* Fixed ts issue
* fixed tests
* trying to fix type inference
* Fixing more ts errors
* Revert tsconfig option
* Fix
* Fixed code
* More fixes
* fix tests
* Updated snapshot
* Chore: More ts strict null fixes
* More fixes in some really messed up azure config components
* More fixes, current count: 441
* 419
* More fixes
* Fixed invalid initial state in explore
* Fixing tests
* Fixed tests
* Explore fix
* More fixes
* Progress
* Sub 300
* Now at 218
* Progress
* Update
* Progress
* Updated tests
* at 159
* fixed tests
* Fixed test
2020-07-09 15:16:35 +02:00
Alex Khomenko
531e658123
Search: support URL query params ( #25541 )
...
* Search: connect DashboardSearch
* Search: set url params
* Search: handle tag params
* Search: handle sort params
* Search: use getLocationQuery
* Search: fix type errors
* Docs: Save query params for manage dashboards
* Search: extract connect
* Search: add layout to URL params
* Search: update options
* Search: simplify options loading
* Search: Fix strict null errors
* Search: Change params order
* Search: Add tests
* Search: handle folder query
2020-06-16 11:52:10 +03:00
Arve Knudsen
91c24e1f56
Chore: Upgrade Jest to latest ( #25591 )
...
* Chore: Upgrade Jest to latest
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: reduces strict null errors
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2020-06-15 13:06:37 +02:00
Zoltán Bedi
29afc2feb8
Explore: fix undo in query editor ( #24797 )
...
* Explore: fix undo in query editor
* Add e2e test for regression
2020-05-19 15:41:52 +02:00
Boyko
1e74037eae
React: refactor away from unsafe lifecycle methods ( #21291 )
...
* refactor aliasBy and PopoverCtrl components
* refactor Aggregations component
* refactor MetricSelect component
* refactor UserProvider
* popoverCtr: remove redundant logic
* simplified the MetricsSelect a bit.
* skipping testing of internal component logic.
* changed to componentWillMount.
* changed elapsed time to a functional component.
* rewrote the tests.
* fixed missing test title.
* fixed a tiny issue with elapsed time.
* rename of field.
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2020-05-18 18:03:29 +02:00
Marcus Andersson
cb4266bae0
PanelEditor: Fix so defaults is selected when datasource can't be found. ( #24526 )
2020-05-12 08:03:52 +02:00
Lukas Siatka
2c9eed360d
Chore: fixes few strict-null errors ( #23775 )
...
* Chore: fixes strict-null-error in Login > ChangePassword component
* Chore: fixes strict-null-error in Login > LoginForm component
* Chore: fixes strict-null-errors in OrgActionBar component and components that render it
* Chore: fixes strict-null-errors in PageHeader component
* Chore: fixes strict-null-errors in PermissionList components
* Chore: fixes strict-null-errors in loki language provider
* Chore: fixes strict-null-errors in loki datasource
* Chore: fixes strict-null-errors in panel_editor > EditorTabBody component
* Chore: fixes strict-null-errors in flatten utility
* Chore: fixes strict-null-errors in search component
* Chore: fixes strict-null-errors in SharedPreferences component
* Chore: fixes strict-null-errors in MetricSelect component
* Chore: updates type on a param to type on argument
* Chore: updates strict-null errors count from 791 to 757
* Chore: updates PageHeader - adds null checks
* Chore: updates PageHeader - updates null checks
* Chore: updates PageHeader null checks to longer format
* Chore: updates strict-null fixes
* Chore: updates error count limit in ci-frontend-metrics
2020-05-07 13:53:05 +02:00
Marcus Andersson
be8c62033c
Select: fixes so component loses focus on selecting value or pressing outside of input. ( #24008 )
...
* changed the value container to a class component to get it to work with focus (maybe something with context?).
* added e2e tests to verify that the select focus is working as it should.
* fixed according to feedback.
* updated snapshot.
2020-04-29 15:02:09 +02:00