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
Consider re-positioning settings in GA SettingsView
#6821
Comments
SettingsEdit
and SettingsView
SettingsView
Had another think on this and I don't think we should move this in the "edit" mode, especially as it isn't that way in Figma. But moving the view setting and adding a link to edit that account in Analytics is 👍🏻 |
Thanks @tofumatt – the IB includes a code snippet which seems to have a feature flag condition within it which isn't part of the AC here. I think the first point of the IB should be sufficient for this simple change, let's remove the code which shouldn't be necessary but also seems to be incorrect.
Let's simplify this to avoid confusion to call for using Also – this change seems simple enough as a 7, or even less but I'm guessing this would be with the |
Indeed, this is a 7 with the I've updated the URL creation not to use the old analytics module, I missed that because both data stores have a The site-kit-wp/assets/js/modules/analytics/components/settings/GA4SettingsView.js Lines 54 to 56 in e3fa574
|
Thanks @tofumatt! We shouldn't really be using It might be worth defining a new I'll amend the AC to include a reference to the edit link 👍 |
I think the IB here is good now, I don't see a reference to |
IB ✅ |
…ings-repositioning Re-position settings in Analytics `SettingsView`
QA Update: ✅Verified:
|
Feature Description
If we take a look at the final state of the Analytics module settings in this Figma mockup, it can be seen that the
Account
setting is on its own row. Do we think it'd be a good idea to implement this positioning consistently in AnalyticsSettingsEdit
andSettingsView
?So, as for positioning:
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
SettingsView
), the Google Analytics Account should appear on its own line, separate from the property, measurement ID, etc, similar to the Figma mocks:Edit in Analytics
as well, as shown in the design which openshttps://analytics.google.com/analytics/web/#/a{accountID}p{propertyID}/admin/account/settings
in a new tab/windowImplementation Brief
DisplayView
) into its own section (eg. its own<div className="googlesitekit-settings-module__meta-items">
) like so:https://analytics.google.com/analytics/web/?pli=1#/a${GA4_ACCOUNT_ID}p${GA4_PROPERTY_ID}/admin/account/settings
site-kit-wp/assets/js/modules/analytics/components/settings/UASettingsView.js
Lines 51 to 55 in 6585d8e
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: