Skip to content

Rework remote promo sheet logic / designs#6085

Merged
walmat merged 13 commits intodevelopfrom
@matthew/improve-remote-promo-sheets
Sep 16, 2024
Merged

Rework remote promo sheet logic / designs#6085
walmat merged 13 commits intodevelopfrom
@matthew/improve-remote-promo-sheets

Conversation

@walmat
Copy link
Copy Markdown
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
@linear
Copy link
Copy Markdown

linear Bot commented Sep 12, 2024

@brunobar79
Copy link
Copy Markdown
Contributor

Launch in simulator or device for cd5936c

@brunobar79
Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

@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

Comment thread src/state/sync/RemotePromoSheetSync.tsx Outdated
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor

@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
Copy Markdown
Contributor

Launch in simulator or device for 4e87901

@brunobar79
Copy link
Copy Markdown
Contributor

Launch in simulator or device for bcd555e

@brunobar79
Copy link
Copy Markdown
Contributor

Launch in simulator or device for da89248

}, [goBack, navigate, data?.promoSheet]);

if (!data?.promoSheet || error) {
if (!data?.promoSheet) {
Copy link
Copy Markdown
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
Copy Markdown
Contributor

Launch in simulator or device for 032a333

@walmat walmat merged commit a0d629f into develop Sep 16, 2024
@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