Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: restore image fallbacks #11307

Merged
merged 5 commits into from
Dec 18, 2024
Merged

fix: restore image fallbacks #11307

merged 5 commits into from
Dec 18, 2024

Conversation

brainbicycle
Copy link
Contributor

@brainbicycle brainbicycle commented Dec 18, 2024

This PR resolves []

Description

Fixes error causing auctions not to render as well as a few other images I missed in migration.

This restores some behavior we had with the old opaqueImageView, that is if a null or undefined url is passed render a gray box as a fallback. It looks like this:

Screenshot

Screenshot_1734529133

PR Checklist

  • I have tested my changes on iOS and Android.
  • I hid my changes behind a feature flag, or they don't need one.
  • I have included screenshots or videos, or I have not changed the UI.
  • I have added tests, or my changes don't require any.
  • I added an app state migration, or my changes do not require one.
  • I have documented any follow-up work that this PR will require, or it does not require any.
  • I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

  • I would like at least one of the reviewers to run this PR on the simulator or device.
Changelog updates

Changelog updates

Cross-platform user-facing changes

  • fix images not rendering when url is null - brian

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

Sorry, something went wrong.

@brainbicycle brainbicycle self-assigned this Dec 18, 2024
@brainbicycle brainbicycle marked this pull request as draft December 18, 2024 13:56
@brainbicycle brainbicycle marked this pull request as ready for review December 18, 2024 14:13
@MounirDhahri
Copy link
Member

Thank you 🙏

@ArtsyOpenSource
Copy link
Contributor

This PR contains the following changes:

  • Cross-platform user-facing changes (fix images not rendering when url is null - brian - brainbicycle)

Generated by 🚫 dangerJS against 9dc961a

@brainbicycle brainbicycle merged commit 3909f1b into main Dec 18, 2024
8 checks passed
@brainbicycle brainbicycle deleted the brian/image-bugs branch December 18, 2024 14:29
MounirDhahri pushed a commit that referenced this pull request Dec 18, 2024
* add fallback image and use in ThreeUpImageLayout

* add fallback image in places we added url checks

* few missed images

* fix imports

* add test for fallback image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants