Skip to content
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

975 improve launch sequence #976

Open
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

BPerlakiH
Copy link
Collaborator

Fixes: #975

In combination with the library loading improvements gives a way better UX:

iphone_sim_loading_fix.mov

@BPerlakiH BPerlakiH added the iOS label Sep 12, 2024
@BPerlakiH BPerlakiH linked an issue Sep 12, 2024 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 69.81132% with 32 lines in your changes missing coverage. Please review.

Project coverage is 38.16%. Comparing base (b0db47c) to head (9edbacc).

Files with missing lines Patch % Lines
App/SplitViewController.swift 11.76% 15 Missing ⚠️
Views/Welcome.swift 75.67% 9 Missing ⚠️
App/CompactViewController.swift 55.55% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #976      +/-   ##
==========================================
+ Coverage   37.99%   38.16%   +0.16%     
==========================================
  Files         114      114              
  Lines        6472     6517      +45     
==========================================
+ Hits         2459     2487      +28     
- Misses       4013     4030      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

rgaudin
rgaudin previously approved these changes Sep 13, 2024
Copy link
Member

@rgaudin rgaudin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide more details about what this does.
AFAIU, we know have a spashscreen with centered kiwix-logo in lieu of a blank screen when starting the app.
I'm not sure what happens during this time but on my very old an slow iphone, it's visible but not noticeable (compared to other apps).

@kelson42
Copy link
Contributor

My remarks:

  • Please make the visual 50% bigger
  • Make the splash screen dark-mode compatible (with default OS colorsets)
  • @rgaudin Please share the link to the official visuals for both dark and light modse
  • The logo should be displayed the whole time at the exact same place, and "Loadding... " should be displayed in place of the buttons as long as they are not available.

@BPerlakiH
Copy link
Collaborator Author

Please see the updated sequences on all type of devices, we have the combination of portrait / landscape and light / dark modes:


IPHONE

iphone_dark.mov
iphone_light.mov

IPAD

ipad_light_land.mov
ipad_dark_land.mov
ipad_dark_port.mov
ipad_light_port.mov

MAC

mac_os_light.mov
mac_os_dark.mov

@BPerlakiH
Copy link
Collaborator Author

BPerlakiH commented Sep 15, 2024

The logo should be displayed the whole time at the exact same place, and "Loadding... " should be displayed in place of the buttons as long as they are not available.

This is not fully possible on iPad landscape mode:

We have a slight movement of the logo from the splash/landing screen to the loading view on iPad, due to the fact that the welcome screen is shifted by the side navigation panel. Here is a comparison of the "welcome screen" with collapsed / expanded navigation bar:
ipad_2
ipad_1

@BPerlakiH
Copy link
Collaborator Author

BPerlakiH commented Sep 15, 2024

Note: on macOS the launch/splash screen is not supported, so we only have the loading sequence next to the side navigation panel.

@BPerlakiH BPerlakiH added this to the 3.6.0 milestone Sep 15, 2024
@BPerlakiH BPerlakiH changed the title 975 improve iPhone launch sequence 975 improve launch sequence Sep 15, 2024
@BPerlakiH BPerlakiH marked this pull request as draft September 17, 2024 20:48
@BPerlakiH
Copy link
Collaborator Author

BPerlakiH commented Sep 17, 2024

Moved it to draft, please do not merge yet, as the custom app side of this needs to be solved first!

@BPerlakiH
Copy link
Collaborator Author

Looks OK now, I've tested with the DWDS app.

@BPerlakiH BPerlakiH marked this pull request as ready for review September 17, 2024 21:29
@kelson42
Copy link
Contributor

I guess we need real logo now.

@kelson42 kelson42 force-pushed the 975-improve-iphone-launch-sequence branch from 81124df to 2be81f5 Compare September 18, 2024 09:30
@@ -110,7 +110,7 @@ struct RootView: View {
private let tabCloses = NotificationCenter.default.publisher(for: NSWindow.willCloseNotification)

var body: some View {
NavigationView {
NavigationSplitView {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve launch sequence
4 participants