iFargle / headscale-webui

A simple Headscale web UI for small-scale deployments.
Other
627 stars 57 forks source link

Experience optimization for 'add machine' #81

Closed threerog closed 1 year ago

threerog commented 1 year ago

Experience optimization for 'add machine'

I'm not sure if it's just an individual phenomenon When I added a machine on the webui and clicked on "add machine", the "add machine" panel did not automatically close, and the machine list did not automatically refresh, requiring manual refresh every time.

iFargle commented 1 year ago

Yeah it could definitely be improved. I didn't do a lot of testing on it since I use OIDC: https://github.com/iFargle/headscale-webui/blob/3934c3b2cf94da068fccc0855be138e7b738ad48/static/js/custom.js#L653-L676

You are more than welcome to submit a pull request to improve this :)

itbencn commented 1 year ago

I also encountered this problem

iFargle commented 1 year ago

Thank you :)