bitshares / bitshares/bitshares-ui

When changing order options style from Vertical to Horizontal and back, there is a change in the order in which orders are displayed in the order book

Open
#3,208 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

**Describe the bug**
When changing Order Options Style from Vertical to Horizontal and back, there is a change in the order in which orders are displayed in the order book

**To Reproduce**
Steps to reproduce the behavior:
1. Go to any market, example:
https://wallet.bitshares.org/#/market/USD_BTS

2. Click on 'Personalize'
3. Choose "Order Options" -> "Style" -> "Vertical"
4. Then choose "Order Options" -> "Style" -> "Horizontal"

**Expected behavior**
Correct order sorting:
![image](https://user-images.githubusercontent.com/11815105/75139181-0d6a3400-56fd-11ea-8475-d41ac5aa5db5.png)

**Screenshots**
![image](https://user-images.githubusercontent.com/11815105/75139147-004d4500-56fd-11ea-81fe-605599d3e6bd.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue at the USD_BTS market URL by switching Order Options Style from Vertical to Horizontal and back, then trace the order-book display code reached by the Personalize menu. Compare the displayed order sequence with the expected screenshot; done means switching styles preserves the correct order sorting.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.