-
Notifications
You must be signed in to change notification settings - Fork 286
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
Create the Ads module setup flow. #8348
Conversation
Build files for 65f6c0d are ready:
|
be4fe9d
to
4b8c3a8
Compare
Size Change: +3.73 kB (0%) Total Size: 1.41 MB
ℹ️ View Unchanged
|
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.
@benbowler thank you for this, code mostly LGTM aside from an alignment issue with the presence of Ads Conversion ID input notice for when there is no value entered as yet, I do not believe that is supposed to be in the setup screen as per the Figma mock: https://www.figma.com/file/THG1FJw5SaUxmiq38Mkf1x/Ads?type=design&node-id=121-1080&mode=design&t=s7FMIhQebaLXcUvT-0
It only appears to exist in the component view once the module is set up, see the Figma mock at https://www.figma.com/file/THG1FJw5SaUxmiq38Mkf1x/Ads?type=design&node-id=209-1765&mode=design&t=s7FMIhQebaLXcUvT-0
@10upsimon moving this back to CR with you after reading Sigals Slack message about the validation message and including validation here in the setup flow as in the settings pages. |
FYI I updated some of the copy in the Ads Settings branch in this commit. |
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.
@benbowler I noticed one small nitpick WRT banner naming convention but keen to hear your thoughts.
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.
@benbowler I was thinking about this for a while, and it may seem like a nit pick comment, but if this banner is only related to ads (and it is, given the textual nature of it) I feel we may want to be a bit more explicit in terms of naming convention here. The file name and its location do not really elude to the fact that it is an ads only banner.
I think it may be worth renaming this to AdsSetupSuccessSubtleNotification
or similar, what do you think?
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.
As per Slack comms, the thought from @benbowler here was that in future other modules may use this style, and conditional output will simply live within this same component.
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 same applies to the stories file as I outlined above IRO a more ads explicit naming convention here.
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.
Thanks @benbowler this seems good to go IMO.
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.
Looks good, just a few minor copy issues; I'll make the changes and merge 👍🏻
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.
Just needs the merge conflicts resolved and then we're good-to-go 😄
Summary
Addresses issue:
SetupComponent
inAds
Module #8346Relevant technical choices
I build out the module setup flow as in the IB, as part of this work I had to update how the authentication notification shows the banner on the dashboard to use the new
SubtleNotification
instead of theBannerNotification
. Finally while I was working on this ticket I added the features to the module registration to match the mockups when disconnecting.I updated the settings field title to "Conversion ID" based on a comment from @aaemnnosttv in the sprint meeting 6 March 2024.
PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist