-
Notifications
You must be signed in to change notification settings - Fork 2
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: Start new recording from Sidebar #87
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.
🚀
Only improvement suggestion would be to add a tooltip mentioning what it does on hover!
src/AppRoutes.tsx
Outdated
@@ -42,6 +47,7 @@ export function AppRoutes() { | |||
</Route> | |||
</Route> | |||
<Route path={routeMap.validator} element={<Validator />} /> | |||
<Route path="*" element={<Navigate to={routeMap.home} replace />} /> |
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.
Sometimes during development you end up with a wrong route (this shouldn't happen in production, but we may want to show an alert notification in such cases). Previously, you'd have to manually reset the location (window.location.replace('/')
), this adds a 404 route that just redirects to the home view
@@ -50,7 +50,7 @@ export function Recorder() { | |||
) | |||
|
|||
navigate( | |||
`${getRoutePath('recordingPreviewer', { path: filePath })}}?discardable` |
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.
🤦♂️
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.
After stopping recording, it now redirects me to home page without asking if I want to create generator or discard recording, is that expected?
Should be fixed now 👀 |
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 🚀
No description provided.