Homestyx hydra
Diffusion hydra 74d6bcbdceb9

Allow a user to target "#anchor" by navigating to any prefix

Description

Allow a user to target "#anchor" by navigating to any prefix

Summary:
Ref T13410. We currently generate some less-than-ideal anchors in remarkup, but it's hard to change the algorithm without breaking stuff.

To mitigate this, allow #xyz to match any target on the page which begins with xyz. This means we can make anchors longer with no damage, and savvy users are free to shorten anchors to produce more presentation-friendly links.

Test Plan: Browsed to #header-th, was scrolled to #header-three, etc.

Maniphest Tasks: T13410

Differential Revision: https://secure.phabricator.com/D20820

Details

Provenance
epriestleyAuthored on Sep 18 2019, 5:44 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:be2a0f873368: Fix a cursor paging issue in Conduit call logs
Branches
Unknown
Tags
Unknown

Event Timeline