tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
2.89k stars 244 forks source link

Persist setting whether to mask paste area #1765

Closed jotaen4tinypilot closed 3 months ago

jotaen4tinypilot commented 3 months ago

Related https://github.com/tiny-pilot/tinypilot/issues/1739. Stacked on https://github.com/tiny-pilot/tinypilot/pull/1764.

This PR preserves the “Mask Input” toggle state of the paste dialog by storing it as frontend setting. That way, it persists across page refreshs.

This idea was mentioned by a user in the ticket, and it seems to be a sensible UI feature to me here. Review on CodeApprove