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

Addition of a buttons/button bar #15874

Closed
tasosptl opened this issue Aug 24, 2023 · 4 comments
Closed

Addition of a buttons/button bar #15874

tasosptl opened this issue Aug 24, 2023 · 4 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@tasosptl
Copy link

Description of the new feature/enhancement

This feature/improvement will allow the user the ability to create custom clickable button where he can specify the action that will be performed once clicked. This could be a group of commands that he/she uses for day to day work.

Programmable buttons is one of the reasons that me as a network engineer I choose the competitor (can't name) over MS Terminal. This will reduce the repetitive copy-paste of common troubleshooting commands from notepad/OneNote to the terminal.

Proposed technical implementation details (optional)

The idea is to allow the user to add an additional bar (either on top or at the bottom of the terminal screen) similar to the picture where he or she will be able to add the buttons:

image

The buttons should have a label (what is seen on the screen next to each button), a string that will be send and additional actionable commands such as "send carriage return" or "send a newline".

@tasosptl tasosptl added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Aug 24, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 24, 2023
@zadjii-msft
Copy link
Member

Amazingly enough, we had almost the exact same request earlier this week: #15851. To crib from that issue:

A lot of that already seems possible today with the sendInput action. That'll let you save an action to your settings that will send a string of characters to the Terminal. Those'll show up in the Command Palette today.

To build on that:

So, I'm guessing that there's a dupe somewhere in the nexus of all those - sound about right/?

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Aug 24, 2023
@tasosptl
Copy link
Author

All those requests look quite similar to what I have requested. Is the sendInput a clickable item that can be customized per use case (so every user to be able to specify the string that he needs to send)?
Also, will the user be able to create more than one different sendInput items?

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Aug 24, 2023
@zadjii-msft
Copy link
Member

Is the sendInput a clickable item

Well, sorta? It'll show up in the Command Palette, and in 1.19 it'll be in the Suggestions UI (for tasks - added in #15664).

will the user be able to create more than one different sendInput items

Yep - it's an action just like any other Terminal action, so you can create as many as you want and bind to whatever you feel like.

/dup #3759
/dup #2934

@microsoft-github-policy-service
Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements Needs-Attention The core contributors need to come back around and look at this ASAP. labels Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants