Skip to content
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

MWPW-145727: add ability to have secondary cta used during live events #170

Merged
merged 3 commits into from
Aug 27, 2024

Conversation

sheridansunier
Copy link
Collaborator

@sheridansunier sheridansunier commented Aug 13, 2024

As a Virtual Events Product Manager, I want to have a way for a different destination (e.g anchor link) and CTA copy when an event card is live so that when we use event cards to promote the upcoming homepage schedule, a click to the card will take the user to the specific destination (specifically to the marquee video player on the homepage).

This change requires:

To test this, you need a card that has a a secondaryCTA authored, and you need it to be an event that you can use servertime to observe the cards behavior before/during/after the card goes live. For my personal testing I was using this card collection: here it is! . But this does not show the actual feature working e2e b/c I mocked the secondaryCTA in my personal development.

You need to check that altCTA is used from milo. Be using the chimera-feature (or dev if it has merged but if it hasn't the most up to date code is on chimera-feature) and then you should be able to see that the CTA changes to the secondaryCTA when a card is live.

@sheridansunier sheridansunier requested review from sanrai and cmiqueo and removed request for sanrai August 13, 2024 09:25
Copy link
Collaborator

@sanrai sanrai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! :) Well done.

I was trying to simplify right && right.length > 0 but couldn't find a cleaner way to do it than you have.

@sheridansunier sheridansunier merged commit ab6c7d0 into main Aug 27, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants