-
Notifications
You must be signed in to change notification settings - Fork 278
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
Implement “Set your site goals” CTA button in admin settings when metrics have been picked #6262
Comments
I'm confused: doesn't clicking on the "Set your site goals" button open the side panel to edit the key metrics widgets that should appear on the dashboard? Where is the CTA in this screenshot/in the Figma design? I don't see a User Input CTA, just the "Set your site goals" button that I'd expect would open the Key Metrics widget edit screen from #6258. |
Ohhh, wait, I understand, that button IS the CTA but is for opening User Input if the user has already selected metrics. That didn't quite register but now I get it 👍🏻 I'm just going to tweak the wording or highlight that case here so it's extra-clear, but ACs are good and I'll move this to IB 👍🏻 |
IB ✔️ |
…s-cta Enhance/#6262 - Add set your site goals CTA
QA Update:
|
Thanks @wpdarren. Regarding your observations:
Yes, it was changed as part of #5900.
Yes, that was a typo, my bad. I have updated the QAB.
By default, we use the |
Reopening this one due to the error raised in settings when |
QA Update: ✅Verified:
Checked to make sure that the QAB passes when
|
Feature Description
If the user has “manually” selected metrics by themselves on the dashboard using the "Select Key Metrics" panel from #6258, a new CTA "link" in the Key metrics settings panel which still encourages the user to answer the User Input questionnaire should be added, similar to the CTA displayed when the user has not set up the widget to begin with.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
assets/js/components/settings/SetGoalsCTA.js
which exports theSetGoalsCTA
functional component.assets/js/components/notifications/CTA.js
to create aLink
with text and style it as per Figma DesigngetUserInputState
to check if user has selected goalsgetUserPickedMetrics
to check if user has selected key metrics (getUserPickedMetrics
is part of Improve fetching key metrics based on user selected metrics #6257)select( CORE_SITE ).getAdminURL( 'googlesitekit-user-input' )
to get a link to user goals questionnaireSetGoalsCTA
insideSettingsKeyMetrics
(SettingsKeyMetrics
is part of Implement settings toggle to show/hide the Key metrics widget #6261)SetGoalsCTA
inassets/js/components/settings/SetGoalsCTA.stories.js
Test Coverage
SetGoalsCTA
QA Brief
userInput
feature flag and set up Site Kit.Personalize your metrics
.Set your site goals
along with the toggle switch, which was implemented in Implement settings toggle to show/hide the Key metrics widget #6261Follow-up fix
userInput
feature disabled to ensure the error (or anything else related to user-input/key-metrics) is not triggered/visibleChangelog entry
The text was updated successfully, but these errors were encountered: