Repository navigation
gui: Fix missing sharing device when adding pending folder. - #7227
Merged
Merged
Conversation
When adding a folder from the pending folder from another device through the Add button on the "New Folder" notification panel, the offering device should be preselected for sharing with. The selection works, but the checkmark for that device is not shown at all. Do not filter out the preselected device ID when building the currentSharing.unrelated member in addFolderAndShare() to actually show all devices under the "Unshared Devices" heading.
imsodin
approved these changes
Dec 22, 2020
calmh
added a commit
to calmh/syncthing
that referenced
this pull request
Dec 26, 2020
* main: lib/model: Remove obsolete return val from ccHandleFolders (ref syncthing#6443) (syncthing#7229) gui, man, authors: Update docs, translations, and contributors gui: Fix missing sharing device when adding pending folder (syncthing#7227) cmd/stevents: Add command line argument for event type filtering. (syncthing#7226) lib/ur: Send unreported failures on shutdown (syncthing#7164) gui: Fix nonfunctional ignore button on pending folder notification (syncthing#7224)
hiqua
pushed a commit
to hiqua/syncthing
that referenced
this pull request
Jan 11, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When adding a folder from the pending folder from another device
through the Add button on the "New Folder" notification panel, the
offering device should be preselected for sharing with. The selection
works, but the checkmark for that device is not shown at all.
Do not filter out the preselected device ID when building the
currentSharing.unrelated member in addFolderAndShare() to actually
show all devices under the "Unshared Devices" heading.
Testing
Tested with local development instance where several folders are pending from other devices. Offering device appears again, with the checkmark pre-selected. Also verified on the "untrusted" GUI variant.