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

Add explanation/instructions to empty dashboard #203

Closed
kathrynkodama opened this issue Dec 9, 2022 · 4 comments · Fixed by #316
Closed

Add explanation/instructions to empty dashboard #203

kathrynkodama opened this issue Dec 9, 2022 · 4 comments · Fixed by #316
Assignees
Labels
design Outstanding design decisions enhancement New feature or request

Comments

@kathrynkodama
Copy link
Contributor

See OpenLiberty/liberty-tools-eclipse#294

@kathrynkodama kathrynkodama added the enhancement New feature or request label Dec 9, 2022
@gasgithub
Copy link

gasgithub commented Mar 21, 2023

One additional reason to described in the link above might be too old VS Code version or missing Java 17.
I had this case, although tools have been successfully installed the Liberty dashboard was empty, and there was no support for server.xml.

@TrevCraw TrevCraw added the design Outstanding design decisions label Sep 23, 2023
@TrevCraw
Copy link
Contributor

TrevCraw commented Nov 21, 2023

Based on discussions with @Rahul-Biju and @turkeylurkey , below is what we propose should be displayed in the Liberty Dashboard when no projects are available:

  • While the Liberty Dashboard is loading:
    Liberty Dashboard loading…
  • After the Liberty Dashboard has loaded:
    - If no projects are open in the VS Code Explorer, open or create a Liberty project using the File menu.
    - If there is one or more existing Maven or Gradle projects open in the VS Code Explorer, try one of the following:
      - Configure the Liberty build plugin in the build file of an existing Maven or Gradle project.
      - Add a server.xml file to an existing Maven or Gradle project at “src/main/liberty/config”.
      - Manually add an existing Maven or Gradle project to the Liberty Dashboard through the VS Code command palette action “Liberty: Add project to Liberty Dashboard”.
    
    One thing to note is there may not be enough real estate in the dashboard for all this. We should prototype and see how things look.

@TrevCraw
Copy link
Contributor

@scottkurz since you initially opened OpenLiberty/liberty-tools-eclipse#294, do you have any thoughts on what the team is suggesting we display for an empty dashboard?

@TrevCraw
Copy link
Contributor

@gasgithub thank you for your suggestions. The latest version of Liberty Tools for VS Code (23.0.9) requires VS Code version 1.78.0 or newer. I believe that an older version of VS Code would prevent the Liberty Tools extension from being installed.

As for missing Java 17, we should have improved our error messaging for that scenario in 23.0.9 - you can find the documentation for that here: https://github.com/OpenLiberty/liberty-tools-vscode/blob/main/docs/user-guide.md#configure-your-java-runtime-for-language-servers

If you still have questions or still have problems loading your projects with Liberty Tools version 23.0.9, please let us know and we would be happy to help.

Rahul-Biju added a commit to Rahul-Biju/liberty-tools-vscode that referenced this issue Nov 23, 2023
Rahul-Biju added a commit to Rahul-Biju/liberty-tools-vscode that referenced this issue Nov 23, 2023
Rahul-Biju added a commit to Rahul-Biju/liberty-tools-vscode that referenced this issue Nov 23, 2023
Rahul-Biju added a commit that referenced this issue Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Outstanding design decisions enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

4 participants