-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Settings Pages UI - New Design #14262
Conversation
# Conflicts: # website/client/package-lock.json
# Conflicts: # website/client/package-lock.json
# Conflicts: # config.json.example # website/client/src/router/index.js # website/client/src/router/static-routes.js # website/client/src/router/user-routes.js # website/common/locales/en/settings.json
0e4af14
to
76408f8
Compare
76408f8
to
d279af7
Compare
# Conflicts: # website/client/src/router/user-routes.js
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.
Relatively minor cleanup left to do. What a lot of hard work! Well done!
website/client/src/pages/settings/components/inlineSettingMixin.js
Outdated
Show resolved
Hide resolved
website/client/src/pages/settings/components/saveCancelButtons.vue
Outdated
Show resolved
Hide resolved
}, | ||
methods: { | ||
generateCodes () { | ||
// $http.post(ApiUrl.get() + '/api/v2/coupons/generate/ |
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.
So this is a null function?
If we want this to be functional, it should be an action in the client store that invokes axios
to send the API request.
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.
Or at least an axios
call here, if we don't care about putting it in the store.
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.
The question rather is do we still have / want to create codes? since this was already commented out 4-6 years ago 😬 https://github.com/HabitRPG/habitica/blame/develop/website/client/src/components/settings/promoCode.vue#L98
I'll probably remove it fully and re-add once we need something like that again? what you think?
also cc @Tressley
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.
I think it's okay to remove it for now?
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.
removed it for now - once we need it we can just redo it in a better way
website/client/src/pages/settings/settingRows/passwordSetting.vue
Outdated
Show resolved
Hide resolved
import ValidatedTextInput from '@/components/ui/validatedTextInput.vue'; | ||
import { NotificationMixins } from '@/mixins/notifications'; | ||
|
||
// TODO extract usernameIssues/checks to a mixin to share between this and the authForm |
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.
later todo or now todo?
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.
thats a later one - easier to do in isolation pr instead of this huge change 😬
website/client/src/pages/settings/settingRows/userNameSetting.vue
Outdated
Show resolved
Hide resolved
962e88a
to
ea8563c
Compare
This got merged a while ago, not sure why GitHub didn't pick it up! |
Tabs updated:
Additional Changes: