Page MenuHomePhabricator

Fix the incorrect link target for "Create Revision" as a Menu Item
ClosedPublic

Authored by epriestley on Mar 31 2019, 9:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 16 2026, 1:56 AM
Unknown Object (File)
Mar 31 2026, 6:55 PM
Unknown Object (File)
Mar 8 2026, 10:03 AM
Unknown Object (File)
Feb 4 2026, 7:59 AM
Unknown Object (File)
Jan 22 2026, 10:23 AM
Unknown Object (File)
Jan 19 2026, 12:11 PM
Unknown Object (File)
Jan 9 2026, 4:18 PM
Unknown Object (File)
Jan 2 2026, 3:49 PM
Subscribers
None

Details

Summary

Depends on D20359. Fixes T12098. When you add a new "Form" item and pick "Create Revision", you currently get a bad link. This is because Differential is kind of special and the form isn't usable directly, even though Differential does use EditEngine.

Allow EditEngine to specify a different create URI, then specify the web UI paste-a-diff flow to fix this.

Test Plan
  • Added "Create Revision" to a portal, clicked it, was sensibly put on the diff flow.
  • Grepped for getCreateURI(), the only other real use case is to render the "Create X" dropdowns in the upper right.
    • Clicked one of those, still worked great.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable