-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Provide translated list of goals to be displayed by the "Goals Capture Step" screen #63961
Conversation
Creating a hook that will provide a list of translated 'goals' that are to be displayed in the "Capture Goals" step of the setup flow.
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
- Rename useIntents to useGoals hook - Re-order GoalKey values - Use `key` and `title` instead of `id` and `label` as keys of Goal type object
While looking at the file locations again today, there's one thing that's not clear to me. My understanding was that our new Goals step will live in |
You are right @ivan-ottinger ! Let me fix the directory. 👍 |
Yup, And as to where things should be placed, not too worried at the moment, one could argue the hook could be inside |
This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/7331366 Hi @mashikag, could you please edit the description of this PR and add a screenshot for our translators? Ideally it'd include all of the following strings:
Thank you in advance! |
Translation for this Pull Request has now been finished. |
Creating a hook that will provide a list of translated 'goals' that are to be displayed in the "Capture Goals" step of the setup flow.
Changes proposed in this Pull Request
goals
step hook to provide a list of translated goals that are to be displayed in the newCapture Goals
screenTesting instructions
No real testing instructions for this. As long as it does not regress any current functionality, it should introduce no changes to the current UI.
The hook will be verified at the time of implementing the new
Capture Goals
screen which will consume the returned data.Related to #63959