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

feat: add stablecoin earn feature gate #5373

Merged
merged 1 commit into from
May 2, 2024
Merged

feat: add stablecoin earn feature gate #5373

merged 1 commit into from
May 2, 2024

Conversation

satish-ravi
Copy link
Contributor

Description

Just setting up the gate in the code, will be used in subsequent PRs

Test plan

N/A

Related issues

Backwards compatibility

Yes

Network scalability

N/A

Copy link

codecov bot commented Apr 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.05%. Comparing base (df34e35) to head (b84dcfc).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5373   +/-   ##
=======================================
  Coverage   86.05%   86.05%           
=======================================
  Files         735      735           
  Lines       29946    29947    +1     
  Branches     5122     5122           
=======================================
+ Hits        25771    25772    +1     
  Misses       3948     3948           
  Partials      227      227           
Files Coverage Δ
src/statsig/constants.ts 100.00% <ø> (ø)
src/statsig/types.ts 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update df34e35...b84dcfc. Read the comment docs.

@@ -27,6 +27,7 @@ export const FeatureGates = {
[StatsigFeatureGates.SHOW_NFT_REWARD]: false,
[StatsigFeatureGates.SHOW_JUMPSTART_SEND]: false,
[StatsigFeatureGates.SHOW_POINTS]: false,
[StatsigFeatureGates.SHOW_STABLECOIN_EARN]: false,
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit on naming: "SHOW_EARN" instead?

Copy link
Contributor

@jh2oman jh2oman Apr 30, 2024

Choose a reason for hiding this comment

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

we talked and debated between the two. show_earn is a bit short, but as long as we continue calling it Earn we should be fine.

Show_stablecoin_earn is also nice if we intend on this only being for the mvp. I don't feel too strongly

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 if we anticipate this to be long lived token, we can change to show_earn. But almost all of our features have been specific to one release, which is why I went with show_stablecoin_earn. So unless we have a case for this being a long lived token (e.g., if we want to have some region lock for this feature), I lean towards show_stablecoin_earn.

@satish-ravi satish-ravi added this pull request to the merge queue May 1, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 1, 2024
@satish-ravi satish-ravi added this pull request to the merge queue May 2, 2024
Merged via the queue into main with commit d5ef268 May 2, 2024
16 checks passed
@satish-ravi satish-ravi deleted the satish/act-1183 branch May 2, 2024 00:27
shottah pushed a commit to zed-io/kolektivo that referenced this pull request May 15, 2024
### Description

Just setting up the gate in the code, will be used in subsequent PRs

### Test plan

N/A

### Related issues

- Fixes ACT-1183

### Backwards compatibility

Yes

### Network scalability

N/A
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.

None yet

4 participants