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

feat: support multiple default values #203

Closed

Conversation

hitzhangjie
Copy link

@hitzhangjie hitzhangjie commented May 23, 2022

This CL supports multiple default values like <proxy=cfg1|cfg2|cfg3>,
this parameter will rendered like this in generateView:

--proxy=cfg1|cfg2|cfg3-----------|
|cfg1
|cfg2
|cfg3
|---------------------------------|

then we can use up/down arrow to select the wanted item, after press
enter evaluateResult will be executed.

This CL also let the parameter view's title use larger width.

close #192

This CL supports multiple default values like <proxy=cfg1|cfg2|cfg3>,
this parameter will rendered like this in `generateView`:

```
--proxy=cfg1|cfg2|cfg3----------------------------------
|cfg1                                                  |
|cfg2                                                  |
|cfg3                                                  |
|------------------------------------------------------
```

then we can use up/down arrow to select the wanted item, after press
`enter` evaluateResult will be executed.

This CL also let the parameter view's title use larger width.

close knqyf263#192
@hitzhangjie
Copy link
Author

@knqyf263 Please review this PR. Thanks.

@hitzhangjie
Copy link
Author

@knqyf263 Hi, could you take a little time to review this PR? I think this PR will solve the issue that some people encountered and suggested.

@RamiAwar
Copy link
Collaborator

@hitzhangjie Thanks for the PR! Will check this out! Really like the idea

@RamiAwar
Copy link
Collaborator

RamiAwar commented Feb 5, 2024

@hitzhangjie Interested in amending your PR to support the variable character proposal here #247 (comment)? 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Feature Request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Feature Request] Support multiple default values for params
3 participants