use if else syntax the that's used project wide.
before:
after:
Paths
| Differential D3997 Authored by • benschac on May 10 2022, 10:36 AM.
Tags None Referenced Files
Details Summary Test Plan Cluster margin should work as expected in chat view.
Diff Detail
Event TimelineHerald added subscribers: • abosh, • adrian, ashoat. · View Herald TranscriptMay 10 2022, 10:36 AM2022-05-10 10:36:36 (UTC-7)
Harbormaster completed remote builds in B8991: Diff 12525.May 10 2022, 10:41 AM2022-05-10 10:41:35 (UTC-7) Harbormaster completed remote builds in B8992: Diff 12526.May 10 2022, 11:46 AM2022-05-10 11:46:28 (UTC-7) Comment Actions This is not only a refactor, but it also changes the logic. In the previous version, when item.endsCluster then marginBottom: 5 + clusterEndHeight, but now marginBottom: clusterEndHeight. Is that intentional? This revision now requires changes to proceed.May 11 2022, 5:46 AM2022-05-11 05:46:25 (UTC-7) Comment Actions
You're right, thanks for catching this. Harbormaster failed remote builds in B8997: Diff 12535!May 11 2022, 6:06 AM2022-05-11 06:06:59 (UTC-7) This revision is now accepted and ready to land.May 11 2022, 6:08 AM2022-05-11 06:08:30 (UTC-7) Harbormaster completed remote builds in B8997: Diff 12535.May 11 2022, 9:25 AM2022-05-11 09:25:14 (UTC-7) Closed by commit rCOMM206d81a9a618: [native] [refactor] [ENG-530] refactor container margin bottom if statement (authored by • benschac). · Explain WhyMay 11 2022, 11:42 AM2022-05-11 11:42:15 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 12526 native/chat/composed-message.react.js
|
Do we really want to make this change in production? Should we consider gating it on isStaffRelease?