3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
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
888683a8ad
RowOptions: Fix enter key updating row options ( #34586 )
2021-05-24 16:21:54 +02:00
3b515e650c
Grafana-UI: Update React Hook Form to v7 ( #33328 )
...
* Update hook form
* Update Form component
* Update ChangePassword.tsx
* Update custom types
* Update SaveDashboardForm
* Update form story
* Update FieldArray.story.tsx
* Bump hook form version
* Update typescript to v4.2.4
* Update ForgottenPassword.tsx
* Update LoginForm.tsx
* Update SignupPage.tsx
* Update VerifyEmail.tsx
* Update AdminEditOrgPage.tsx
* Update UserCreatePage.tsx
* Update BasicSettings.tsx
* Update NotificationChannelForm.tsx
* Update NotificationChannelOptions.tsx
* Update NotificationSettings.tsx
* Update OptionElement.tsx
* Update AlertRuleForm.tsx
* Update AlertTypeStep.tsx
* Update AnnotationsField.tsx
* Update ConditionField.tsx
* Update ConditionsStep.tsx
* Update GroupAndNamespaceFields.tsx
* Update LabelsField.tsx
* Update QueryStep.tsx
* Update RowOptionsForm.tsx
* Update SaveDashboardAsForm.tsx
* Update NewDashboardsFolder.tsx
* Update ImportDashboardForm.tsx
* Update DashboardImportPage.tsx
* Update NewOrgPage.tsx
* Update OrgProfile.tsx
* Update UserInviteForm.tsx
* Update PlaylistForm.tsx
* Update ChangePasswordForm.tsx
* Update UserProfileEditForm.tsx
* Update TeamSettings.tsx
* Update SignupInvited.tsx
* Expose setValue from the Form
* Update typescript to v4.2.4
* Remove ref from field props
* Fix tests
* Revert TS update
* Use exact version
* Update latest batch of changes
* Reduce the number of strict TS errors
* Fix defaults
* more type error fixes
* Update CreateTeam
* fix folder picker in rule form
* fixes for hook form 7
* Update docs
Co-authored-by: Domas <domasx2@gmail.com>
2021-04-29 16:54:38 +03:00
eef4e18b62
Theme: Use outline buttons for Cancel & Back actions ( #33418 )
...
* Buttons: Use new outline button for cancel & back buttons
* More buttons
* More tweaks
* Updated row snapshot
2021-04-27 15:36:48 +02:00
4643bfa539
Modals: design update ( #33368 )
...
* Modals: Style update draft
* Modal.ButtonRow to control spacing better in a centralised way
* Remove header border if no tabs
* Added border and made buttons right aligned and changed order of buttons
* Updating the overlay
* Tweaks to paddings
* Updated share modals
2021-04-26 18:26:56 +02:00
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
00a9af00fc
Templating: removes old Angular variable system and featureToggle ( #24779 )
...
* Chore: initial commit
* Tests: fixes MetricsQueryEditor.test.tsx
* Tests: fixes cloudwatch/specs/datasource.test.ts
* Tests: fixes stackdriver/specs/datasource.test.ts
* Tests: remove refrences to CustomVariable
* Refactor: moves DefaultVariableQueryEditor
* Refactor: moves utils
* Refactor: moves types
* Refactor: removes variableSrv
* Refactor: removes feature toggle newVariables
* Refactor: removes valueSelectDropDown
* Chore: removes GeneralTabCtrl
* Chore: migrates RowOptions
* Refactor: adds RowOptionsButton
* Refactor: makes the interface more explicit
* Refactor: small changes
* Refactor: changed type as it can be any variable type
* Tests: fixes broken test
* Refactor: changes after PR comments
* Refactor: adds loading state and call to onChange in componentDidMount
2020-06-04 13:44:48 +02:00