-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: updated currency switch clicked event for deposit and withdrawal screens #22286
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
Merged
Matt561
merged 4 commits into
main
from
feat/tat-1909-add-stake-input-currency-switch-clicked-event
Nov 10, 2025
Merged
feat: updated currency switch clicked event for deposit and withdrawal screens #22286
Matt561
merged 4 commits into
main
from
feat/tat-1909-add-stake-input-currency-switch-clicked-event
Nov 10, 2025
+26
−14
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
nickewansmith
previously approved these changes
Nov 7, 2025
app/components/UI/Earn/Views/EarnWithdrawInputView/EarnWithdrawInputView.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/Earn/Views/EarnWithdrawInputView/EarnWithdrawInputView.tsx
Outdated
Show resolved
Hide resolved
|
nickewansmith
approved these changes
Nov 10, 2025
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Description
Updated currency switch clicked event for deposit and withdrawal screens
Changes:
EARN_INPUT_CURRENCY_SWITCH_CLICKEDevent for pooled-stakingtoken_symbolandchain_id_hexproperties toEARN_INPUT_CURRENCY_SWITCH_CLICKED,EARN_INPUT_CURRENCY_SWITCH_CLICKED, andUNSTAKE_INPUT_CURRENCY_SWITCH_CLICKEDeventsChangelog
CHANGELOG entry: updated earn input view deposit and withdrawal currency switch events
Related issues
Fixes: TAT-1909: Add "Stake Input Currency Switch Clicked" to MP Segment events
Manual testing steps
Screenshots/Recordings
Before
Pooled-Staking currency switch events weren't firing
After
Screen.Recording.2025-11-07.at.5.07.57.PM.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Always log currency-switch on deposit and add token_symbol and chain_id (hex) to deposit and withdrawal currency-switch events.
EarnInputView.tsx):EARN_INPUT_CURRENCY_SWITCH_CLICKEDon currency toggle (removes prior gating).token_symbolandchain_id(hex) to event properties.EarnWithdrawInputView.tsx):token_symbolandchain_id(hex) toEARN_INPUT_CURRENCY_SWITCH_CLICKEDandUNSTAKE_INPUT_CURRENCY_SWITCH_CLICKED.toHexfor chain ID formatting.Written by Cursor Bugbot for commit 803d2e2. This will update automatically on new commits. Configure here.