Closed nfmohit closed 2 months ago
Nice work, @hussain-t ! IB LGTM đ â
Hey @hussain-t, the Storybook links in the QAB were pointing to the wrong PR, so I've fixed them.
However - once the PR is merged, the Storybook deployment for the PR will be deleted, so the QAB won't be so useful when it actually comes to QA. I'm not sure if you meant to link to the develop
Storybook, or to both the PR and develop
versions. Anyhow, please can you update the QAB accordingly?
Thanks for pointing it out, @techanvil. I meant to point the links to develop
. I've updated the QAB.
2 items to check:
The links in the QAB (e.g. https://google.github.io/site-kit-wp/storybook/pull/9088/?path=/story/modules-readerrevenuemanager-setup-publicationcreate--without-publication) is not workable. I have been looking at https://google.github.io/site-kit-wp/storybook/develop/?path=/story/modules-readerrevenuemanager-setup-publicationcreate--without-publication instead. I believe that's the correct one but LMK if otherwise.
Main flag is that the CTA font weight is currently at 400 when it should be 500 from Figma.
Hi @kelvinballoo, sorry about it. Yes, you have spotted the correct URL.
As for the CTA font size, we should keep it consistent with all the buttons. Please take a look at this comment. And the Figma discussions.
Thanks @hussain-t . Looks like it will be fixed under https://github.com/google/site-kit-wp/issues/8856
This ticket can be moved to approval then as the following have been verified as good: â
The buttons have a hover effect â
Feature Description
A
<PublicationCreate>
component should be added to the Reader Revenue Manager module that encapsulates the publication creation flow.Screenshots for reference
![image](https://github.com/google/site-kit-wp/assets/20284937/57f1baf5-daa0-4415-a751-c8ffb9cafb14) ![image](https://github.com/google/site-kit-wp/assets/20284937/90bf798e-20d8-46ab-956e-a112887c51cd)Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
PublicationCreate
component should be created for the Reader Revenue Manager module to facilitate the creation of a new publication matching the Figma designs.SetupMain
/SettingsEdit
. See screenshot for reference:getServiceURL()
selector (being implemented in #8848).Implementation Brief
PublicationCreate
componentIn the
assets/js/module/reader-revenue-manager/components/common
directory, create a new component,PublicationCreate.js
:PublicationCreate
that renders the publication creation flow.onCompleteSetup
prop, a callback function to be called when the user clicks the CTA to complete the setup.getPublications
selector.getServiceURL
selector.onClick
handler.onCompleteSetup
prop to the CTA button'sonClick
handler.Test Coverage
PublicationCreate
component inassets/js/module/reader-revenue-manager/components/common/PublicationCreate.stories.js
.PublicationCreate
component inassets/js/module/reader-revenue-manager/components/common/PublicationCreate.test.js
.QA Brief
PublicationCreate
component cannot be tested individually. It should be tested as part of the Reader Revenue Manager module setup flow in #8800. However, the text and the CTA should be verified with the stories in the Storybook.Changelog entry
PublicationCreate
component that encapsulates the publication creation flow for the Reader Revenue Manager module, presented in Storybook.