bitshares-ui icon indicating copy to clipboard operation
bitshares-ui copied to clipboard

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

Open abitmore opened this issue 6 years ago • 7 comments
trafficstars

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

  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

Expected behavior Updated list.

Screenshots See above.

abitmore avatar Jul 19 '19 08:07 abitmore

Perhaps I didn't experience this as I didn't use the # tag in the URL locally.

startailcoon avatar Jul 19 '19 12:07 startailcoon

  1. Open https://wallet.bitshares.org
  2. click "explore" -> "assets", search for "CNY", click "bitCNY" from the result,
  3. I see https://wallet.bitshares.org/#/asset/CNY in address bar

abitmore avatar Jul 19 '19 12:07 abitmore

Requires some investigation on why this happens on the hosted pages. Seems the # makes it not recognize the change by the user.

startailcoon avatar Jul 21 '19 17:07 startailcoon

Interestingly some data on the same page changes after URL changed.

abitmore avatar Jul 21 '19 20:07 abitmore

Seems everything except the margin list is updated. I guess there's a chain query not firing correctly.

startailcoon avatar Jul 22 '19 08:07 startailcoon

Screen Shot 2022-02-01 at 12 36 01 PM

Is this still an issue? When I take a look all I see is the screenshot above.

Stroudnat avatar Feb 01 '22 17:02 Stroudnat

The screenshot above was from "https://wallet.bitshares.org/#/asset/USD" not "https://wallet.bitshares.org/#/asset/CYN"

Stroudnat avatar Feb 01 '22 17:02 Stroudnat