-
Notifications
You must be signed in to change notification settings - Fork 131
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
[feature/whats new screen] In-App changelog "What´s new screen" #572
Conversation
* [fix/fp-offline-browsing] Allow offline browsing of folders in the File Provider (#547) * - Fix Swift and SwiftLint warnings - Remove unused UploadsSettingsSection (was replaced by MediaUploadSettings) * - address libzip Xcode project upgrade warning - add research note to FileProviderExtension - update SDK * - Allow offline browsing of folders in the File Provider * Revert "[fix/fp-offline-browsing] Allow offline browsing of folders in the File Provider (#547)" (#553) This reverts commit 9a0bc93. * Autoplay media files implemented as described in issue #59 * Added album artwork as overlay in the player * Fixed playing next media item in BG and lock screen - Now multiple items can be played contignuously in the background - Now playing info in the lock screen contains artwork, title, artist info and displays correct playback timeline - Audio can be paused / resumed from the lock screen - Added skip controls allowing to jump 10s backwards and forwards from the play-head position in the lock screen * Small fixes
* [fix/fp-offline-browsing] Allow offline browsing of folders in the File Provider (#547) * - Fix Swift and SwiftLint warnings - Remove unused UploadsSettingsSection (was replaced by MediaUploadSettings) * - address libzip Xcode project upgrade warning - add research note to FileProviderExtension - update SDK * - Allow offline browsing of folders in the File Provider * Revert "[fix/fp-offline-browsing] Allow offline browsing of folders in the File Provider (#547)" (#553) This reverts commit 9a0bc93. * Fix for issue #568: Share sheet was now visible on iPad, if tableview was scrolled down, after first visible page rect
- added release notes for version 1.2 - added a datasource class and a check, if release notes should appear and which items
# Conflicts: # ownCloud.xcodeproj/project.pbxproj # ownCloud/Resources/en.lproj/Localizable.strings
…p into feature/whats-new-screen # Conflicts: # .github/release_template.md
titleLabel.text = "New in ownCloud".localized | ||
titleLabel.textAlignment = .center | ||
titleLabel.numberOfLines = 0 | ||
titleLabel.font = UIFont.systemFont(ofSize: UIFont.systemFontSize * 1.5, weight: .bold) |
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.
@hosy can we use dynamic type font for this? Something like .headline
style or similar.
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.
fixed
]) | ||
|
||
proceedButton.setTitle("Proceed".localized, for: .normal) | ||
proceedButton.layer.cornerRadius = cornerRadius |
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.
@hosy I noticed that we use different corner radius values for buttons, sometimes 8.0 and sometimes 10.0. Could we unify it and e.g. provide some category on UIButton
with some factory method or similar?
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.
now using ThemeButton
footerLabel.translatesAutoresizingMaskIntoConstraints = false | ||
footerLabel.text = "Thank you for using ownCloud.\nIf you like our App, please leave an AppStore review.\n❤️".localized | ||
footerLabel.numberOfLines = 0 | ||
footerLabel.font = UIFont.systemFont(ofSize: 14.0) |
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.
@hosy Another case for dynamic type?
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.
fixed
} | ||
|
||
func releaseNotes(for version: String) -> [[String:Any]]? { | ||
if let path = Bundle.main.path(forResource: "ReleaseNotes", ofType: "plist") { |
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.
@hosy Looking at code in lines 154-172, I think there is some potential to reduce code duplication...
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.
removed one if statement
removed version 13 from release notes
Changed base branch to |
(1) improvement [FIXED]I'd set the view only in case of upgrading to newest version, so that user checks the new features after upgrading. In case of a fresh install, i'd not show this. For a new user everything in the app is new, not only the latest released features. As you mentioned in the first message, for new users i'd set a welcome wizard or onboarding/welcome view in a later issue. what do you think? |
(3) [FIXED]
Current: What's new is displayed again iPadPro v13.2 |
- fix showing release notes, after was displayed - added app review request - changed release notes
@jesmrec (1), (2), (3) was fixed by my side. Request for app rating is now integrated. Changed also some release notes strings. |
# Conflicts: # ios-sdk # ownCloud/Client/Viewer/DisplayHostViewController.swift # ownCloud/Client/Viewer/Media/MediaDisplayViewController.swift
titleLabel.translatesAutoresizingMaskIntoConstraints = false | ||
titleLabel.setContentHuggingPriority(UILayoutPriority.defaultLow, for: NSLayoutConstraint.Axis.horizontal) | ||
|
||
titleLabel.text = "New in ownCloud".localized |
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.
ownCloud
word should be brandable
proceedButton.addTarget(self, action: #selector(dismissView), for: .touchUpInside) | ||
bottomView.addSubview(proceedButton) | ||
|
||
footerButton.setTitle("Thank you for using ownCloud.\nIf you like our App, please leave an AppStore review.\n❤️".localized, for: .normal) |
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.
ownCloud
word should be brandable
/* Release Notes */ | ||
"Proceed" = "Proceed"; | ||
"New in ownCloud" = "New in ownCloud"; | ||
"Thank you for using ownCloud.\nIf you like our App, please leave an AppStore review.\n❤️" = "Thank you for using ownCloud.\nIf you like our App, please leave an AppStore review.\n❤️"; |
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.
ownCloud
word should be brandable
I keep having problems to get the The typical scenario i perform is:
I tried with and without the beta warning, but the By checking the code, here is where you check if the release notes should be displayed:
I set there a break point, and the Specific questions:
maybe i'm missing something. I hope these details help. |
… with previous app versions
- added code comment
@jesmrec please check again |
Latest round with commit (1) -> (2), (3) -> done! |
@jesmrec I noticed that
This will not happen, if an account was configured before updating, but I cannot catch this case. |
It's no problem to assume that restriction. If almost one account is attached, it's working fine now. Check also my comment here: https://github.com/owncloud/ios-app/pull/572/files#r366388448 |
@jesmrec app name is now customizable in this view |
Approved then. |
Description
If the user has auto update enabled on the iOS device, the user cannot see the AppStore changelog, what changed in the new app version.
With this new screen the user can see an In-App changelog, when the app was started the first time, after an app update.
If there was more than one app update since the last app launch, the user will see everything what's new, since the last started app version.
It is important, that this file
ownCloud/Release Notes/ReleaseNotes.plist
needs new content before an update was submitted to Apple.This file also contains the image data as a base64 encoded string.
The
ReleaseNotesHostViewController
can later easily used to integrate anIntro
orOnbording
view.Motivation and Context
Better marketing to the user.
How Has This Been Tested?
What´s new screen
should appearWhat´s new screen
should NOT appearScreenshots (if appropriate):
Types of changes
Checklist:
QA
Test plan:
Bugs & improvements: