-
Notifications
You must be signed in to change notification settings - Fork 5
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
ui-spacetimechart: use paths layer for conflicts #647
Conversation
9e51598
to
9fdafcb
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
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 still have the issue too :/ |
The overlay layer is rendered on top of the captions, which is undesirable here. Signed-off-by: Simon Ser <[email protected]>
Apologies, I messed up when testing. I've updated the PR. Here's a hack patch to test this in the storybook: diff --git a/ui-spacetimechart/src/stories/layers.stories.tsx b/ui-spacetimechart/src/stories/layers.stories.tsx
index 028ee5b5f118..2c6479c0f5d3 100644
--- a/ui-spacetimechart/src/stories/layers.stories.tsx
+++ b/ui-spacetimechart/src/stories/layers.stories.tsx
@@ -32,7 +32,7 @@ const CONFLICTS = [
timeStart: +START_DATE + 35 * MINUTE,
timeEnd: +START_DATE + 37 * MINUTE,
spaceStart: 39 * KILOMETER,
- spaceEnd: 41 * KILOMETER,
+ spaceEnd: 99999 * KILOMETER,
},
];
|
9fdafcb
to
7ffc56c
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 and tested. Should we add another commit to do the same for occupation blocks ?
That one uses the |
The overlay layer is rendered on top of the captions, which is undesirable here.
Example bug: