-
Notifications
You must be signed in to change notification settings - Fork 9
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: Populate detours list with channels #2962
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.
Looks good! A few comments but nothing that big, ready to approve after dialoging on this.
ce7ece5
to
9770dea
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.
waiting to resolve the issue with nearestIntersection
but otherwise lgtm 👍🏻
* don't try to save snapshot without nearestIntersection present * Update assets/tests/components/detours/diversionPage.saveDetour.test.tsx Co-authored-by: Kayla Firestack <[email protected]> --------- Co-authored-by: Kayla Firestack <[email protected]>
Asana ticket: https://app.asana.com/0/1205385723132845/1208390246838825
In terms of tests, I'm not sure what else to cover? Ideally, I'd like to verify some integration flow -- like activating a detour triggers the channel to be affected -- but I struggled with that.
Known issue: preventing a drafted detour from appearing in the channel and passing through the
handleDrafted
function before it has all it's returned values (like nearestIntersection). To be discussed in subsequent PR.Also: have confirmed with Brian that the spinner is great!