iam4x / bobarr

🍿 The all-in-one alternative for Sonarr, Radarr, Jackett... with a VPN and running in docker
MIT License
1.54k stars 88 forks source link

feat: Add better truncation & tooltips to the results table #235

Closed lachlan2k closed 2 years ago

lachlan2k commented 2 years ago

This PR adds two quality-of-life improvements to the Jackett results table.

1. Torrent Name

Use Ant table's ellipsis feature to perform dynamic truncation of the torrent name, instead of using a fixed truncation of 70 chars. Additionally, a popover tooltip is added to show the full name on hover.

dynamic_truncation_and_tooltip

2. Download Link

When manually selecting a torrent, it's often desirable to see where it's coming from. This adds a popover tooltip to the download button, containing the result link.

download_tooltip

Open to feedback :)

iam4x commented 2 years ago

Thank you very much, great addition 💯

lachlan2k commented 2 years ago

Fixed to pass lint now, should be ready to merge :+1: