-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #976 +/- ##
==========================================
- Coverage 40.00% 38.09% -1.91%
==========================================
Files 114 114
Lines 6471 6525 +54
==========================================
- Hits 2589 2486 -103
- Misses 3882 4039 +157 ☔ View full report in Codecov by Sentry. |
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.
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).
My remarks:
|
3b6c4b2
to
02692ac
Compare
Please see the updated sequences on all type of devices, we have the combination of portrait / landscape and light / dark modes: IPHONEiphone_dark.moviphone_light.movIPADipad_light_land.movipad_dark_land.movipad_dark_port.movipad_light_port.movMACmac_os_light.movmac_os_dark.mov |
Note: on macOS the launch/splash screen is not supported, so we only have the loading sequence next to the side navigation panel. |
Moved it to draft, please do not merge yet, as the custom app side of this needs to be solved first! |
Looks OK now, I've tested with the DWDS app. |
I guess we need real logo now. |
81124df
to
2be81f5
Compare
macOS:macOS_noLib.mov |
I agree, will tweak the UI. |
@BPerlakiH Agree, after thinking "twice" about it, please remove the sidebar from thensplash screen. That way is clearer. |
84759a2
to
5c83797
Compare
App/App_macOS.swift
Outdated
@@ -110,7 +110,7 @@ struct RootView: View { | |||
private let tabCloses = NotificationCenter.default.publisher(for: NSWindow.willCloseNotification) | |||
|
|||
var body: some View { | |||
NavigationView { | |||
NavigationSplitView { |
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.
In accordance to Apple's recommendation from:
https://developer.apple.com/documentation/swiftui/migrating-to-new-navigation-types
And this is the loading sequence, when there's already a local ZIM file on iPad: ipad_with_lib_new.mov |
This is not exactly what we discussed, I will come back to you with a mockup so there is no ambiguity anymore on the requirements. |
f04e1f3
to
00fe1ef
Compare
@kelson42 I have updated it. Please have a look: ipad_seq.mov |
Buttons don't have the proper width and don't display the buttons "in a flash" if at the end you want to display the library. |
We can make the logo bigger though... |
Yes, this is still too small to my taste. My feeling is that on an iPhone, it should take around half of the screen width. |
@BPerlakiH Don't merge main to the feature branch! |
572ea2e
to
c25cbff
Compare
Fixes: #975
In combination with the library loading improvements gives a way better UX:
iphone_sim_loading_fix.mov