Giter Club home page Giter Club logo

Comments (11)

eugene-manuilov avatar eugene-manuilov commented on August 17, 2024 1

Thanks, @benbowler. Mostly looks good to me.

  • Create the primary CTA "Set up Ads" as a default Button component which links to ${ settingsURL }&slug=ads&reAuth=true with the settingsURL retrieved with the getAdminURL selector passing googlesitekit-settings.

We need to use the same approach that we use in the settings when we click on the connect button:

const { error, response } = await activateModule( slug );
if ( ! error ) {
await trackEvent(
`${ viewContext }_module-list`,
'activate_module',
slug
);
navigateTo( response.moduleReauthURL );

... we could quite easily have the Consent Mode and Ads Module widgets both rendering on the dashboard...

Yes, let's not worry about that for now. We will create a follow up task if it is needed.

from site-kit-wp.

mohitwp avatar mohitwp commented on August 17, 2024 1

QA Update ❌

  • Tested on dev environment.
  • Verified all cases mentioned under AC and QAB.
  • Compared design with Figma.

@zutigrm Please find my observations below

1) Font family for the banner title is 'Google Sans Display' in Figma where as under actual implementation it is 'Google Sans Text'.

image

image

2) We don't have figma design for large tablet viewports but design under Viewports having width between 961px to 1132px is looking off with space appearing below the image.

image

image

image

image

3) In smaller tablet viewports font size is different from figma. On smaller tablets we implemented same font size as mobile viewports. Tested on iPad air and Surface Pro smaller tablet viewports.

Figma -

image

image

Dev environment -

image

image

4) The 'Maybe later' CTA is not functioning as expected according to the acceptance criteria and QA brief. Clicking on the 'Maybe later' CTA does not dismiss the banner but instead renames the CTA to "Don’t show again". Clicking on 'Don’t show again' dismisses the banner. Additionally, upon each refresh when the dashboard loads, the Ads module setup CTA banner briefly displays for a few milliseconds before hiding.

Recording.993.mp4

from site-kit-wp.

zutigrm avatar zutigrm commented on August 17, 2024 1

@mohitwp Thanks for checking it. Hm, I tested it manually on my end, as sometimes reference date doesn't affect some places. Which seems to be the case. You can edit the database, in wp_usermeta table, find the wp_googlesitekitpersistent_dismissed_prompts column and edit it.

image

You will see ads_module_setup_banner_prompt_dismissed_key in the data, under it, there is expires property, you can replace current timestamp with this one 1716882640 (it is 28th May)

image

from site-kit-wp.

tofumatt avatar tofumatt commented on August 17, 2024

Looks good. I'm guessing we don't have any GA events defined yet for this banner, but we should probably add those as well in a follow-up issue 😅

