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

chore: gate ohlc behind statsig ff #1164

Merged

Conversation

moo-onthelawn
Copy link
Contributor

@moo-onthelawn moo-onthelawn commented Oct 17, 2024

Gates ohlc behind statsig ff (ff_enable_ohlc) because we foresee needing to turn it on/off a few times in the next few weeks.

Expected behavior:

  • when ff_enable_ohlc = false: do not show ohlc toggle, data shown should be that of when ohlc toggle is off
  • when ff_enable_ohlc = true; show ohlc toggle, default to true

Tested by toggling ff_enable_ohlc and verifying the above cases (i suggest using NOT market to see obvious differences)

@moo-onthelawn moo-onthelawn requested a review from a team as a code owner October 17, 2024 15:09
Copy link

vercel bot commented Oct 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
v4-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 4:52pm
v4-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 4:52pm

Copy link

linear bot commented Oct 17, 2024

@@ -28,7 +28,7 @@ class AbacusWebsocket implements Omit<AbacusWebsocketProtocol, '__doNotUseOrImpl

private isConnecting: boolean = false;

orderbookCandlesToggleOn: boolean = true;
orderbookCandlesToggleOn: boolean = false;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this line is fine and can stay this way even after we remove the flag/set it to true since this line handles syncing it with FE state on mount

@moo-onthelawn moo-onthelawn merged commit 002a9a5 into main Oct 17, 2024
14 checks passed
@moo-onthelawn moo-onthelawn deleted the mulan/ct-1299-add-statsig-for-turning-ohlc-onoff branch October 17, 2024 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants