syncthing/gui
tomasz1986 73e2e2a794
gui: Make device ID read-only and hide "nearby devices" when adding a new pending device (fixes #8083) (#8091)
* gui: Make ID read-only and hide nearby devices when adding pending devices (fixes #8083)

Currently, there is no distinction between adding "new" and "pending"
devices. For this reason, the user is always presented with a list of
"nearby devices" to choose from. This commit adds such distinction to
the code, and in the case of "pending" device, both the device ID is
made read-only and the nearby devices list is hidden.

As a by-product of the function rename and clean-up, this commit also
hides the non-functional "remove" button that is shown when editing
device defaults.

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2022-01-28 09:15:56 +01:00
..
black/assets/css gui: Tweak the Restore Versions modal for better usability (#7972) 2022-01-25 23:08:27 +01:00
dark/assets/css gui: Tweak the Restore Versions modal for better usability (#7972) 2022-01-25 23:08:27 +01:00
default gui: Make device ID read-only and hide "nearby devices" when adding a new pending device (fixes #8083) (#8091) 2022-01-28 09:15:56 +01:00
light/assets/css gui: Tweak the Restore Versions modal for better usability (#7972) 2022-01-25 23:08:27 +01:00