Page MenuHomePhabricator

Update rendering of policy edit transactions in Applications
ClosedPublic

Authored by epriestley on Sep 12 2019, 2:03 PM.
Tags
None
Referenced Files
F19508715: D20801.diff
Sat, Jan 10, 9:07 AM
F19083055: D20801.id49605.diff
Dec 2 2025, 12:29 PM
F19070883: D20801.id49597.diff
Nov 30 2025, 6:08 PM
F18985200: D20801.id49597.diff
Nov 17 2025, 12:55 PM
F18865509: D20801.diff
Nov 3 2025, 12:37 PM
F18849794: D20801.diff
Oct 30 2025, 12:19 PM
F18835291: D20801.id49597.diff
Oct 26 2025, 2:47 PM
F18785934: D20801.id49605.diff
Oct 14 2025, 3:45 PM
Subscribers
None

Details

Summary

Ref T13411. Since circa D19829, transactions have rendered policy changes in a modern way, notably making "Custom Policy" clickable to show the policy rules.

Edit transactions in Applications still use a separate, older approach to render policies. This produces policy renderings which don't use modern quoting rules and don't link in a modern way.

Make Applications use the same rendering code that other transactions (like normal edit/view edits) use.

Test Plan

Edited policies in Applications, saw more useful transactions in the log. Clicked "Custom Policy" in the transaction log and got a useful explanation of the policy.

Diff Detail

Repository
rP Phabricator
Branch
policy1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23422
Build 32178: Run Core Tests
Build 32177: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Sep 12 2019, 4:32 PM
This revision was automatically updated to reflect the committed changes.