Page MenuHomePhabricator

[web] Directly render code that is no longer conditional
ClosedPublic

Authored by tomek on Mar 21 2022, 3:59 AM.
Tags
None
Referenced Files
F3725182: D3474.id10736.diff
Wed, Jan 8, 6:28 PM
F3725181: D3474.id10615.diff
Wed, Jan 8, 6:28 PM
F3725180: D3474.id10558.diff
Wed, Jan 8, 6:28 PM
F3725138: D3474.diff
Wed, Jan 8, 6:22 PM
F3719044: D3474.id.diff
Wed, Jan 8, 10:58 AM
Unknown Object (File)
Mon, Jan 6, 4:07 AM
Unknown Object (File)
Sun, Jan 5, 6:02 AM
Unknown Object (File)
Fri, Dec 20, 1:06 AM

Details

Summary

Simplify the code by directly rendering instead of first assigning to a variable

empty.png (980×1 px, 92 KB)

error1.png (1×1 px, 104 KB)

error2.png (1×1 px, 94 KB)

Depends on D3473

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested review of this revision.Mar 21 2022, 4:07 AM

Could you add a screenshot here? Both with the button and error state?

This revision now requires changes to proceed.Mar 21 2022, 6:59 AM
tomek requested review of this revision.EditedMar 21 2022, 8:20 AM
tomek edited the summary of this revision. (Show Details)

Could you add a screenshot here? Both with the button and error state?

Added the screenshots with the final state in the summary

This revision is now accepted and ready to land.Mar 22 2022, 1:29 PM