-
Notifications
You must be signed in to change notification settings - Fork 2.4k
refactor: clean up JoyRide #7073
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
base: dev
Are you sure you want to change the base?
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.
Pull request overview
This PR removes the deprecated JoyRide (react-joyride) library and associated code that was used for providing guided tours to users during the setup process. The cleanup removes the component implementation, dependency, translations across all supported languages, and the main usage in the provider settings page.
Key Changes:
- Removed
react-joyridepackage dependency from package.json - Deleted CustomTooltipJoyRide component that implemented custom tour UI
- Removed JoyRide-related translations from all 13 language locale files (providers.json and hub.json)
- Cleaned up JoyRide component usage and related code from the provider settings page
Reviewed changes
Copilot reviewed 27 out of 27 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| web-app/package.json | Removed react-joyride dependency |
| web-app/src/containers/CustomeTooltipJoyRide.tsx | Deleted the custom JoyRide tooltip component |
| web-app/src/routes/settings/providers/$providerName.tsx | Removed JoyRide component usage, imports, steps configuration, and callback handler; improved code formatting/indentation |
| web-app/src/locales/*/providers.json (13 files) | Removed JoyRide translation keys for provider setup tour |
| web-app/src/locales/*/hub.json (13 files) | Removed JoyRide translation keys for model hub tour |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| const { status } = data | ||
|
|
||
| if (status === STATUS.FINISHED) { | ||
| localStorage.setItem(localStorageKey.setupCompleted, 'true') |
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.
This key still remains in localStorage and will never be used again @louis-jan
Describe Your Changes
Fixes Issues
Self Checklist