Polkadex-Substrate / Polkadex-Orderbook-Frontend

https://orderbook.polkadex.trade
4 stars 3 forks source link

Save Last Chart and load last chart for Trading View <> Orderbook Frontend #905

Closed ap211unitech closed 7 months ago

ap211unitech commented 11 months ago

📝 Feature Description

This issue is basically about the saving all chart properties like

Basically, we need to save all things done by user on chart.

And then, when user visits again, we need to display last saved chart.

This is quite important thing to do as we recieved the feedback from community members and users. Other than this, all other Trading Platforms like Kucoin, Binance etc doing this with Trading View.

This will improve the UX experince for any user in terms of Trading View.

💁 Possible Solution

  1. There is a property regarding saving chart status
  2. And then there is another property which allows us to load last saved chart for Trading View.
  3. Most probably, we will save chart data is localStorage of browser

But, we need to do some research about it.

ap211unitech commented 11 months ago

Here are some reference links for this issue -

https://www.tradingview.com/charting-library-docs/latest/saving_loading/ https://github.com/tradingview/charting_library/issues/8054