Page MenuHomePhorge

Add CSS class to object handle if user object is system agent
Needs ReviewPublic

Authored by aklapper on Fri, May 2, 23:53.

Details

Summary

Set the base for future customization to easier differentiate between human actors and machines.

Test Plan

Inspect the CSS of a bot account handle and a user account handle in a Maniphest task. See that <a> has an additional phui-system-agent class.

Diff Detail

Repository
rP Phorge
Branch
T16051 (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1924
Build 1924: arc lint + arc unit

Event Timeline

aklapper requested review of this revision.Fri, May 2, 23:53

Don't bool with the bool otherwise it bools

always set a bool so we have an explicit value and don't just fallback to "false"

Uhm... can we sleep with the very possible possibility of having "User Bot" possibly everywhere? 🌈

having "User Bot" possibly everywhere? 🌈

No. Because consistency.