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

[ios] Add a loading overlay screen with an activity indicator for the bookmarks sharing #7973

Merged

Conversation

kirylkaveryn
Copy link
Contributor

@kirylkaveryn kirylkaveryn commented Apr 23, 2024

The sharing process may take some time when there are many files and the screen isn't blocked during this process.
Current behavior:

RPReplay_Final1713864044.MOV

This PR adds a loading overlay screen with an activity indicator that disables user interaction while files are being prepared.
The Dimming effect isn't very strong (0,3 alpha) but it can be increased.
Result:

RPReplay_Final1713864028.mov
image image image

Tested on:
iPhone 11pro (17.2)
iPhone 6 (12.5)
MasOS designed for iPad

… bookmarks sharing

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
@kirylkaveryn kirylkaveryn added iOS iOS development UX User eXperience, an issue with usability UI User interface issues labels Apr 23, 2024
@kirylkaveryn kirylkaveryn self-assigned this Apr 23, 2024
@RedAuburn
Copy link
Sponsor Member

(nothing needed for android)

Copy link
Member

@biodranik biodranik left a comment

Choose a reason for hiding this comment

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

Great, thanks! It works on iOS 12 too, right?

@biodranik biodranik merged commit 8fd2a10 into master Apr 24, 2024
5 checks passed
@biodranik biodranik deleted the ios/add-loading-overlay-for-the-bookmarks-exporting branch April 24, 2024 22:18
@euf
Copy link
Contributor

euf commented May 5, 2024

The dimmed overlay could be kept until the iOS Share Sheet is dismissed. Check background dimming behavior for sharing a file in stock Files.app or sharing an app from the Home Screen

@kirylkaveryn
Copy link
Contributor Author

The dimmed overlay could be kept until the iOS Share Sheet is dismissed. Check background dimming behavior for sharing a file in stock Files.app or sharing an app from the Home Screen

The sharing screen have their own dimming (in OM too) but there are no activity indicators while sharing. This small timeout while core is preparing the files... only after this delay the sharing screen can be presented. So we need some way to block the screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS iOS development UI User interface issues UX User eXperience, an issue with usability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants