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

Enable showing parameter descriptions in the New Project Dialog #6

Closed
RehanSaeed opened this issue Nov 3, 2020 · 8 comments
Closed

Comments

@RehanSaeed
Copy link

RehanSaeed commented Nov 3, 2020

I have several custom parameters for which I have provided descriptions in my template.json file. This appear when using the CLI. However, in Visual Studio they do not. Is it possible to get them to show up?

image

E.g. I have the following in template.json for the Title parameter:

    "Title": {
      "type": "parameter",
      "datatype": "string",
      "defaultValue": "Project Title",
      "replaces": "PROJECT-TITLE",
      "description": "The name of the project which determines the NuGet package name and assembly product name."
    },

It would be nice if the description could be used in the UI somehow.

Secondly, I have a lot of parameters. Is there a way that I could group related parameters together somehow?

@RehanSaeed RehanSaeed changed the title Is it possible to show parameter descriptions? Is it possible to show parameter descriptions & group parameters? Nov 3, 2020
@sayedihashimi
Copy link
Owner

sayedihashimi commented Nov 3, 2020

Can you share the source files for the template? I'd like to try it out.

Is there a way that I could group related parameters together somehow?

We do not have any grouping yet, but we can start to think about what that might look like.

@RehanSaeed
Copy link
Author

Sure, I have a PR up here to add VS support Dotnet-Boxed/Templates#836

@RehanSaeed
Copy link
Author

Also updated the issue above with more details about the description I'm talking about.

@sayedihashimi
Copy link
Owner

OK I see what you mean now. We do not currently have the ability to show descriptions for the parameters.

We are considering adding an info icon tooltip, would that work for you? Here is a sample mockup that I put together for your template. Would that work for you?

info-icon

cc @vijayrkn @phenning

@sayedihashimi
Copy link
Owner

Added a new issue to track the grouping over at #9

@RehanSaeed
Copy link
Author

The info tooltips would be perfect!

@RehanSaeed RehanSaeed changed the title Is it possible to show parameter descriptions & group parameters? Is it possible to show parameter descriptions? Nov 3, 2020
@sayedihashimi sayedihashimi changed the title Is it possible to show parameter descriptions? Enable showing parameter descriptions in the New Project Dialog Nov 4, 2020
@sayedihashimi
Copy link
Owner

sayedihashimi commented Nov 4, 2020

FYI I changed the title, and created an internal work item to track this work. Internal work item number is 1242259

@RehanSaeed
Copy link
Author

This is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants