Skip to content
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(nav): Update replay onboarding to use drawer #85267

Merged
merged 2 commits into from
Feb 14, 2025

Conversation

malwilley
Copy link
Member

Similar to #85217

The old navigation sidebar has been the component responsible for displaying the onboarding panels. Since we are moving to a new nav component, I'm going to be moving all the existing onboarding panels over to our new useDrawer().

@malwilley malwilley requested a review from a team February 14, 2025 18:59
@malwilley malwilley requested a review from a team as a code owner February 14, 2025 18:59
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Feb 14, 2025
SidebarPanelStore.hidePanel();
},
// Prevent the drawer from closing when the query params change
shouldCloseOnLocationChange: location =>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Realized that we needed to add some options to the feedback one to make it work correctly.

This is very similar to the replay onboarding one, so I think there is an opportunity for a common hook or component. Don't want to make that abstraction too early though, going to wait until after I convert more of these

@malwilley malwilley merged commit d4edc94 into master Feb 14, 2025
42 checks passed
@malwilley malwilley deleted the malwilley/feat/nav-replay-onboarding branch February 14, 2025 19:59
@github-actions github-actions bot locked and limited conversation to collaborators Mar 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants