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

Remove gated content feature flags from mobile #3726

Merged
merged 4 commits into from
Jul 12, 2023

Conversation

dharit-tan
Copy link
Contributor

@dharit-tan dharit-tan commented Jul 11, 2023

Description

Removes all usages of useIsGatedContentEnabled, useIsSpecialAccessEnabled, useIsCollectibleGatedEnabled from mobile.

Dragons

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

How Has This Been Tested?

Local ios stage - tested track tiles, lineup tiles, upload flow

How will this change be monitored?

For features that are critical or could fail silently please describe the monitoring/alerting being added.

Feature Flags

Are all new features properly feature flagged? Describe added feature flags.

Copy link
Contributor

@piazzatron piazzatron left a comment

Choose a reason for hiding this comment

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

Thanks for taking on this cleanup!! Looks great

@piazzatron
Copy link
Contributor

I think name of PR is wrong though :)

@dharit-tan dharit-tan changed the title Remove isUSDCGatedContentEnabled flag from mobile Remove gated content feature flags from mobile Jul 11, 2023
@audius-infra
Copy link
Collaborator

Preview this change https://demo.audius.co/rt-flags

Copy link
Contributor

@sddioulde sddioulde left a comment

Choose a reason for hiding this comment

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

Is this taking into account that we still want the feature flags on iOS?

also nit: useIsGatedContentEnabled is twice on the PR description

@dharit-tan
Copy link
Contributor Author

Is this taking into account that we still want the feature flags on iOS?

also nit: useIsGatedContentEnabled is twice on the PR description

Turns out we only use those in the upload flow, don't filter out tracks in lineup. Had a discussion with @piazzatron on slack and we decided to just delete, since they don't really do what we want anyway.

@dharit-tan dharit-tan merged commit a241db8 into gated-content-updates Jul 12, 2023
2 checks passed
@dharit-tan dharit-tan deleted the rt-flags branch July 12, 2023 04:18
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.

4 participants