-
Notifications
You must be signed in to change notification settings - Fork 82
Add Clear button for non required args #7775
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
Add Clear button for non required args #7775
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -38,6 +42,10 @@ function CommandBarHeaderFooter({ | |||
}, [selectedCommand]) | |||
const isReviewing = commandBarState.matches('Review') | |||
const [showShortcuts, setShowShortcuts] = useState(false) | |||
const isCurrentArgRequired = |
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.
Nice, I support this, this was the only thing I was curious about. Good thinking
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.
Dope! Thank you. Added the pw test steps, this is ready to go now
@@ -659,6 +727,8 @@ theta = 45deg | |||
) | |||
}) | |||
|
|||
// TODO: add pw test for clear non-required arg button |
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.
@pierremtb I think you've done this above and the TODO
can be removed.
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.
https://github.com/KittyCAD/modeling-app/pull/7814/files you're right ty!
Fixes #7772