Homestyx hydra
Diffusion hydra b21b73b8dd35

Expand Revision transaction API to allow actions to vary more broadly based on…

Description

Expand Revision transaction API to allow actions to vary more broadly based on the viewer and revision state

Summary:
See PHI1810. Build toward support for "Request Review" by non-authors on drafts, to forcefully pull a revision out of draft.

Currently, some action strings can't vary based on revision state or the current viewer, so this "pull out of draft" action would have to either: say "Request Review"; or be a totally separate action.

Neither seem great, so allow the labels and messages to vary based on the viewer and revision state.

Test Plan: Grepped for affected symbols, see followup changes.

Differential Revision: https://secure.phabricator.com/D21401

Details

Provenance
epriestleyAuthored on Jul 9 2020, 3:23 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:73c4240415e0: Add some additional patterns to the "filter Mercurial --debug output" list
Branches
Unknown
Tags
Unknown

Event Timeline