Skip to content
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

Closed
wants to merge 146 commits into from
Closed

Settings Pages UI - New Design #14262

wants to merge 146 commits into from

Conversation

negue
Copy link
Member

@negue negue commented Oct 2, 2022

Tabs updated:

Additional Changes:

  • Task Overview Save last selected sub tab of each Task-Type

@negue negue mentioned this pull request Aug 9, 2023
# 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
@SabreCat SabreCat force-pushed the negue/ui/setting branch 2 times, most recently from 0e4af14 to 76408f8 Compare August 10, 2023 21:38
Copy link
Member

@SabreCat SabreCat left a 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/components/ui/informationIcon.vue Outdated Show resolved Hide resolved
website/client/src/pages/settings/promoCode.vue Outdated Show resolved Hide resolved
},
methods: {
generateCodes () {
// $http.post(ApiUrl.get() + '/api/v2/coupons/generate/
Copy link
Member

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.

Copy link
Member

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.

Copy link
Member Author

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

Copy link
Collaborator

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?

Copy link
Member Author

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

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
Copy link
Member

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?

Copy link
Member Author

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/common/script/content/constants/index.js Outdated Show resolved Hide resolved
@negue negue marked this pull request as ready for review September 13, 2023 21:43
@negue negue changed the title WIP - Improving the Settings Pages UI Settings Pages UI - New Design Sep 14, 2023
@SabreCat
Copy link
Member

This got merged a while ago, not sure why GitHub didn't pick it up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add Task Alias field to all four task types
4 participants