-
Notifications
You must be signed in to change notification settings - Fork 987
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
feat: implement interactive graphs #17029
Conversation
Jenkins BuildsClick to see older builds (111)
|
655ad82
to
da03998
Compare
ae5d9d5
to
93d8579
Compare
:padding-horizontal 5 | ||
:padding-top -10 | ||
:height 19 | ||
:line-height 14.62 |
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.
is it really 14.62 in the designs?
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.
Actually no, it is just a tweak to correctly center vertically the text within the reference line text, that for some reason gets moved when rendered in the graph
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 really good @briansztamfater! 🤩
@Francesca-G kindly review 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.
Great work! 🙌
7de57c7
to
17c4c08
Compare
@briansztamfater the negative / positive option doesn't seem to change the color to red / green as expected, let me know if it's a problem on my side :) |
f146d93
to
c80dfdd
Compare
@Francesca-G sorry about that, it was an issue affecting only PR builds, now should be fixed! |
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.
@briansztamfater all good ✨
Signed-off-by: Brian Sztamfater <[email protected]>
c80dfdd
to
60e7c76
Compare
Signed-off-by: Brian Sztamfater <[email protected]>
fixes #16956
Summary
This PR adds an implementation of interactive charts to quo2 previews. It also implements Graph axe, Lowest price and Graph pointer as they are part of the chart component itself and are rendered inside the library, so there are not separate quo2 component implementations for those.
Also moved wallet graph utils namespace into a common namespace shared by wallet graph and interactive graph components. Added a bunch of functions there with their corresponding unit tests.
Also created and added as a dependency our own fork of
react-native-gifted-charts
as there were some adjustments needed to comply with Figma designs as pixel perfect as possible (gradients to strip line, adjustments on x and y axis label logic, and many other things).Results
Screenshots
Recordings
interactive.graph.demo.mp4
interactive.graph.demo.dark.mp4
Platforms
Steps to test
status: ready