Skip to content

Update/powered by redesign #2499

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

Merged
merged 11 commits into from
Jun 6, 2025
Merged

Update/powered by redesign #2499

merged 11 commits into from
Jun 6, 2025

Conversation

delbarrow
Copy link
Contributor

@delbarrow delbarrow commented May 19, 2025

Description

Updated 'Powered by PayPal' message that appears at the bottom of the smart stack with the new design including the new PayPal logo.

The new design will only render if the paypal button is the rebranded experience as well. The REBRAND_BLUE and REBRAND_BLACK will render the black Powered By message, and REBRAND_WHITE will render the white Powered By message.

Why are we making these changes? Include references to any related Jira tasks or GitHub Issues

Ticket: https://paypal.atlassian.net/browse/DTPPCPSDK-2988

Reproduction Steps (if applicable)

Screenshots (if applicable)

Screenshot 2025-06-02 at 9 04 27 AM

Dependent Changes (if applicable)

Groups who should review (if applicable)

❤️ Thank you!

@delbarrow delbarrow requested a review from a team as a code owner May 19, 2025 21:38
@delbarrow delbarrow marked this pull request as draft May 19, 2025 21:42
@delbarrow delbarrow marked this pull request as ready for review June 2, 2025 14:20
|};

function getPoweredByConfig(): {|
Copy link
Contributor

Choose a reason for hiding this comment

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

We should have unit tests for this function

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's add some Karma tests for this.

Let's test:

  • Rendering of legacy vs rebranded styles
  • correct color based on button color

@delbarrow delbarrow requested a review from nikrom17 June 4, 2025 20:07
@nikrom17 nikrom17 merged commit 8bc0ce8 into main Jun 6, 2025
4 checks passed
@nikrom17 nikrom17 deleted the update/powered-by-redesign branch June 6, 2025 18:50
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