Page MenuHomePhabricator

[web] Remove `background.png` from `Splash` and rename to `placeholder.png`
ClosedPublic

Authored by atul on Mar 16 2022, 2:40 PM.
Tags
None
Referenced Files
F3404695: D3446.diff
Tue, Dec 3, 12:34 PM
Unknown Object (File)
Fri, Nov 15, 6:06 AM
Unknown Object (File)
Sun, Nov 10, 12:12 AM
Unknown Object (File)
Sun, Nov 10, 12:07 AM
Unknown Object (File)
Tue, Nov 5, 1:23 AM
Unknown Object (File)
Oct 16 2024, 8:35 AM
Unknown Object (File)
Oct 4 2024, 5:38 PM
Unknown Object (File)
Sep 24 2024, 6:08 AM

Details

Summary

Here's how it looks:

967c.png (1×3 px, 726 KB)


depends on D3445

Test Plan

Did a search for "images/background.png" and found no other occurences.

Then did a search for "background.png" and found that we were actually using it in sanitization.js to replace image URLs as part of the "sanitization process." So I renamed background.png to placeholder.png and left the file in.

Diff Detail

Repository
rCOMM Comm
Branch
landmarch16 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul edited the test plan for this revision. (Show Details)
atul requested review of this revision.Mar 16 2022, 2:45 PM
lib/utils/sanitization.js
126 ↗(On Diff #10462)

Can we replace the placeholder image? Is pretty ugly and doesn't match with anything.

Weird, not super clear why we're using it for sanitization but okay

This revision is now accepted and ready to land.Mar 16 2022, 9:16 PM
lib/utils/sanitization.js
126 ↗(On Diff #10462)

It's not actually used for anything, not sure it makes sense to slow down @atul for this. It's just for the sanitization process, eg. we replace actual images with this placeholder image when we make crash reports. Users never see it

In D3446#93678, @ashoat wrote:

Weird, not super clear why we're using it for sanitization but okay

It's for when we load crash reports via Redux DevTools. We wanted to replace the contents of image messages with some sort of placeholder image and we went with this since it happened to be in the repo. It could really be anything?

This revision was landed with ongoing or failed builds.Mar 16 2022, 9:41 PM
This revision was automatically updated to reflect the committed changes.