-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Feature request: Allow defining custom popup title when using showOutput
#3576
Comments
Makes sense. I'd just add a separate config This seems very easy to do, wanna give it a try yourself? (I'd wait for #3565 to be merged first though, you'll get nasty conficts otherwise.) |
Thank you for the fast reply.
Unfortunately I'm not familiar with Go, let alone the project. |
No worries. Here's a PR: #3579 |
- **PR Description** Add property `outputTitle` to CustomCommand. It can optionally be used to set the title of the panel that shows the output of a command (when `showOutput` is true). If left unset, the command string is used as the title. Closes #3576.
Is your feature request related to a problem? Please describe.
When using the
showOutput
option to display the output of non-trivial commands, the popup title is no longer descriptive in the sense that it's too verbose. Even if one would like to see the full command, this very quickly is no longer possible since it gets cut off. Here is an example:Describe the solution you'd like
I would like to define a custom title. Static strings would work for my use cases. For the above example I might want to have "Jira Issue Details" as the title.
The schema could support both a "shorthand" boolean value and object configuration like this:
Being able to use templates would be the cherry on the top.
Describe alternatives you've considered
One could extract the command in a script that results in a command with a very short path. That added step is very undesirable for me personally and the result would only be mildly better.
Additional context
Thank you so much creating this wonderful tool and considering my humble request 🤗
The text was updated successfully, but these errors were encountered: