-
Notifications
You must be signed in to change notification settings - Fork 207
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
remove nomics and replace chart #2239
Conversation
we could add a new file to https://github.com/KomodoPlatform/coins/tree/master/api_ids for livecoinwatch
can we also please use 7d charts, instead of 1d? just set |
Done. I've not implemented an exclusion list yet, but will populate it from review feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works fine now, thanks
this error shows up when i switch pairs, but looks like it has no negative effect, and idk if it's even related
[12:42:53] [error] [main.prerequisites.hpp:96] [304992]: Error: <svg> attribute viewBox: Unexpected end of attribute. Expected number, "".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- looks like it can be a scrollbar if it is no chart, i guess it is not very good, will be nice to not cause it.
- in pair of fiat and not fiat coin: with some test coins, it is no data but with (screenshot 1) but with some test coins the chart displays with $ (screenshot 2)
- the resizing looks weird and slow, also can just freeze with "loading data"
Screen.Recording.2023-04-05.at.15.02.13.mov
Screen.Recording.2023-04-05.at.15.06.33.mov
UPD: tested on MacOS
strange, i don't have those problems with the sidebar, the chart is not reloaded... the only thing is that everything is moved to the right, even if it doesn't fit into the window, like this: btw, do we need this sidebar animation thingy? i guess it would make some things easier if we would simply disable the animation/resize of the sidebar when i resize, the loading is indeed somewhat slow, but i don't care, i don't resize all the time EDIT: the content is moved to the right instead of resized when i use the min width... if i make the windows bigger first and then hover the side bar, the part with the chart is resized and then it reloads here too |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error is thrown from the widget's own script. It also comes up in the console on https://www.livecoinwatch.com/widgets |
I've now set it to use a fixed width, which should resolve the resizing issues. |
This is expected, though I might tweak the wording, because |
Ready for re-review. You will have to reset assets config for the latest changes in coins repo (KomodoPlatform/coins#689) to apply chart-update.mp4 |
It seems for some minor coins which are supported by livecoinwatch may not be supported as a pair. I can't think of a method to filter these out without using a pair exclusion list. known-issue-1.mp4As it is only affecting less common pairs, I'll make this an issue for future (so not a blocker for this PR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chart looks very good now
video:
AtomicDex.Desktop.2023-04-06.19-56-39.mp4
OS: Windows 10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good now:D
Closes #2238
To test:
We dont have i or this widget yet, though it uses tickers by default so it the ticker is supported a chart will display.
This has some known issues:
Until we can compile a list of correct/working tickers, I'll add an exclusion list for coins known to be no good. Please list any you encounter in this PR.