Skip to content

[Due for payment 2026-10-01] Try it out button opens More features page of invited workspace as member #99034

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: Workspace Settings

Action Performed:

Precondition:

  • Create a new account.
  • User is a member of invited workspace.
  1. Go to staging.new.expensify.com
  2. Create a new workspace.
  3. Do not dismiss vendors marketing window.
  4. Go to invited workspace.
  5. Click Try it out.

Expected Result:

More features page of the own workspace will open.

Actual Result:

More features page of the invited workspace opens.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7237970_1787207675244.4.mp4

View all open jobs on GitHub

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

Issue OwnerCurrent Issue Owner: @mallenexpensify
Issue OwnerCurrent Issue Owner: @KJ21-ENG

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/c09515fd9c9c41ded11135b5edd2e13fbf038af0b2c0313f8b28b46572f4de09

  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. MelvinBot commented on Aug 20, 2026

    @MelvinBot
    Contributor

    Deploy Blocker Analysis

    Offending PR: #98565 "Add August product marketing window" (author KJ21-ENG, reviewers huult / Julesssss). Staging-only / N/A in prod because this window is brand new — introduced entirely by this PR. High confidence.

    Root Cause: The "Try it out" CTA picks its target workspace from the active policy (NVP_ACTIVE_POLICY_ID), not the workspace the promo is actually promoting. At ProductMarketingWindowManager.tsx:73 the target is activeAdminPolicies.find((policy) => policy.id === activePolicyID) ?? activeAdminPolicies.at(0). That policyID is then passed straight into ROUTES.WORKSPACE_MORE_FEATURES.getRoute(adminPolicy?.id), and the More Features page is authoritative on route.params.policyID — so it opens whatever the active policy is (the invited workspace) rather than the user's newly-created workspace.

    Recommended Fix: Revert #98565. It's a self-contained, staging-only new feature, so a revert cleanly clears the blocker with no dependent-PR risk. If the team prefers to roll forward, the targeted fix is at ProductMarketingWindowManager.tsx:73: resolve the CTA target to the workspace the promo is anchored to (the user's own/newly-created admin workspace) instead of following activePolicyID. Since "which admin workspace should this promo open" is a product decision, revert is the safer blocker resolution unless product confirms the intended target quickly.

    Investigation details & caveat on the repro
    • activeAdminPolicies is admin-only (getActiveAdminWorkspaces → isPolicyAdmin, PolicyUtils.ts:1967-1970). A workspace where the user is purely a member can never be selected by line 73, so the "as member" wording in the report likely describes how the account joined the workspace, not its actual role. Assignees should confirm the tester administers the invited workspace and that it is the active policy.
    • Navigating into a workspace only sets LAST_ACCESSED_WORKSPACE_POLICY_ID, not NVP_ACTIVE_POLICY_ID (Policy.ts:322-324). The active policy pointing at the invited workspace comes from account/workspace-creation setup not overriding it (shouldSetCreatedPolicyAsActive, Policy.ts:2939-2945), not from step 4 of the repro.

    Files involved:


    Next Steps: Reply with @MelvinBot implement this to open a draft PR for the targeted fix, or @MelvinBot <your feedback> to refine this analysis.


    view run

  8. huult commented on Aug 20, 2026

    @huult
    Contributor
  9. KJ21-ENG commented on Aug 20, 2026

    @KJ21-ENG
    Contributor

    Investigating this, this is very weird thing happening here. Though its not related to our PR, but yaa i will explain what is happening here in a while.

    cc: @huult

  10. 46 remaining items

  11. huult commented on Sep 25, 2026

    @huult
    Contributor

    #102010 is a Deploy Blocker, so I don't think we should apply the 50% reduction. It's a narrow edge case that's easy to miss in review. It only happens on RHP steps that both use an explicit backTo (dynamic route) and guard unsaved changes (Description/Merchant). goUp() silently re-dispatches in the second phase when the first pop is blocked by the guard, which isn't covered by the main navigation tests.

    Could you consider this? Many thanks!

  12. added
    Daily
    Awaiting Payment
    and removed
    Weekly
    on Sep 30, 2026
  13. melvin-bot commented on Sep 30, 2026

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  14. melvin-bot commented on Sep 30, 2026

    @melvin-bot

    Payment Summary

    Resolving PRs:

    BugZero Checklist (@mallenexpensify)

    • I have confirmed assignees, roles, and Upwork contracts look correct
    • I have paid out Upwork contracts / manual NewDot requests
    • [BugZero Assignee] I have created a GH issue for creating/updating the regression test once above steps have been agreed upon
  15. huult commented on Oct 1, 2026

    @huult
    Contributor

    This ticket was worked on before the price was reduced to $175, so we should keep it at $250.

  16. mallenexpensify commented on Oct 3, 2026

    @mallenexpensify
    Contributor

    Payment Summary

    Contributor: @KJ21-ENG paid $250 via Upwork
    Contributor+: @huult due $250 via NewDot

    @KJ21-ENG can you please accept the job below? Please reply here and tag me once you have.
    https://www.upwork.com/jobs/~022106393665437381003

  17. KJ21-ENG commented on Oct 3, 2026

    @KJ21-ENG
    Contributor

    @mallenexpensify offer accepted, Thanks

  18. mallenexpensify commented on Oct 3, 2026

    @mallenexpensify
    Contributor

    @KJ21-ENG paid, summary updated above. Thx.

  19. JmillsExpensify commented on Oct 14, 2026

    @JmillsExpensify
    Contributor

    $250 approved for @huult

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringExternal

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions