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
Unknown Object (File)
Tue, Nov 12, 11:54 AM
Unknown Object (File)
Sun, Nov 10, 3:36 PM
Unknown Object (File)
Sun, Nov 10, 3:36 PM
Unknown Object (File)
Sun, Nov 10, 3:36 PM
Unknown Object (File)
Sun, Nov 10, 12:09 AM
Unknown Object (File)
Wed, Nov 6, 7:03 PM
Unknown Object (File)
Wed, Nov 6, 7:03 PM
Unknown Object (File)
Wed, Nov 6, 11:37 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