syncthing/gui
André Colomb 9c2428c2ee
gui: Use discovered IDs from cache when adding a new remote device (#8382)
* gui: Use discovered IDs from cache when adding a new remote device.

The GUI already does refreshDiscoveryCache() when it comes online and
on every 10 second refresh cycle.  Querying the same information
freshly in addDevice() seems unnecessary and adds some more round-trip
delay on a possibly slow network link.  Instead use the IDs from the
existing discoveryCache property to populate the suggested ID list.

* Increase maximum suggested device ID count to 100.

For the auto-completion list, which is hidden by default and filtered
by the browser, we can offer more discovered device IDs without
causing much confusion.  The list of suggested "nearby" devices is
still limited to the first five.

* Rename $scope.discoveryUnknown.

The old name "discovery" was pretty ambiguous..
2022-07-22 11:09:26 +02: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: Use discovered IDs from cache when adding a new remote device (#8382) 2022-07-22 11:09:26 +02:00
light/assets/css gui: Tweak the Restore Versions modal for better usability (#7972) 2022-01-25 23:08:27 +01:00