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: Start new recording from Sidebar #87

Merged
merged 5 commits into from
Aug 6, 2024

Conversation

going-confetti
Copy link
Collaborator

No description provided.

@going-confetti going-confetti requested a review from Llandy3d August 5, 2024 15:57
Copy link
Member

@Llandy3d Llandy3d left a 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!

@going-confetti going-confetti requested a review from e-fisher August 6, 2024 08:08
@@ -42,6 +47,7 @@ export function AppRoutes() {
</Route>
</Route>
<Route path={routeMap.validator} element={<Validator />} />
<Route path="*" element={<Navigate to={routeMap.home} replace />} />
Copy link
Collaborator Author

@going-confetti going-confetti Aug 6, 2024

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`
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

🤦‍♂️

Copy link
Collaborator

@e-fisher e-fisher left a 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?

@going-confetti
Copy link
Collaborator Author

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 👀

@going-confetti going-confetti requested a review from e-fisher August 6, 2024 11:10
Copy link
Collaborator

@e-fisher e-fisher left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@going-confetti going-confetti merged commit 8923380 into main Aug 6, 2024
1 check passed
@going-confetti going-confetti deleted the feat/add-recording-btn-sidebar branch August 6, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants