Skip to content

After dismissing Vendor marketing window, Agents marketing window does not appear #99027

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.57-0
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #98565
Email or phone of affected tester (no customers): sdsiodjnosdjiodsj@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Mac 26.5 / Chrome
App Component: Other

Action Performed:

  1. Go to staging.new.expensify.com
  2. Create a new Gmail account.
  3. Complete onboarding with Something else intent.
  4. Do not dismiss Agents marketing window.
  5. Create a workspace.
  6. Dismiss Vendor marketing window.

Expected Result:

After dismissing Vendor marketing window, Agents marketing window will appear.

Actual Result:

After dismissing Vendor marketing window, Agents marketing window does not appear.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7237903_1787201687029.1.mp4

View all open jobs on GitHub

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

Activity

  1. added
    DeployBlockerCash
    Bug
    on Aug 20, 2026
  2. applause-bot commented on Aug 20, 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/3ca9933c14159fadae6fbc7b22d138f10c25c6a2444bb87bb634ada12be7428d

  3. melvin-bot commented on Aug 20, 2026

    @melvin-bot

    You have been assigned to this deploy blocker because you recently merged this PR: #98565

  4. melvin-bot commented on Aug 20, 2026

    @melvin-bot

    @Julesssss @huult you have been assigned to this deploy blocker because you reviewed the offending PR: #98565

  5. melvin-bot commented on Aug 20, 2026

    @melvin-bot

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

  6. github-actions commented on Aug 20, 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.
  7. huult commented on Aug 20, 2026

    @huult
    Contributor

    @Julesssss I don't think this is a bug. I think this is more of an enhancement to cover this case. CC @shawnborton, what do you think?

  8. MelvinBot commented on Aug 20, 2026

    @MelvinBot
    Contributor

    🔍 Investigation Summary

    Classification: Frontend bug
    Causing PR: #98565 - "Add August product marketing window" by @KJ21-ENG (High confidence)
    Related Issues: #98233 (the feature issue this PR implemented)

    Recommendation: DEMOTE

    The observed behavior matches the marketing window's documented single-campaign design (one dismissal ends the whole campaign, "admin prevails" when a user is both member and admin), it only affects a narrow flow on a non-critical promo window, and the feature is not in production. A full revert would be disproportionate (it removes both new August promos and reintroduces the July one). If product decides both promos should be surfaced, that is a targeted roll-forward (per-variant dismissal keys), not a revert.

    Assigned: @KJ21-ENG (PR author), @Julesssss and @huult (approving reviewers) from PR #98565
    Labels: No changes. DeployBlockerCash is kept — this is a frontend/App bug and the issue is not reproducible in production (new feature), so the label must remain. No DeployBlocker (Web) label is present.

    📋 Detailed Analysis

    Evidence

    • PR Add August product marketing window #98565 (merged 2026-08-19, shipped in 9.4.57-0 on the 2026-08-20 deploy checklist) is the PR that introduced the "Agents marketing window" itself. Its diff adds the entire member variant block to every src/languages/*.ts file (productMarketingWindow.roleTypes.member — "Pre-built agents for you"), which did not exist before. Before this PR the announcement had only an admin variant ("New role types for admins"), so members saw no window at all.
    • The same PR reworked the CTA routing (getCtaRoute signature) and added the admin member/admin variant selection and connection-prefetch logic in ProductMarketingWindowManager.tsx.
    • Reproducible on staging only; N/A in production (brand-new feature). The bug is entirely within the code this PR added.

    Verification

    • Affected files (both modified by PR Add August product marketing window #98565, confirmed in the PR file list):
      • src/libs/ProductMarketingWindowUtils.ts — defines the single announcement, its two variants, and the shared dismissal key.
      • src/components/ProductMarketingWindow/ProductMarketingWindowManager.tsx — selects the variant based on the user's current admin status and persists dismissal.
    • Both files contain the exact logic that produces the reported symptom (see Root Cause).

    Root Cause

    The feature is intentionally built as one campaign with one shared dismissal key and two mutually-exclusive, role-selected variants — not a queue of independent windows:

    Walking the repro against this logic:

    1. Onboard as "Something else" → no admin workspace → targetAdminPolicy is undefined → member (Agents) variant shows.
    2. User does not dismiss it and creates a workspace → they now administer an active workspace → targetAdminPolicy becomes truthy → the variant silently flips to admin (Vendor).
    3. User dismisses the Vendor window → persistDismissal() writes NVP_LAST_DISMISSED_MARKETING_WINDOW = 'productUpdateAugust2026'.
    4. isProductMarketingAnnouncementDismissed is now true for the whole campaign → the resolver returns undefined → the Agents (member) window can never reappear.

    So the "Agents window not reappearing" is the direct, intended consequence of the shared campaign key plus the role-based variant flip. The tester's "Expected result" assumes the two windows are queued independently; the feature was explicitly designed the opposite way. This is a narrow UX edge case (a brand-new user must become an admin mid-session before touching the first window), on a non-critical promo, not core functionality — hence the DEMOTE recommendation while conservatively keeping the deploy-blocker label.


    view run

  9. KJ21-ENG commented on Aug 20, 2026

    @KJ21-ENG
    Contributor

    @Julesssss I don't think this is a bug. I think this is more of an enhancement to cover this case. CC @shawnborton, what do you think?

    +1 to this.

    cc: @huult @shawnborton @Julesssss

  10. Julesssss commented on Aug 20, 2026

    @Julesssss
    Contributor

    Agree. Just checked and it came from Applause exploratory testing. Closing!

  11. removed
    DeployBlockerCash
    on Aug 21, 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