Skip to content

fix: notifications text overlap [GE-192] cp-7.74.0#28990

Merged
baptiste-marchand merged 2 commits into
mainfrom
fix/notifications-text-overlap
Apr 17, 2026
Merged

fix: notifications text overlap [GE-192] cp-7.74.0#28990
baptiste-marchand merged 2 commits into
mainfrom
fix/notifications-text-overlap

Conversation

@baptiste-marchand

@baptiste-marchand baptiste-marchand commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

Description

The modalContainer wrapping the details screen had only flex: 1 with no backgroundColor. During the slide-in animation, the details screen was transparent, so the notifications list text underneath was visible through it, causing a text overlap.

Every other similar modalContainer in the codebase already uses backgroundColor: theme.colors.background.default.

Changelog

CHANGELOG entry:

Related issues

Fixes: https://consensyssoftware.atlassian.net/browse/GE-192

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

After

Pre-merge author checklist

Performance checks (if applicable)

  • I've tested on Android
    • Ideally on a mid-range device; emulator is acceptable
  • I've tested with a power user scenario
    • Use these power-user SRPs to import wallets with many accounts and tokens
  • I've instrumented key operations with Sentry traces for production performance metrics

For performance guidelines and tooling, see the Performance Guide.

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
Style-only changes that set background colors and layout flex; low chance of behavioral regressions beyond potential minor UI spacing differences.

Overview
Fixes visual bleed-through during notification detail modal transitions by giving modalContainer an explicit backgroundColor (colors.background.default).

Also updates the Notifications Settings screen container to use full-height layout (flex: 1) and apply the theme default background color, aligning it with other modal/screen containers.

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

@baptiste-marchand baptiste-marchand requested a review from a team as a code owner April 17, 2026 16:11
@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.

@baptiste-marchand baptiste-marchand changed the title fix: notifications text overlap fix: notifications text overlap [GE-192] Apr 17, 2026
@baptiste-marchand baptiste-marchand added the no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed label Apr 17, 2026
@github-actions github-actions Bot added size-XS risk-low Low testing needed · Low bug introduction risk labels Apr 17, 2026
@baptiste-marchand baptiste-marchand requested a review from a team as a code owner April 17, 2026 16:43
@github-actions github-actions Bot added risk-low Low testing needed · Low bug introduction risk and removed risk-low Low testing needed · Low bug introduction risk labels Apr 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

  • Selected E2E tags: None (no tests recommended)
  • Selected Performance tags: None (no tests recommended)
  • Risk Level: low
  • AI Confidence: 97%
click to see 🤖 AI reasoning details

E2E Test Selection:
The two changed files are purely style/CSS files with minimal, cosmetic changes:

  1. app/components/Views/Notifications/Details/styles.ts: Adds backgroundColor: colors.background.default to the modalContainer style — a visual fix to ensure the notification detail modal has the correct background color.

  2. app/components/Views/Settings/NotificationsSettings/NotificationsSettings.styles.ts: Adds flex: 1 and backgroundColor: params.theme.colors.background.default to the container style — a visual fix for the notifications settings screen layout/background.

These are isolated style-only changes with no impact on:

  • Application logic or state management
  • Navigation or routing
  • Controllers or Engine
  • Shared components used across test flows
  • Any user-facing functionality beyond visual appearance

No E2E tests are needed as these changes cannot break functional flows. The notification settings and notification detail screens are not covered by dedicated E2E smoke test tags, and the purely cosmetic nature of the changes (background color, flex layout) poses no risk to any existing test flows.

Performance Test Selection:
These are pure style changes (background color and flex properties) with no impact on rendering performance, data loading, state management, or any performance-sensitive code paths. No performance tests are warranted.

View GitHub Actions results

@samir-acle samir-acle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@sonarqubecloud

Copy link
Copy Markdown

@baptiste-marchand baptiste-marchand added this pull request to the merge queue Apr 17, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 17, 2026
@baptiste-marchand baptiste-marchand added this pull request to the merge queue Apr 17, 2026
Merged via the queue into main with commit c9eda6a Apr 17, 2026
65 checks passed
@baptiste-marchand baptiste-marchand deleted the fix/notifications-text-overlap branch April 17, 2026 18:20
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 17, 2026
@metamaskbotv2 metamaskbotv2 Bot added the release-7.75.0 Issue or pull request that will be included in release 7.75.0 label Apr 17, 2026
@baptiste-marchand baptiste-marchand changed the title fix: notifications text overlap [GE-192] fix: notifications text overlap [GE-192] cp-7.74.0 Apr 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed release-7.75.0 Issue or pull request that will be included in release 7.75.0 risk-low Low testing needed · Low bug introduction risk size-XS team-engagement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants