Tharun Rajendran
c26bd6c52f
Password Field Improvements ( #36160 )
...
* Password: added show password functionality
added autcomplete props
created password component
Fixes #28721
* addressed review changes and added unit tests
* wrapped passwordField component in forwardRef
* fix validation and tests
2021-07-13 09:32:03 +03:00
Tharun Rajendran
36592e0927
Chore: Add tests for ChangePasswordPage and SendResetMailPage ( #36313 )
...
* added tests for changePassword and forgotPassword component
* added tests for ChangePassword screen in user profile section
* addressed review changes
2021-07-01 17:01:09 +03:00
Hugo Häggmark
881abb3af8
Admin: Fixes infinite loading edit profile page ( #34627 )
...
* UserProfile: Fixes infinite loading spinner
* Refactor: some clean up
* Refactor: some more cleanup
* Tests: Adds tests for UserProfileEditPage
* Chore: updates after PR comments
* Refactor: removes unnecessary unmount/mount
2021-05-25 14:48:16 +02:00
Torkel Ödegaard
f6ecded86b
Theme: Page styles move to emotion global styles and design tweaks ( #33529 )
...
* Theme: Page styles move to emotion global styles and design tweaks
* More style tweaks
* tweaks
* Updating snapshots
* Another fix
* Another fix
* minor fix
* More style tweaks to page toolbar and alert rule page
* minor polish
2021-04-30 10:04:01 +02:00
Alex Khomenko
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
Torkel Ödegaard
10badea19e
Emotion: Upgrades emotion from 10 to 11 and updates all import paths ( #32541 )
...
* Babel: Updates babel dependencies to latest version
* Emotion: Upgrade form 10 to 11
* Fixing tests
* Updated to use emotion/css instead in test
2021-04-01 14:15:23 +02:00
Diana Payton
1399b49c16
UI text edits ( #32524 )
...
* Update TeamSettings.tsx
* Update navModel.ts
* Update ChangePasswordForm.tsx
* Update UserProfileEditForm.tsx
* Update DashboardImportPage.tsx
* Update uploadDashboardDirective.ts
* Update ImportDashboardForm.tsx
* Update ImportDashboardOverview.tsx
* Update validation.ts
* Update PlaylistEditPage.tsx
* ui text edits
* text edits
* Update buildCategories.ts
* text edits
* text edits
* Fix formatting
* Update test snapshots
Co-authored-by: dsotirakis <sotirakis.dim@gmail.com>
2021-03-31 16:07:37 -07:00
dupondje
884a99e375
Disable Change Password for OAuth users ( #27886 )
2021-02-16 10:20:41 +01: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
Tobias Skarhed
a9e408fecf
Forms migration: Change password ( #23623 )
...
* Migrate ChangePassword
* Add validation
2020-04-17 11:24:21 +02:00
Tobias Skarhed
5cdb8f8e44
Form Migrations: Button ( #23019 )
...
* Update legacy exports and fix Type errors
* Remove Button and LinkButton from Forms namespace
* Fix errors
* Update snapshots
* Move Legacy button
* Migrate more Buttons
* Remove legacy button dependency
* Move button up
* Remove legacy button
* Update Snapshots
* Fix ComponentSize issues
* Switch primary button
* Switch primary
* Add classNames and fix some angular directive issues
* Fix failing build and remove log
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-03-26 11:50:27 +01:00
Shavonn Brown
e3e2cd82d7
Rewrite user profile edit to react ( #17917 )
...
* rewrite user profile edit to react (#17525 )
* disableLogin change, still need to fix tooltip
* left out disable form for other auth
* PR changes - wrapper to render, userId instead of bool, optional user in state, change provider child param order
* moved directive to angular_wrappers
* catch api error
* finally
* move user arg back to end- optional
* optional type sig
2019-08-19 13:40:14 -04:00
Shavonn Brown
874b8abcc0
ChangePassword: Rewrite change password page to react ( #17811 )
...
* ChangePassword to React, created PasswordInput component, attempting UserProvider wrapper component, adding flex to btn row
* UserAPI interface, force classes on PasswordInput, remove api call from ChangePassword
* refactored out form
* clean up
* removed unnecessary bind, added loading state and loading component to change password form
* should be OR
* arrow funcs instead of binds, inline-block instead of flex, isSaving instead of isLoading, disabled button instead of spinner
* inline-flex on the react btn
* change state instatiatiation
2019-07-03 17:02:11 +02:00