Page MenuHomePhabricator

Replace the primary "Disabled/Enabled" Herald Rule filter with "Active/Inactive", considering author status
ClosedPublic

Authored by epriestley on Nov 14 2018, 11:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 1:56 AM
Unknown Object (File)
Fri, Dec 13, 1:18 AM
Unknown Object (File)
Thu, Dec 12, 5:15 PM
Unknown Object (File)
Fri, Nov 29, 10:20 AM
Unknown Object (File)
Fri, Nov 29, 9:00 AM
Unknown Object (File)
Nov 25 2024, 9:45 PM
Unknown Object (File)
Nov 20 2024, 5:20 PM
Unknown Object (File)
Nov 18 2024, 12:06 AM
Subscribers
None

Details

Summary

Ref T13216. See PHI947. In Herald, Personal rules do not run if their author's account is disabled.

This isn't communicated very clearly in the UI, and the way the SearchEngine/Query are set up isn't great.

Define "active" as "rule will actually run", which specifically means "rule is enabled, and has a valid (non-disabled) author if it needs one".

Change the meaning of the "Active" default filter from "rule is enabled" to "rule is enabled, and has a valid author if it needs one".

Refine the status badge on the view controller to show this "invalid author" state.

Tweak the language for "Disable/Enable" to be more consistent -- we currently call it "disabled" in some cases and "archived" in others.

Test Plan
  • Disabled a user account and saw their personal rules behave properly with the new filters/options/view controller.
  • Disabled/enabled a rule, saw consistent text.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 14 2018, 11:11 PM
Harbormaster failed remote builds in B21147: Diff 47298!

Stacked on qsprintf().

This revision is now accepted and ready to land.Nov 15 2018, 8:12 PM
This revision was automatically updated to reflect the committed changes.