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

Tooltips on application graph #42

Open
1 task
Tracked by #41
willtsai opened this issue Jan 24, 2024 · 2 comments · May be fixed by #73
Open
1 task
Tracked by #41

Tooltips on application graph #42

willtsai opened this issue Jan 24, 2024 · 2 comments · May be fixed by #73
Assignees
Labels
good first issue Good for newcomers triaged This item has been triaged by project maintainers and is in the backlog

Comments

@willtsai
Copy link
Contributor

willtsai commented Jan 24, 2024

Overview of feature request

As a user of the application graph visualizations within Radius dashboard, I would like tool tips to appear for the resource or component that my cursor is currently pointed at.

Acceptance criteria

Tool tip appears when cursor is pointed to a resource depicted in the application graph visualization
Tool tip contains details pertaining to the resource: name, type, group, application, environment

Additional context

No response

Would you like to support us?

  • Yes, I would like to support you

AB#11023

@willtsai willtsai added triaged This item has been triaged by project maintainers and is in the backlog and removed triaged This item has been triaged by project maintainers and is in the backlog labels Jan 30, 2024
@willtsai
Copy link
Contributor Author

Looks like ReactFlow has tooltips built in, adding good-first-issue tag.

https://reactflow.dev/api-reference/components/node-toolbar

@willtsai willtsai added the good first issue Good for newcomers label Mar 28, 2024
@lechnerc77
Copy link
Contributor

@willtsai I created a first draft for this issue that you can find here: #73

However, adding the application and environment could from my perspective not be solved very well in the frontend part. The data for the nodes is fetched via an API call to the backend (/apis/api.ucp.dev/v1alpha3/${application}/getGraph?api-version=2023-10-01-preview in ApplicationTab.tsx) and if I do not miss anything the data for the node-specific information for the application and the environment should be fetched also via this call. Does this make sense?

In addition feedback for the formatting of the tooltip is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers triaged This item has been triaged by project maintainers and is in the backlog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants