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

fix platform list footer display logic #174

Merged
merged 4 commits into from
May 29, 2024

Conversation

mike-dydx
Copy link
Contributor

@mike-dydx mike-dydx commented May 29, 2024

Description / Intuition

previously, isolated markets warning was always being shown. Now there is conditional logic to display it. See conversation

  • do no display isolated markets warning when not onboarded
  • display warning (footer) for empty state as well
  • replaces the contentChanged approach with overridable header/footer properties
  • see video for (1) no wallet state (2) wallet connected, empty state (3) open position state
  • display trigger price for trigger market orders instead of MARKET (see conversation)

Before/After Screenshots or Videos

Before After
Screen.Recording.2024-05-29.at.1.13.08.PM.mov

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring or Technical Debt
  • Documentation update
  • Other (please describe: )

@mike-dydx mike-dydx force-pushed the mike/isolated-warning-followup branch from 8d2dcb1 to e95970b Compare May 29, 2024 19:08
@mike-dydx mike-dydx requested a review from ruixhuang May 29, 2024 19:10
@mike-dydx mike-dydx enabled auto-merge (squash) May 29, 2024 19:24
@mike-dydx mike-dydx merged commit c08e065 into develop May 29, 2024
2 checks passed
@mike-dydx mike-dydx deleted the mike/isolated-warning-followup branch May 29, 2024 19:25
mike-dydx added a commit that referenced this pull request Aug 20, 2024
* fix platform list footer display logic

* fix platform list footer display logic

* display trigger price for trigger market orders
mike-dydx added a commit that referenced this pull request Aug 21, 2024
* fix platform list footer display logic

* fix platform list footer display logic

* display trigger price for trigger market orders
mike-dydx added a commit that referenced this pull request Aug 21, 2024
* fix platform list footer display logic

* fix platform list footer display logic

* display trigger price for trigger market orders
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