-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/restructure settings module #1478
Conversation
@marla-singer Would you be available to review Brylie's PR? @brylie deleted the previous one you were reviewing, because it was giving console errors. This should not have the errors. |
@bajiat Yes, i'm going to review it now |
@@ -0,0 +1,5 @@ | |||
AutoForm.addHooks(['settings'], { | |||
onSuccess () { | |||
FlashMessages.sendSuccess('Settings saved.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brylie Add i18n token
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's switch to sAlert notifications only. Now we have both FlashMessages and sAlert.
For this PR is enough to change it to sAlert just here, but we need have a separate task to completely remove FlashMessages package from the project.
@brylie It works good |
@@ -0,0 +1,5 @@ | |||
AutoForm.addHooks(['settings'], { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use AutoForm.hooks instead of AutoForm.addHooks.
@marla-singer and @NNN I made the suggested changes. Please review ASAP. Ping @bajiat. |
Closes #1474
Changes