containers / podman-desktop-extension-ai-lab

Work with LLMs on a local environment using containers
https://podman-desktop.io/extensions/ai-lab
Apache License 2.0
145 stars 23 forks source link

Improve recipe path readability on recipes list #1214

Open axel7083 opened 2 weeks ago

axel7083 commented 2 weeks ago

Is your enhancement related to a problem? Please describe

Following discussion on https://github.com/containers/podman-desktop-extension-ai-lab/pull/1199

The current path uses text-ellipsis to hide the overflow.

image

Describe the solution you'd like

Auto horizontal scroller on hover

https://github.com/containers/podman-desktop-extension-ai-lab/assets/42176370/ee2c9867-ce3e-47c1-bf74-62430b62e3b6

branch ref https://github.com/axel7083/ai-studio/tree/feature/hover-scroller-component

Tooltip

Tooltip is a bit complicated, as the path is a bit long, so in a lot of cases the tip is partially hidden, and we could try enforcing the position, but depending on the position of the grid, we are facing different overflow problem.

Copy cursor

In addition of the path, user will probably want to copy it, we might replace the default cursor by a copy icon, and allow on click to add it to the clipboard.

Describe alternatives you've considered

No response

Additional context

No response