bitshares / bitshares/bitshares-ui

[0.75] Margin positions list in asset info page doesn't refresh when URL changed

Open
#2,964 7 comments 0 reactions 0 assignees View on GitHub
[1b] User Story [3] Bug [5a] Tiny
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

**Describe the bug**
Margin positions list in asset info page doesn't refresh when URL changed

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'https://wallet.bitshares.org/#/asset/CNY'
2. Scroll down to "margin positions"
![image](https://user-images.githubusercontent.com/9946777/61523116-ff8c5c00-aa13-11e9-83b4-cd4584e35a9d.png)

3. Go to 'https://wallet.bitshares.org/#/asset/USD' (change URL in address bar)
4. Scroll down to "margin positions", the list still shows bitCNY positions
![image](https://user-images.githubusercontent.com/9946777/61523180-25196580-aa14-11e9-9e10-2cd8e2a4fc6c.png)

**Expected behavior**
Updated list.

**Screenshots**
See above.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue from the asset page URLs for CNY and USD, then inspect the asset info page entry point and its margin positions rendering when the route changes. Done means switching from CNY to USD refreshes the list to show USD margin positions instead of the previous asset's data.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
blockchain, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.