Skip to content

fix: pr for eye icon(do not merge) #1365

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Randall-Jiang
Copy link
Contributor

@Randall-Jiang Randall-Jiang commented May 19, 2025

Problem

We want to show the description for auto executed command and show Run Automatically text.
image

Solution

This PR enhances the user experience by adding tooltips and changing icons for read-only commands before execution. The implementation adds visual indicators to help users distinguish between read-only operations and those that modify files.

The post-execution handling remains unchanged, as it's currently managed in the #getWritableStream function which doesn't differentiate between command types. Currently, tooltips are not displayed after commands have been executed - this behavior requires further discussion.

Screen.Recording.2025-05-19.at.12.52.21.PM.mov

TO-DO

for Read-only command, we need to show the tooltip after them been executed.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Randall-Jiang Randall-Jiang requested a review from a team as a code owner May 19, 2025 18:14
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.

1 participant