Skip to content

chore(runway): cherry-pick fix: fallback media doesn't take up space cp-7.73.0#28674

Merged
chloeYue merged 1 commit intorelease/7.73.0from
runway-cherry-pick-7.73.0-1775831763
Apr 10, 2026
Merged

chore(runway): cherry-pick fix: fallback media doesn't take up space cp-7.73.0#28674
chloeYue merged 1 commit intorelease/7.73.0from
runway-cherry-pick-7.73.0-1775831763

Conversation

@runway-github
Copy link
Copy Markdown
Contributor

@runway-github runway-github bot commented Apr 10, 2026

Description

NFT fallback media doesn't take up space in parent container

Changelog

CHANGELOG entry:null

Related issues

Fixes: https://consensyssoftware.atlassian.net/browse/MCWP-506

Manual testing steps

Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]

Screenshots/Recordings

~

Before

Simulator.Screen.Recording.-.iPhone.17.-.2026-04-09.at.12.21.28.mov

After

Simulator.Screen.Recording.-.iPhone.17.-.2026-04-09.at.12.47.55.mov

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the
    app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described
    in the ticket it closes and includes the necessary testing evidence such
    as recordings and or screenshots.

Note

Low Risk
Low risk UI-only styling change that adjusts BadgeWrapper layout
behavior for RemoteImage/NFT media; main risk is minor visual
regressions in badge positioning/sizing across screens using this
wrapper.

Overview
Fixes NFT media layout by applying a new RemoteImageBadgeWrapper
style (alignSelf: 'auto') to the underlying BadgeWrapper, allowing
the wrapped image/fallback to size within its parent instead of being
constrained.

Updates the NftDetails snapshot to reflect the new alignSelf value
on the badge wrapper container.

Reviewed by Cursor Bugbot for commit
8a8bf58. Bugbot is set up for automated
code reviews on this repo. Configure
here.

[54df3a0](https://github.com/MetaMask/metamask-mobile/commit/54df3a038c26b335ff1f128eb44eb8c8b81ad682)

…cp-7.73.0 (#28618)

## **Description**

NFT fallback media doesn't take up space in parent container

## **Changelog**

CHANGELOG entry:null

## **Related issues**

Fixes: https://consensyssoftware.atlassian.net/browse/MCWP-506

## **Manual testing steps**

```gherkin
Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]
```

## **Screenshots/Recordings**

`~`

### **Before**


https://github.com/user-attachments/assets/29a57084-127c-46bf-822e-898438503b31

### **After**


https://github.com/user-attachments/assets/94faeb11-27f1-4142-a920-2d0db6435ebe

## **Pre-merge author checklist**

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I've included tests if applicable
- [x] I've documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I've applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [x] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [x] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk UI-only styling change that adjusts `BadgeWrapper` layout
behavior for `RemoteImage`/NFT media; main risk is minor visual
regressions in badge positioning/sizing across screens using this
wrapper.
> 
> **Overview**
> Fixes NFT media layout by applying a new `RemoteImageBadgeWrapper`
style (`alignSelf: 'auto'`) to the underlying `BadgeWrapper`, allowing
the wrapped image/fallback to size within its parent instead of being
constrained.
> 
> Updates the `NftDetails` snapshot to reflect the new `alignSelf` value
on the badge wrapper container.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
8a8bf58. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@github-actions
Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot metamaskbot added the team-bots Bot team (for MetaMask Bot, Runway Bot, etc.) label Apr 10, 2026
@github-actions github-actions bot added size-S risk-low Low testing needed · Low bug introduction risk labels Apr 10, 2026
Copy link
Copy Markdown
Contributor

@chloeYue chloeYue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chloeYue chloeYue added the skip-smart-e2e-selection Skip Smart E2E selection, i.e. select all E2E tests to run label Apr 10, 2026
@github-actions github-actions bot added risk-high Extensive testing required · High bug introduction risk and removed risk-low Low testing needed · Low bug introduction risk labels Apr 10, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

⏭️ Smart E2E selection skipped - skip-smart-e2e-selection label found

All E2E tests pre-selected.

View GitHub Actions results

@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown
Contributor

E2E Fixture Validation — Schema is up to date
18 value mismatches detected (expected — fixture represents an existing user).
View details

@chloeYue chloeYue merged commit 0a6c69d into release/7.73.0 Apr 10, 2026
153 checks passed
@chloeYue chloeYue deleted the runway-cherry-pick-7.73.0-1775831763 branch April 10, 2026 20:09
@github-actions github-actions bot locked and limited conversation to collaborators Apr 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

risk-high Extensive testing required · High bug introduction risk size-S skip-smart-e2e-selection Skip Smart E2E selection, i.e. select all E2E tests to run team-bots Bot team (for MetaMask Bot, Runway Bot, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants