Skip to content

add zoom query parameter for kiosk pro#13201

Merged
gestchild merged 2 commits into
mainfrom
reset-zoom-on-kiosk
Jun 30, 2026
Merged

add zoom query parameter for kiosk pro#13201
gestchild merged 2 commits into
mainfrom
reset-zoom-on-kiosk

Conversation

@gestchild

Copy link
Copy Markdown
Contributor

What does this change?

adds a parameter (kp_zoomLevel=100) to the url on redirect that should cause kiosk pro to reset the zoom level

How to test

  • pick the T&R kiosk mode
  • click on a story from the kiosk homepage
  • wait for the modal to appear and reset homepage
  • check for kp_zoomLevel=100 in homepage url

We'll have to wait for it to deploy so we can test if it has the desired effect on the iPad

Have we considered potential risks?

It's harmless if it doesn't work

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the kiosk inactivity redirect behaviour so that when users are automatically redirected back to the kiosk homepage, the destination URL includes kp_zoomLevel=100 to trigger a zoom reset in Kiosk Pro.

Changes:

  • Appends kp_zoomLevel=100 to the kiosk homepage URL when performing the automated redirect.
  • Updates the “already on redirect destination” check so it ignores query parameters (so the homepage with kp_zoomLevel=100 still counts as the homepage).

Comment thread common/views/components/InactivityRedirect/index.tsx Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@gestchild gestchild marked this pull request as ready for review June 29, 2026 16:48
@gestchild gestchild requested a review from a team as a code owner June 29, 2026 16:48
@rcantin-w

Copy link
Copy Markdown
Contributor

It didn't work in the Simulator but then I saw it was meant to work with Kiosk. We could maybe test it with grok or the IP address?

Comment thread common/views/components/InactivityRedirect/index.tsx

@rcantin-w rcantin-w left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can try it - I think it'd be nice to then strip the URL but maybe it's a nice to have

@gestchild gestchild merged commit f25e232 into main Jun 30, 2026
9 checks passed
@gestchild gestchild deleted the reset-zoom-on-kiosk branch June 30, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants