Skip to content

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

Merged

Conversation

pierremtb
Copy link
Contributor

@pierremtb pierremtb commented Jul 14, 2025

Fixes #7772

image

Copy link

vercel bot commented Jul 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 17, 2025 9:28am

@@ -38,6 +42,10 @@ function CommandBarHeaderFooter({
}, [selectedCommand])
const isReviewing = commandBarState.matches('Review')
const [showShortcuts, setShowShortcuts] = useState(false)
const isCurrentArgRequired =
Copy link
Contributor

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

Copy link
Contributor Author

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

@pierremtb pierremtb marked this pull request as ready for review July 15, 2025 17:29
@pierremtb pierremtb requested a review from a team as a code owner July 15, 2025 17:29
@pierremtb pierremtb enabled auto-merge (squash) July 15, 2025 18:13
@pierremtb pierremtb merged commit dc8731d into main Jul 17, 2025
57 checks passed
@pierremtb pierremtb deleted the pierremtb/issue7772-Add-Clear-button-for-non-required-args branch July 17, 2025 14:01
@@ -659,6 +727,8 @@ theta = 45deg
)
})

// TODO: add pw test for clear non-required arg button
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

pierremtb added a commit that referenced this pull request Jul 17, 2025
pierremtb added a commit that referenced this pull request Jul 17, 2025
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.

Add Clear button for non required args
3 participants