Skip to content

Attachments-Video preview page with Send button is skipped when sending a video #99141

Closed

Description

@applause-bot

If you haven’t already, check out our contributing guidelines for onboarding. To join our Slack channel, fill out this form.


Version Number: 9.4.58-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: https://test-management.browserstack.com/projects/2219752/folder/13176710/test-cases/41236938
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Bug source: Regression TC Execution
Device used: iPhone 15 iOS 26.6
App Component: Other

Action Performed:

  1. Navigate to 1:1 chat
  2. Tap + button - Add attachment - Choose from gallery
  3. Select a video and confirm

Expected Result:

Video preview is displayed with Send green button

Actual Result:

Video preview page is not shown after selecting a video file. The file is sent right away. Also no preview for any other attachments

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome Safari

Screenshots/Videos

Bug7238832_1787276877824.video_1.mp4

View all open jobs on GitHub

Applause Internal Information
Exported by: Mita Rachim
Bug ID: 7238832

Activity

  1. added
    DeployBlockerCash
    Bug
    on Aug 21, 2026
  2. applause-bot commented on Aug 21, 2026

    @applause-bot
    Author

    While Applause doesn't embed attachments for this bug, here are the links for quick view:
    https://platform.applause.com/services/links/v1/external/6f5f0dcb29f50e13ffec2972c9147429f57dbc3b72c039bdd296bee6097a9d81

  3. github-actions commented on Aug 21, 2026

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  4. melvin-bot commented on Aug 21, 2026

    @melvin-bot

    Triggered auto assignment to @marcochavezf (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  5. melvin-bot commented on Aug 21, 2026

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  6. MelvinBot commented on Aug 21, 2026

    @MelvinBot
    Contributor

    🔍 Investigation Summary

    Classification: Frontend bug
    Causing PR: #98528 - "Skip preview modal for native platform when adding attachment" by @hungvu193 (High confidence)
    Related Issues: #98049 (the originating feature request)

    Recommendation: REVERT

    PR #98528 skips the attachment preview/confirmation modal for all native attachment additions, but the confirmation step is still needed for gallery picks and file/document attachments — this reproduces the reported symptom exactly (attachment sent immediately, no preview). A clean revert (single file, +13 lines) restores the preview step; a roll-forward is possible if we want to keep the improvement but scope it correctly (see below).

    Assigned: @hungvu193 (PR author), @daledah, @iwiznia (approving reviewers) from the causing PR
    Labels: No changes. DeployBlockerCash kept (App PR caused it; App deploy is blocked). No DeployBlocker present.

    📋 Detailed Analysis

    Evidence

    Verification

    Root Cause

    The originating request (#98049) asked to remove the extra "Send attachment" screen specifically for the iOS Take photo flow, because the iOS camera already has a baked-in "Use Photo" review step. The design discussion on that issue explicitly noted the skip should apply where a native review step already exists, and that flows without such a step should still let the user review before sending.

    PR #98528 implemented the skip at the onFilesValidated level gated only on isNative (platform === ANDROID || platform === IOS), so it applies to every native attachment path — Choose from gallery, Choose file/document, etc. — not just the camera flow. Those paths have no review step, so the file is sent immediately with no chance to preview/cancel, which is the reported regression.

    Fix options

  7. hungvu193 commented on Aug 21, 2026

    @hungvu193
    Contributor

    Yes, this is expected, with native platform we will skip the preview screen for attachments (videos, images,...). Please check the convo: #98049 (comment)

  8. iwiznia commented on Aug 21, 2026

    @iwiznia
    Contributor

    Yep, intended behavior, closing.

  9. removed
    DeployBlockerCash
    on Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugEngineeringHourly

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions