-
-
Notifications
You must be signed in to change notification settings - Fork 890
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
Revamp Settings Section: Complete Migration to Swift & SwiftUI #2826
Conversation
Signed-off-by: Aditya Tyagi <[email protected]>
@marinofaggiana please keep on reviewing once you get time, as otherwise this will be a big chunk of code at last. I'll try to be punctual, except if I have university exams in between. |
Signed-off-by: adityagi02 [email protected]
Hi @adityagi02 welcome !! Note.
Thanks a lot ! ping @mpivchev |
Thank you for the warm welcome! I love Nextcloud & I'm glad to be contributing here.💙 I'm currently enrolled at the Indian Institute of Information Technology. It's a privilege to be part of an institution that requires passing one of the toughest STEM exams in the world, the JEE Mains & Advanced, for admission. I'll definitely keep the points you mentioned in mind. Thanks again !! |
Signed-off-by: adityagi02 <[email protected]>
Hi @adityagi02 some problem with OpenSSL ? |
This comment was marked as resolved.
This comment was marked as resolved.
yes, sure, but is strange, it shouldn't happen |
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: adityagi02 <[email protected]>
Signed-off-by: adityagi02 <[email protected]>
@adityagi02 thanks again for the work you are doing, remember that user switching also needs to be managed. For example, you can be in the settings, push "Files" , change user and then push "More", at this point the setting must be reloaded otherwise it shows incorrect data (of the previous user). |
Signed-off-by: adityagi02 <[email protected]>
Signed-off-by: adityagi02 <[email protected]>
Signed-off-by: adityagi02 <[email protected]>
Sorry for the DCO, i can't sort this out. I've tried commiting from terminal and XCode both, still It's not working. |
Signed-off-by: adityagi02 <[email protected]>
Signed-off-by: adityagi02 <[email protected]>
Hi @adityagi02, thank you for this, it looks great so far :) |
Signed-off-by: adityagi02 <[email protected]>
Signed-off-by: adityagi02 <[email protected]>
@adityagi02 can you rebase this PR thanks |
Done ☑️ |
Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates. |
Bug: Button example [View log file] works only when touch the label |
Bug: Disable crash reporter: do not present the message box and do not have effect |
Please verify if all switch works like the Master version. thanks |
Lock [on/off] do I have to complete it? I do not remember |
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.
read up
Signed-off-by: adityagi02 <[email protected]>
Signed-off-by: adityagi02 <[email protected]>
Signed-off-by: adityagi02 <[email protected]>
@adityagi02 why you use text + extra_space_for_form_taps and do not use the Button ? |
This comment was marked as resolved.
This comment was marked as resolved.
Note. there is some issue with then new Realm library version, please rebase. Thx |
Signed-off-by: adityagi02 <[email protected]>
ok, sure |
Signed-off-by: adityagi02 <[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.
Added all changes requested. Added common NCBrandColor.shared.iconImageColor
as well.
Remains: Lock off/on section.
@adityagi02 I start Lock [on/off] in your branch |
Great, thanks !! |
Moved here: |
💡 Description
This pull request aims to overhaul the existing Settings section of the app, transitioning it from the old Objective-C code with XLForm package usage to modern Swift code utilizing SwiftUI.
The revamp covers the Settings screen along with its connected components such as SettingsAdvanced Screen, AutoUpload Screen, ChangeAutoUploadFileName screen, and associated small views.
This significant refactoring enhances maintainability, optimises performance of app, improves user experience, and aligns with modern iOS development standards.
📝 Checklist
Postponed Tasks🧠
These tasks requires hefty considerations, so I'll pick these functionalities afterwards.
Settings
Auto Upload
Advanced
P.S.: I'll keep adding screenshots with every particular screen commit.
Requested Changes