-
Notifications
You must be signed in to change notification settings - Fork 253
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
Add market price on feed for every crypto #1189
Conversation
* Fixes #1170 * Changes: - Add FeedSidebar component & CryptoTrendingCharts component - add cryptosHelper to search for cryptos within the top 100 crypto constants
Can we have the a margin-bottom of 10px on the market block? |
@bonustrack yup just updated it, please check again, thx |
`https://min-api.cryptocompare.com/data/histoday?fsym=${symbol}&tsym=USD&limit=7`, | ||
).then(res => res.json()); | ||
|
||
class CryptoTrendingCharts extends React.Component { |
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.
We should avoid having duplicate code, i think this component should also be used on the Steem and SBD market block on wallet pages.
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.
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.
Can't you just make that the component can take an array of symbol instead of only one?
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.
yeah I can but this would only be for one case? just for this specific scenario? Is that worth doing, when we are going to update the charts design anyways?
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.
If we are not doing this we are going to update the charts in 2 different places isn't it?
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.
yeah thats true, I'll see what I can come up with .
@bonustrack just updated it so their is now a |
Fixes #1170
Changes: