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

unopened isolated positions pt2 follow up - empty state #197

Merged
merged 20 commits into from
Jun 19, 2024

Conversation

mike-dydx
Copy link
Contributor

@mike-dydx mike-dydx commented Jun 19, 2024

Links (dYdX Internal Use Only)

Figma Design: https://www.figma.com/design/mKevZOfE9nj6MZpiolKYW1/dYdX-%E2%80%BA-Mobile?node-id=6311-27205&t=0nFUJPWkDJjgh4jh-4


Description / Intuition

  • remove deprecated isolated warning variables
  • remove USD
  • always show positions/orders/fills in market view (even for empty state)
  • adjusted some text sizing/layout for the unopened position card

Before/After Screenshots or Videos

Before After

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/unopened-isolated-positions-pt2 branch from 7dcc2c4 to 981eb80 Compare June 19, 2024 22:30
Comment on lines -39 to -40
// TODO: remove once isolated markets is supported and force released
self?.viewModel?.shouldDisplayIsolatedOrdersWarning = onboarded
Copy link
Contributor Author

@mike-dydx mike-dydx Jun 19, 2024

Choose a reason for hiding this comment

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

newly unused, removed

@mike-dydx mike-dydx requested a review from ruixhuang June 19, 2024 22:34
@mike-dydx mike-dydx marked this pull request as ready for review June 19, 2024 22:34
@mike-dydx mike-dydx changed the title unopened isolated positions pt2 follow up unopened isolated positions pt2 follow up - empty state Jun 19, 2024
@ruixhuang ruixhuang merged commit 58bfbe4 into develop Jun 19, 2024
2 checks passed
@ruixhuang ruixhuang deleted the mike/unopened-isolated-positions-pt2 branch June 19, 2024 22:42
mike-dydx added a commit that referenced this pull request Aug 20, 2024
* remove unused files

* dismiss on success, update button state on submission

* multi-line receipt line item title

* stubbed unopened isolated positions UI

* wire up abacus data for unopened positions

* put back fixed size, clean up

* update button state after validation

* clean up

* ui tweaks

* Update Package.resolved

* stubbed unopened isolated positions UI

* wire up abacus data for unopened positions

* update button state after validation

* change routing to orders tab, populate unopened isolated position

* show unopened isolated position in market info view

* stub UI for cancel orders

* cancel orders

* remove isolated checks

* remove "USD" from market names

* always show positions/orders/fills in market view
mike-dydx added a commit that referenced this pull request Aug 21, 2024
* remove unused files

* dismiss on success, update button state on submission

* multi-line receipt line item title

* stubbed unopened isolated positions UI

* wire up abacus data for unopened positions

* put back fixed size, clean up

* update button state after validation

* clean up

* ui tweaks

* Update Package.resolved

* stubbed unopened isolated positions UI

* wire up abacus data for unopened positions

* update button state after validation

* change routing to orders tab, populate unopened isolated position

* show unopened isolated position in market info view

* stub UI for cancel orders

* cancel orders

* remove isolated checks

* remove "USD" from market names

* always show positions/orders/fills in market view
mike-dydx added a commit that referenced this pull request Aug 21, 2024
* remove unused files

* dismiss on success, update button state on submission

* multi-line receipt line item title

* stubbed unopened isolated positions UI

* wire up abacus data for unopened positions

* put back fixed size, clean up

* update button state after validation

* clean up

* ui tweaks

* Update Package.resolved

* stubbed unopened isolated positions UI

* wire up abacus data for unopened positions

* update button state after validation

* change routing to orders tab, populate unopened isolated position

* show unopened isolated position in market info view

* stub UI for cancel orders

* cancel orders

* remove isolated checks

* remove "USD" from market names

* always show positions/orders/fills in market view
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