(If we get them in soon we can probably just add it to this issue's ACs.)

ACs look good, moving to IB.

from site-kit-wp.

benbowler avatar benbowler commented on August 17, 2024

I've created the IB today, one thing to note and discuss in the IBR is that we could quite easily have the Consent Mode and Ads Module widgets both rendering on the dashboard. We could prevent this as a one off by doing some kind of check for the Consent Mode display state within this new Widget but that's not very flexible and brings in CoMo logic to an Ads module widget, although perhaps this is acceptable for now?

We could perhaps create a follow up ticket to create a higher level component for these banners that handles the checks and only renders one at a time regardless if multiple widgets meet their display condition.


I'm also waiting on details of the responsive designs from @sigal-teller here.

from site-kit-wp.

benbowler avatar benbowler commented on August 17, 2024

Putting this into IBR, this comment from above still applies and is worth discussing:

I've created the IB today, one thing to note and discuss in the IBR is that we could quite easily have the Consent Mode and Ads Module widgets both rendering on the dashboard. We could prevent this as a one off by doing some kind of check for the Consent Mode display state within this new Widget but that's not very flexible and brings in CoMo logic to an Ads module widget, although perhaps this is acceptable for now?

We could perhaps create a follow up ticket to create a higher level component for these banners that handles the checks and only renders one at a time regardless if multiple widgets meet their display condition.

from site-kit-wp.

benbowler avatar benbowler commented on August 17, 2024

Thanks @eugene-manuilov, I've updated the IB module activation steps.

from site-kit-wp.

eugene-manuilov avatar eugene-manuilov commented on August 17, 2024

Thanks, @benbowler. IB ✔️

from site-kit-wp.

mohitwp avatar mohitwp commented on August 17, 2024

QA Update ⚠️

  • Tested on main environment.
  • Verified above reported issues 1 to 3 are resolved now.

@zutigrm I verified that on clicking the 'Maybe later' CTA banner, it gets dismissed and does not reappear when reloading the dashboard. However, it doesn't reappear even when I set the reference date in the tester plugin to over 14 days, 15 days, or 1 month later. Do I need to make some changes in the database, or is it getting permanently dismissed? Can you please check?

'Maybe later' CTA screencast

Recording.1005.mp4

Banner not reappearing when I set the reference date in tester plugin to something over 14 days, 15days or 1 month.

Recording.1006.mp4

PASS CASES

1) Font family for the banner title is 'Google Sans Display' in Figma where as under actual implementation it is 'Google Sans Text'. - PASS

image

  1. We don't have figma design for large tablet viewports but design under Viewports having width between 961px to 1132px is looking off with space appearing below the image. - PASS

image

image

3) In smaller tablet viewports font size is different from figma. On smaller tablets we implemented same font size as mobile viewports. Tested on iPad air and Surface Pro smaller tablet viewports. - PASS

image

image

from site-kit-wp.

mohitwp avatar mohitwp commented on August 17, 2024

QA Update ❌

  • Tested on main environment.
  • Verified functionality of 'Maybe later' CTA and 'Don't show' CTA.
  • Note : Setting reference date in Tester plugin was not working so I tested it through db manipulation mentioned above.

@zutigrmI tested this on three different sites. According to the acceptance criteria, after clicking 'Maybe later', the CTA banner should display again in 14 days. In the database, the expiry date is correctly set to 14 days later. However, when I set a past date in the database, it forces the banner to display on the dashboard, but it still shows the 'Maybe later' CTA. It only displays the 'Don't show' CTA after appearing twice with the 'Maybe later' CTA.

Expected: On the second appearance, the banner should display the 'Don't show' CTA instead of 'Maybe later'.

Recording.1009.mp4

from site-kit-wp.

mohitwp avatar mohitwp commented on August 17, 2024

QA Update ✅

  • Tested on main environment.
  • Verified 'Maybe later' and 'Don't show' CTA functionality working as per AC.
  • Above issue was due to space copied with timestamp.
  • Verified all above issue 1 to 4 are resolved now.

1) Font family for the banner title is 'Google Sans Display' in Figma where as under actual implementation it is 'Google Sans Text'. - PASS

image

  1. We don't have figma design for large tablet viewports but design under Viewports having width between 961px to 1132px is looking off with space appearing below the image. - PASS

image

image

3) In smaller tablet viewports font size is different from figma. On smaller tablets we implemented same font size as mobile viewports. Tested on iPad air and Surface Pro smaller tablet viewports. - PASS

image

image

4) The 'Maybe later' CTA is not functioning as expected according to the acceptance criteria and QA brief. Clicking on the 'Maybe later' CTA does not dismiss the banner but instead renames the CTA to "Don’t show again". Clicking on 'Don’t show again' dismisses the banner. Additionally, upon each refresh when the dashboard loads, the Ads module setup CTA banner briefly displays for a few milliseconds before hiding. PASS

'Maybe later' CTA

Recording.1005.mp4

'Don't Show' CTA

Recording.1012.mp4

from site-kit-wp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.