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
Implement navigation for XY charts #419
Implement navigation for XY charts #419
Conversation
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.
Commenting, these are requested changes but I don't want to slow you down.
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
25379e5
to
a4f399a
Compare
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.
I have a lot of feelings about the amount of unrelated whitespace changes mixed in with the commit 😅 I think this is worth correcting before merging for learning purposes (creating clean and specific commits) and also to set a good style example with the commits that are merged.
That being said, the code seems to do what it claims to do! Thanks @IbrahimFradj ☀️
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
e7b2bef
to
a44369f
Compare
0a4b919
to
ebc3869
Compare
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
179500e
to
f1a93be
Compare
e8de9a8
to
9095858
Compare
9e60799
to
fdcc094
Compare
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
a381aa6
to
55c4dcc
Compare
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
55c4dcc
to
af7638b
Compare
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
e540cdd
to
c2807bd
Compare
packages/react-components/src/components/xy-output-component.tsx
Outdated
Show resolved
Hide resolved
c2807bd
to
63cebdb
Compare
We can zoom in/out with "w"/"s". We can pan left with "a","shift+mouse wheel up","ArrowLeft" We can pan right with "d","shift+ mouse wheel down","ArrowRight". Contributes towards fixing theia-ide#389 Signed-off-by: Ibrahim Fradj <ibrahim.fradj@ericsson.com>
add listner wheel and add prevent default to zoom in and out just in the component Contributes towards fixing theia-ide#389 Signed-off-by: Ibrahim Fradj <ibrahim.fradj@ericsson.com>
We can now click right and drag to zoom in xy-charts Contributes towards fixing theia-ide#389 Signed-off-by: Ibrahim Fradj <ibrahim.fradj@ericsson.com>
63cebdb
to
6a15e94
Compare
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.
LGTM. Great improvement. Thank you very much!
Navigation implemented :
Fixes theia-ide#389
Here is the result
Signed-off-by: Ibrahim Fradj ibrahim.fradj@ericsson.com