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

Rework remote promo sheet logic / designs #6085

Merged
merged 13 commits into from
Sep 16, 2024

Conversation

walmat
Copy link
Contributor

@walmat walmat commented Sep 6, 2024

Fixes APP-1836

What changed (plus any additional context for devs)

Addresses some oddities happening around remote promo sheets.

  1. Removes need for remote promo sheets being enabled in order to process local sheets / app icons
  2. Cleans up promo sheet design system consistencies
  3. Fixes some light / dark mode issues with text colors

Screen recordings / screenshots

Screenshot 2024-09-12 at 12 34 07 PM Screenshot 2024-09-12 at 12 34 51 PM Screenshot 2024-09-12 at 12 40 50 PM Screenshot 2024-09-12 at 12 43 03 PM Screenshot 2024-09-12 at 12 45 14 PM Screenshot 2024-09-12 at 12 44 37 PM

What to test

@walmat walmat marked this pull request as ready for review September 12, 2024 16:49
Copy link

linear bot commented Sep 12, 2024

@brunobar79
Copy link
Member

Launch in simulator or device for cd5936c

@brunobar79
Copy link
Member

Launch in simulator or device for 8dc7bfc

@brunobar79 brunobar79 requested review from derHowie and removed request for estebanmino September 13, 2024 16:42
Copy link
Member

@benisgold benisgold left a comment

Choose a reason for hiding this comment

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

looks good! left 1 comment

also, not sure if related to your pr, but i believe the swaps promo sheet was intended to always show as "dark mode" themed. kinda irrelevant now

src/state/sync/RemotePromoSheetSync.tsx Outdated Show resolved Hide resolved
Copy link
Member

@derHowie derHowie left a comment

Choose a reason for hiding this comment

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

👌

@derHowie
Copy link
Member

@walmat approved, but https://github.com/rainbow-me/rainbow/blob/%40matthew/improve-remote-promo-sheets/src/navigation/types.ts#L70 this line might need a types cleanup

@brunobar79
Copy link
Member

Launch in simulator or device for 4e87901

@brunobar79
Copy link
Member

Launch in simulator or device for bcd555e

@brunobar79
Copy link
Member

Launch in simulator or device for da89248

@@ -100,7 +110,8 @@ export function RemotePromoSheet() {
);
}, [goBack, navigate, data?.promoSheet]);

if (!data?.promoSheet || error) {
if (!data?.promoSheet) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we only shouldn't show if we don't have the data, regardless of error

@brunobar79
Copy link
Member

Launch in simulator or device for 032a333

@walmat walmat merged commit a0d629f into develop Sep 16, 2024
8 checks passed
@walmat walmat deleted the @matthew/improve-remote-promo-sheets branch September 16, 2024 19:42
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.

5 participants