Page MenuHomePhabricator

Put "workflow" on Dashboard edit links when they're disabled
ClosedPublic

Authored by epriestley on Apr 2 2019, 4:12 PM.
Tags
None
Referenced Files
F19516891: D20368.diff
Thu, Jan 15, 5:17 AM
F19514804: D20368.diff
Wed, Jan 14, 5:13 AM
F19491468: D20368.diff
Thu, Jan 8, 7:22 AM
F19491337: D20368.diff
Thu, Jan 8, 7:18 AM
F19491225: D20368.diff
Thu, Jan 8, 7:16 AM
F19491144: D20368.diff
Thu, Jan 8, 7:14 AM
F19491112: D20368.diff
Thu, Jan 8, 7:14 AM
F19490744: D20368.diff
Thu, Jan 8, 6:49 AM
Subscribers
None

Details

Summary

Depends on D20367. Ref T13272. When an edit action is disabled, we add "workflow" so that the "You can't do this" message renders in a dialog instead of a separate page.

These actions are implemented in a nonstandard way; standardize them.

Test Plan

Clicked both actions as a user who could take them (got normal behavior); and as a user who could not (got permissions dialog errors).

Diff Detail

Repository
rP Phabricator
Branch
portal15
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22467
Build 30757: Run Core Tests
Build 30756: arc lint + arc unit