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

Feature to add project manually to liberty dashboard from the dashboard itself #498

Open
gilbysunil14 opened this issue Feb 7, 2025 · 2 comments · May be fixed by #500
Open

Feature to add project manually to liberty dashboard from the dashboard itself #498

gilbysunil14 opened this issue Feb 7, 2025 · 2 comments · May be fixed by #500
Assignees
Labels
enhancement New feature or request medium priority
Milestone

Comments

@gilbysunil14
Copy link
Contributor

gilbysunil14 commented Feb 7, 2025

Expected behaviour would be to manually add project to Liberty dashboard from sections 1 highlighted below.
If selecting from section 1 (the space in the Liberty dashboard), expected behaviour would be to prompt users on which project they would like to add.

Image
@gilbysunil14 gilbysunil14 self-assigned this Feb 7, 2025
@gilbysunil14 gilbysunil14 added the enhancement New feature or request label Feb 7, 2025
@gilbysunil14 gilbysunil14 moved this from New Issues to In Progress in Open Liberty Developer Experience Feb 7, 2025
@gilbysunil14
Copy link
Contributor Author

We are using regular TreeView on the liberty dashboard to list out the projects. In that we won't be able to create a context menu in section 1, because context menu items are only supported attached to a TreeItem, and not in the empty area.

An alternate solution is to use WebView instead. If we use that we can use webview/context contribution point, or create your own context menu using regular HML inside the WebView.

@gilbysunil14
Copy link
Contributor Author

gilbysunil14 commented Feb 7, 2025

Alternate to WebView, another proposed solution would be to introduce two new buttons or commands in the view/title contribution point to add or remove projects using the icons + and - respectively.

Image

Opened PR with this proposed solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium priority
Projects
2 participants