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
F22658896: D20368.id48634.diff
Thu, Oct 1, 7:15 AM
F22658894: D20368.id48593.diff
Thu, Oct 1, 7:15 AM
F22658892: D20368.id.diff
Thu, Oct 1, 7:15 AM
F22656582: D20368.diff
Thu, Oct 1, 4:08 AM
F22620161: D20368.diff
Tue, Sep 29, 3:04 PM
Unknown Object (File)
Aug 31 2026, 6:36 PM
Unknown Object (File)
Aug 22 2026, 2:11 PM
Unknown Object (File)
Aug 14 2026, 9:39 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable