Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

[PAY-1545] Updates to mobile gated content track tiles #3663

Merged
merged 7 commits into from
Jun 29, 2023

Conversation

dharit-tan
Copy link
Contributor

@dharit-tan dharit-tan commented Jun 27, 2023

Description

  • Remove uses of useIsGatedContentEnabled in all lineup tile related components
  • Updates to gated content track tiles

Dragons

Is there anything the reviewer should be on the lookout for? Are there any dangerous changes?

How Has This Been Tested?

Screenshots below were taken before I updated the font weight to medium, did not update the screenshots bc i am lazy :)

Local ios stage:
Simulator Screenshot - iPhone 14 Pro - 2023-06-27 at 18 28 20
Simulator Screenshot - iPhone 14 Pro - 2023-06-27 at 18 26 40
Simulator Screenshot - iPhone 14 Pro - 2023-06-28 at 17 32 17

Owner:
Simulator Screenshot - iPhone 14 Pro - 2023-06-27 at 18 28 08

How will this change be monitored?

Feature Flags

Not feature-flagged hence merging to feature branch.

Copy link
Contributor

@schottra schottra 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!

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this icon used anywhere else and does removing it break anything?
Seems like just an update to a smaller viewport?
Also wondering if I need to update this icon in web as well...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the icon itself also looks slightly different. Probably also good to change in web!

marginRight: 10,
height: 26
paddingVertical: spacing(2),
marginHorizontal: spacing(2.5)
Copy link
Contributor

Choose a reason for hiding this comment

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

I had thought the design had everything aligned to grid units. Why the 2.5 spacing here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh man i think there's 10px padding on the tile even tho the spec says 8. I think I'll just merge this now and follow-up with another PR to change the padding everywhere and add some client folks to that.

@dharit-tan dharit-tan merged commit c129aec into gated-content-updates Jun 29, 2023
@dharit-tan dharit-tan deleted the rt-gated-content-tile branch June 29, 2023 15:10
@AudiusProject AudiusProject deleted a comment from linear bot Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants