vscode-spring-initializr
vscode-spring-initializr copied to clipboard
please somehow render any links for the dependencies
the dependencies (sometimes) have things like links to documentation or guides.
Maybe it could be rendered in the 2 line textbox for the suggested dependency?
[UPDATED] I find the links, e.g.
{
"id": "security",
"name": "Security",
"description": "Secure your application via spring-security",
"_links": {
"guide": [
{
"href": "https://spring.io/guides/gs/securing-web/",
"title": "Securing a Web Application"
},
{
"href": "https://spring.io/guides/tutorials/spring-boot-oauth2/",
"title": "Spring Boot and OAuth2"
},
{
"href": "https://spring.io/guides/gs/authenticating-ldap/",
"title": "Authenticating a User with LDAP"
}
],
"reference": {
"href": "http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-security",
"templated": true
}
}
},
Are they rendered in WebUI now?
And one thing to mention, even if we have rendered a link in the textbox, it's regarded as plain text. We have to seek for other ways to navigate users to the guides.
Please check the documentation.
Are they rendered in WebUI now?
See https://github.com/spring-io/initializr/issues/353
if we have rendered a link in the textbox, it's regarded as plain text.
FWIW I don't see the value of rendering the link the proposed format. It works very well in the IDE where you have a full screen to browse through the available dependencies and figure out what they do by clicking links on them.
Is this issue still valid?
We currently have a button for each dependency that opens _links.reference.href, and I believe that within our design simplicity intentions, it achieves what's asked here.
yes, the reference link can be opened as below:
Actually, there are already buttons for reference, sample, home. This issue should be fine to close. https://github.com/microsoft/vscode-spring-initializr/blob/04f6c3ddb8dc0c511c6fcaf6c864c6fe82e4a684/src/DependencyManager.ts#L138-L162