-
-
Notifications
You must be signed in to change notification settings - Fork 899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto upload from specific Albums #3257
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
…upload-albums Signed-off-by: Milen Pivchev <[email protected]> # Conflicts: # Nextcloud.xcodeproj/project.pbxproj
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
…upload-albums Signed-off-by: Milen Pivchev <[email protected]> # Conflicts: # Nextcloud.xcodeproj/project.pbxproj
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not tested it functionally yet.
.tint(Color(NCBrandColor.shared.getElement(account: model.session.account))) | ||
.onChange(of: model.autoUploadFull) { newValue in | ||
albumModel.populateSelectedAlbums() | ||
model.handleAutoUploadChange(newValue: newValue, assetCollections: albumModel.selectedAlbums) | ||
} | ||
.font(.headline) | ||
.toggleStyle(.button) | ||
.buttonStyle(.bordered) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't there a common reusable SwiftUI view for this kind of button or is this here a unique appearance?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think there is a predefined component for this, it's a toggle that looks like a button.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I meant within our own code in the project. Don't we have similar buttons elsewhere?
Co-authored-by: Iva Horn <[email protected]> Signed-off-by: Milen Pivchev <[email protected]>
@i2h3 Did you manage to check functionality? |
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
I wanted to wait for the code changes first. Now I am stuck in a lot of other tasks of higher priority. |
Settings Not Reenabled After Uploads CompletedI waited for the automatic uploads of my favorites album to complete. The settings controls are not reenabled after completion. I wanted to also enable automatic upload of videos which I cannot. Navigating back and forth in the settings or selecting different tabs in the app does not help. I first need to tap the stop button for the automatic uploading. That was not clear to me. The German footer of the button "Obenstehende Optionen vor dem Hochladen anpassen." does not make much sense to me. The English reference is "Adjust the options above before uploading.". Either the translators need more context or the string needs to be more expressive. I am a bit irritated by the necessity of manually starting and stopping the automatic upload which then I would not consider fully automated anymore. I would have assumed the upload actually is already enabled by the switch on the top. |
This adds the ability to select which album(s) to auto upload.