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
Unknown Object (File)
Wed, May 14, 10:50 AM
Unknown Object (File)
Wed, May 7, 1:46 AM
Unknown Object (File)
Apr 21 2025, 8:16 AM
Unknown Object (File)
Apr 10 2025, 5:08 PM
Unknown Object (File)
Apr 9 2025, 10:43 AM
Unknown Object (File)
Apr 5 2025, 4:41 AM
Unknown Object (File)
Apr 1 2025, 1:38 AM
Unknown Object (File)
Mar 22 2025, 12:03 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable