Add ability to override whether mobile switcher link is displayed #5386
Labels
Enhancement
New feature or improvement of an existing one
P2
Low priority
WS:Core
Work stream for Plugin core
Feature description
There have been a few requests regarding the mobile switcher link in the footer. Some users in Transitional mode have an AMP version that is complete parity with non-AMP version. See support topic. For them, they may want to still have mobile redirection enabled, but skip showing the link.
What remains to be determined is whether there should be UI for this. If so, then the Mobile Redirection section on the settings screen should perhaps be turned into a drawer. The redirection toggle can then go into this drawer, along with a toggle for whether to show the mobile switcher link on AMP pages, and conversely whether to show the corresponding same link on non-AMP pages. Otherwise, we may opt to control this all programmatically via a filter like
amp_mobile_version_switcher_link_displayed
(and as mentioned in #5378, if such a filter has been added then any corresponding UI would need to be disabled since it would be potentially overridden).This is closely related to #5293 (and perhaps an expansion thereof) where some users in Reader mode do not want to have mobile redirection enabled, and yet they really miss the "Exit reader mode" link in the header. For such users, they should be able to force the mobile switcher link to be displayed even though mobile redirection is disabled.
For whether we add a UI, we need to gather more data to learn whether it is a common enough request to add UI complexity. However, if this is collapsed in a Mobile Redirection drawer, then this would be mitigated.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered: