Skip to content

Mobile. A/B test: txs/token transfers table view (address details page)#3241

Merged
tom2drum merged 3 commits intomainfrom
tom2drum/issue-3230
Jan 29, 2026
Merged

Mobile. A/B test: txs/token transfers table view (address details page)#3241
tom2drum merged 3 commits intomainfrom
tom2drum/issue-3230

Conversation

@tom2drum
Copy link
Collaborator

Description and Related Issue(s)

Resolves #3230

This PR implements an A/B test for table view on mobile devices for transactions and token transfers on the address details page. The implementation allows users to toggle between table view and list view, with the preference being persisted via cookies and controlled by a GrowthBook feature flag.

Proposed Changes

  • Added useTableViewValue hook that manages table view state using cookies and GrowthBook feature flag tx_table_view
  • Created TableViewToggleButton component for switching between views on mobile
  • Integrated table view toggle functionality into transaction views (TxsContent, TxsHeaderMobile)
  • Added GrowthBook feature flag tx_table_view to control the default view state
  • Added cookie support to persist user's view preference (TABLE_VIEW_ON_MOBILE)
  • Added list view icon (list_view.svg) for the toggle button
  • Updated transaction components to conditionally render table or list view based on user preference

Breaking or Incompatible Changes

None.

Additional Information

This implementation follows the A/B testing approach described in issue #3230, where table view is shown by default on mobile, and users can switch to list view if they prefer. The feature flag allows controlling the default state, and user preferences are persisted via cookies.

Checklist for PR author

  • I have tested these changes locally.
  • I added tests to cover any new functionality, following this guide
  • Whenever I fix a bug, I include a regression test to ensure that the bug does not reappear silently.
  • If I have added a feature or functionality that is not privacy-compliant (e.g., tracking, analytics, third-party services), I have disabled it for private mode.
  • If I have added, changed, renamed, or removed an environment variable
    • I updated the list of environment variables in the documentation
    • I made the necessary changes to the validator script according to the guide
    • I added "ENVs" label to this pull request

@tom2drum tom2drum added enhancement New feature or request design For issues and PRs related to UI and UX improvements labels Jan 19, 2026
@tom2drum tom2drum merged commit d345983 into main Jan 29, 2026
6 checks passed
@tom2drum tom2drum deleted the tom2drum/issue-3230 branch January 29, 2026 11:52
isstuev pushed a commit that referenced this pull request Feb 10, 2026
…e) (#3241)

* Mobile. A/B test: txs/token transfers table view (address details page)

Resolves #3230

* fixes and test

* [skip ci] change mixpanel event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design For issues and PRs related to UI and UX improvements enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mobile. A/B test: txs/token transfers table view (address details page)

2 participants