gurucomputing / headscale-ui

A web frontend for the headscale Tailscale-compatible coordination server
BSD 3-Clause "New" or "Revised" License
1.59k stars 113 forks source link

Feature Request: Show assigned user of machine in the Device View #119

Open nikp123 opened 9 months ago

nikp123 commented 9 months ago

Hello, if it doesn't go against any design issues/opinions I'd like to ask for a slight change in the device view.

Background: I share my headscale instance with my family and I'd like for them to be able to reference their own devices with generic device names like phone, tablet, laptop, desktop.... etc. This isn't a problem in general because usernames are required for magicDNS for other peoples devices, like laptop.nikp123.example.com (as an example).

However there's a slight UX issue/annoyance when I go into device view. I cannot correctly determine which users device it is based on the device name alone as the device names are similar/same between users.

I'm asking for the ability to determine the user of the device without clicking on the device's name for a guess.

For example I have multiple ideas. We could do show the FQDN of a device like laptop.nik.example.com or just add a separator and then the users name, like so: image

I really have no preference over the system chosen, but I believe choosing any of the two would be a massive quality of life improvement.

Thank you for your time

routerino commented 9 months ago

The search filter will already accept usernames, but agreed that feature is relatively hidden. Adding the username should be fine, just need to test how that affects longer device/usernames.

nikp123 commented 9 months ago

The search filter will already accept usernames, but agreed that feature is relatively hidden. Adding the username should be fine, just need to test how that affects longer device/usernames.

Yeah, it'd be valid to test that out first before my change annoys other users.