Repository navigation
gui: Add confirmation dialog for revert/override (fixes #7520) - #7522
Merged
Merged
Conversation
tomasz1986
reviewed
Mar 25, 2021
| <p> | ||
| <span translate>Warning</span>:</br> | ||
| <span ng-switch="revertOverrideParams.type"> | ||
| <span ng-switch-when="override" translate>The folder content on other devices will be overwritten to become identical with this device. E.g. files not present here will be deleted on other devices.</span> |
Member
There was a problem hiding this comment.
Suggested change
| <span ng-switch-when="override" translate>The folder content on other devices will be overwritten to become identical with this device. E.g. files not present here will be deleted on other devices.</span> | |
| <span ng-switch-when="override" translate>The folder content on other devices will be overwritten to become identical with this device, e.g. files not present here will be deleted on other devices.</span> |
The "E.g." at the beginning of the second sentences looks kind of weird. How about using a comma, or if the sentence becomes too long, then just starting the second sentence with writing "for example" or "for instance" in full?
Member
There was a problem hiding this comment.
I think the second sentence is fine without the e.g. as well, just saying that files here/there will be deleted.
tomasz1986
reviewed
Mar 25, 2021
Co-authored-by: tomasz1986 <[email protected]>
Member
|
build.go translate |
acolomb
previously approved these changes
Mar 26, 2021
| }; | ||
|
|
||
| $scope.revertOverrideConfirmationModal = function (type, folderID) { | ||
| var params = {}; |
Member
There was a problem hiding this comment.
Specific reason why you create the object empty first, instead of specifying the values in the initializer? (type and folderID)
acolomb
approved these changes
Mar 26, 2021
calmh
added a commit
to calmh/syncthing
that referenced
this pull request
Apr 5, 2021
* main: (36 commits) etc: Fix start-limit parameters location in systemd units (ref syncthing#7439) (syncthing#7529) gui: Add confirmation dialog for revert/override (fixes syncthing#7520) (syncthing#7522) readme: Larger link for Fitt's law, still semantic (syncthing#7523) gui, man, authors: Update docs, translations, and contributors lib/model: Reset conn when enc token is missing (fixes syncthing#7198) (syncthing#7518) lib: Handle adding enc folders on an existing conn (fixes syncthing#7509) (syncthing#7510) cmd/strelaysrv: Increase default strelaysrv network buffer size (fixes syncthing#7514) (syncthing#7517) lib/ur: Prevent panic when blocksResult is nil (ref syncthing#7495) (syncthing#7515) lib/model: Encrypted fileinfo trailer needs to be in wire format (syncthing#7505) lib/model: Error check in test (syncthing#7508) lib/osutil: Fix raising max FDs on macOS (syncthing#7507) lib/connections: Silence "connected to myself" messages. (syncthing#7500) lib/osutil: Remove unused code all: Simplify some method calls (syncthing#7499) cmd/uraggregate: Ignore errors harder (syncthing#7498) cmd/syncthing: Error handling on upgrade (syncthing#7497) Remove unnecessary guard around `delete` (syncthing#7496) all: Remove miscellaneous vestigial code (syncthing#7495) all: Remove crypto/md5 (syncthing#7493) lib/api: Missing error handling in API delete-device (syncthing#7494) ...
greatroar
pushed a commit
to greatroar/syncthing
that referenced
this pull request
May 8, 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.
Generalises the confirmation dialog for deleting items added to receive-encrypted folders to also handle reverting/overriding receive/send-only folders (fixes #7520).