1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00
phorge-phorge/webroot/rsrc/js
epriestley 74d6bcbdce 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
2019-09-24 10:56:35 -07:00
..
application Make various UX improvements to charts so they're closer to making visual sense 2019-09-17 09:43:21 -07:00
core Allow a user to target "#anchor" by navigating to any prefix 2019-09-24 10:56:35 -07:00
phui When users confirm Duo MFA in the mobile app, live-update the UI 2019-02-15 14:38:15 -08:00
phuix When a dropdown menu would render in a way that hides it offscreen, try a different alignment 2019-04-09 14:12:30 -07:00