Page MenuHomePhabricator

Add a "Draft" state for revisions, and action bucket support
ClosedPublic

Authored by epriestley on Sep 18 2017, 7:57 PM.
Tags
None
Referenced Files
F18844900: D18625.diff
Wed, Oct 29, 8:10 AM
F18813634: D18625.diff
Mon, Oct 20, 6:05 PM
F18778280: D18625.id44716.diff
Sat, Oct 11, 8:46 AM
F18714695: D18625.id.diff
Sep 29 2025, 8:41 AM
F18704457: D18625.diff
Sep 28 2025, 7:41 AM
F18589303: D18625.diff
Sep 12 2025, 3:04 AM
F18509117: D18625.id.diff
Sep 5 2025, 3:13 AM
F18501654: D18625.diff
Sep 4 2025, 9:52 PM
Subscribers
None

Details

Summary

Ref T2543. There's no way to put revisions into this state yet, but start adding support for when there is.

Adds the status constant, plus support for bucketing them.

Test Plan
  • Manually put a revision in "Draft" state by updating the database directly.
  • Verified my drafts showed up in a "Drafts" section on the bucket view.
  • Verified others' drafts did not appear on the action bucket view.
  • Viewed revisions, queried for "Draft" revisions, etc (stuff we get for free).

Screen Shot 2017-09-18 at 12.56.40 PM.png (132×274 px, 14 KB)

Screen Shot 2017-09-18 at 12.54.05 PM.png (235×284 px, 21 KB)

Screen Shot 2017-09-18 at 12.54.00 PM.png (236×396 px, 20 KB)

Diff Detail

Repository
rP Phabricator
Branch
draft1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18492
Build 24902: Run Core Tests
Build 24901: arc lint + arc unit