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)
Wed, Nov 6, 7:03 PM
Unknown Object (File)
Wed, Nov 6, 7:03 PM
Unknown Object (File)
Wed, Nov 6, 11:37 AM
Unknown Object (File)
Wed, Nov 6, 11:37 AM
Unknown Object (File)
Tue, Nov 5, 1:14 AM
Unknown Object (File)
Sun, Oct 20, 6:42 PM
Unknown Object (File)
Oct 4 2024, 1:36 PM
Unknown Object (File)
Sep 23 2024, 8:00 PM

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
Lint Not Applicable
Unit
Tests Not Applicable

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