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

Disable header timeout on mobile #972

Merged
merged 1 commit into from
Jul 19, 2021
Merged

Conversation

szaimen
Copy link
Contributor

@szaimen szaimen commented Jul 8, 2021

Fix #134

Signed-off-by: szaimen [email protected]

@szaimen szaimen added the 2. developing Work in progress label Jul 8, 2021
@github-actions github-actions bot force-pushed the enh/noid/disable-header-timeout branch from f0a4d77 to 4419286 Compare July 8, 2021 23:05
@szaimen szaimen added this to the Nextcloud 23 milestone Jul 8, 2021
@skjnldsv

This comment has been minimized.

@szaimen

This comment has been minimized.

@szaimen

This comment has been minimized.

@szaimen szaimen added 3. to review Waiting for reviews design Related to the design enhancement New feature or request and removed 2. developing Work in progress labels Jul 19, 2021
@szaimen szaimen marked this pull request as ready for review July 19, 2021 12:10
@szaimen szaimen closed this Jul 19, 2021
@szaimen szaimen reopened this Jul 19, 2021
@jancborchardt
Copy link
Member

@szaimen thank you for the explanation! :) Hiding the controls is not only valuable for when you are in a slideshow though, but also generally when viewing photos and you want to just focus on the pictures. Yes, mobile is an issue, but there a different solution is required.

Ideally it would be like this:

  • Desktop: Stays like it is, with the timeout of title and controls (also often for photos, the title is nonsense). This makes it so it’s clutter-free when navigating either via arrow keys or using the slideshow.
  • Mobile/touch: Like default on Android, where the header is shown or not when tapping on the picture instead of based on a timeout. There, it would also be very nice to have the swipe like on mobile of course, where the next picture comes swiping in etc – and we don’t need the left/right arrows actually.

So basically, I’d rather have us improve the mobile/touch experience rather than reducing down the desktop experience. Hope that makes sense? cc @nimisha-vijay

@szaimen
Copy link
Contributor Author

szaimen commented Jul 19, 2021

@jancborchardt Thanks for the feedback! So I'll come up with a different solution that disables the timeout only for mobile :)

@szaimen szaimen force-pushed the enh/noid/disable-header-timeout branch 2 times, most recently from 03b9694 to 996715a Compare July 19, 2021 14:54
@szaimen szaimen changed the title Disable header timeout Disable header timeout on mobile Jul 19, 2021
@szaimen szaimen force-pushed the enh/noid/disable-header-timeout branch from 996715a to 30f8efe Compare July 19, 2021 15:24
@github-actions github-actions bot force-pushed the enh/noid/disable-header-timeout branch from 30f8efe to 6b18b3b Compare July 19, 2021 15:28
@szaimen szaimen force-pushed the enh/noid/disable-header-timeout branch from 6b18b3b to b8a1a09 Compare July 19, 2021 15:33
@szaimen szaimen added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Jul 19, 2021
@szaimen szaimen force-pushed the enh/noid/disable-header-timeout branch 2 times, most recently from 798b8dc to fac14c5 Compare July 19, 2021 15:52
@github-actions github-actions bot force-pushed the enh/noid/disable-header-timeout branch from fac14c5 to 335a794 Compare July 19, 2021 15:59
@szaimen szaimen force-pushed the enh/noid/disable-header-timeout branch from 335a794 to 0e7ec4f Compare July 19, 2021 16:06
@szaimen

This comment has been minimized.

Signed-off-by: szaimen <[email protected]>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
@github-actions github-actions bot force-pushed the enh/noid/disable-header-timeout branch from 0e7ec4f to 5b865e2 Compare July 19, 2021 16:08
@szaimen szaimen closed this Jul 19, 2021
@szaimen szaimen reopened this Jul 19, 2021
@szaimen
Copy link
Contributor Author

szaimen commented Jul 19, 2021

Everything done. Please re-review :)

@szaimen szaimen added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jul 19, 2021
@szaimen szaimen dismissed julien-nc’s stale review July 19, 2021 16:30

The requested changes were implemented.

@julien-nc julien-nc self-requested a review July 19, 2021 21:13
@szaimen szaimen merged commit 84cc9da into master Jul 19, 2021
@szaimen szaimen deleted the enh/noid/disable-header-timeout branch July 19, 2021 21:22
@szaimen
Copy link
Contributor Author

szaimen commented Jul 19, 2021

/backport to stable22

@backportbot-nextcloud backportbot-nextcloud bot added the backport-request Pending backport by the backport-bot label Jul 19, 2021
@szaimen
Copy link
Contributor Author

szaimen commented Jul 19, 2021

/backport to stable21

@szaimen
Copy link
Contributor Author

szaimen commented Jul 19, 2021

/backport to stable20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews design Related to the design enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Always show header on mobile
7 participants