Skip to content

Ensure Plugin Suppression section is scrolled into view when deep linked #7005

@westonruter

Description

@westonruter

Bug Description

As noted by @pooja-muchandikar in #5340 (comment):

If Suppressed on AMP Pages link is clicked from plugin screen, it should redirect to AMP settings > Plugin Suppression section. But currently it is redirecting to AMP settings > Review Section

Issue is specifically in Chrome Browser latest version
In Safari Browser latest version it is working fine.

Screen.Recording.2022-03-23.at.4.21.53.PM.mov

I think this is a separate issue with the Settings screen. Namely, I think the Review section is loaded asynchronously after the scrolling has started so that once the scrolling ends up the Review section and not Plugin Suppression.

Nevertheless, I am not able to reproduce the issue right now.

Expected Behaviour

The Plugin Suppression section should be scrolled into view when linking to /wp-admin/admin.php?page=amp-options#plugin-suppression.

Note the Analytics link in the admin menu should also consistently deep-link to the Analytics section of the settings screen.

Screenshots

No response

PHP Version

No response

Plugin Version

2.2.2

AMP plugin template mode

Standard, Transitional, Reader

WordPress Version

No response

Site Health

No response

Gutenberg Version

No response

OS(s) Affected

No response

Browser(s) Affected

No response

Device(s) Affected

No response

Acceptance Criteria

No response

Implementation Brief

No response

QA Testing Instructions

No response

Demo

No response

Changelog Entry

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingChangeloggedWhether the issue/PR has been added to release notes.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions