Page MenuHomePhabricator

Issue commands to Nuance items, at least roughly

Authored by epriestley on May 24 2017, 4:35 PM.



Ref T12738. This makes clicking "Throw In Trash" technically do something, sort of.

In Nuance, the default mode of operation for actions is asynchronous -- so you don't have to wait for a response from Twitter or GitHub after you mash the "send default reply tweet" / "close this pull request with a nice response" button and can move directly to the next item instead.

In the future, some operations will attempt to apply synchronously (e.g., local actions like "ignore this item forever"). This fakes our way through that for now.

There's also no connection to the action actually doing anything yet, but I'll probably rig that up next.

Test Plan

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.May 24 2017, 4:35 PM
chad accepted this revision.May 24 2017, 4:38 PM
This revision is now accepted and ready to land.May 24 2017, 4:38 PM
This revision was automatically updated to reflect the committed changes.