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

feat: Collapsable ProfitLoss header #624

Merged

Conversation

rando128
Copy link
Contributor

Description

A small UX improvement that makes the Closed Trades and Opened Trades accordions collapsable (same behaviour than the Account Balance accordion). On mobile, these accordions are collapsed by default.

The tooltip text of the Closed Trades header that was missing has been added.

This PR only impacts only public/js/ProfitLossWrapper.js file.

Motivation and Context

On mobile when you are trading multiple asset bases (USDT, ETH, BTC, BUSD...), these headers tend to be quite long forcing the user to scroll couple of times before reaching the symbol section.

How Has This Been Tested?

This is working on my production setup.

Screenshots (if appropriate):

Screenshot 2023-04-16 at 19 24 50

@rando128 rando128 changed the title Feat: Collapsable ProfitLoss header feat: Collapsable ProfitLoss header Apr 22, 2023
@chrisleekr
Copy link
Owner

Yap, ok. Looks good, as usual.

Merged!

@chrisleekr chrisleekr merged commit a0993c2 into chrisleekr:master May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants