Skip to content

Comments

[Feature][STUD-580]: Gate 'DistributionPricingDialog' when user first interact with the release CTA 'Create New Release'#981

Open
ITurres wants to merge 1 commit intomasterfrom
STUD-580-Render-DistributionPricingDialog-when-user-first-interact-with-the-release-CTA-dashed-button
Open

[Feature][STUD-580]: Gate 'DistributionPricingDialog' when user first interact with the release CTA 'Create New Release'#981
ITurres wants to merge 1 commit intomasterfrom
STUD-580-Render-DistributionPricingDialog-when-user-first-interact-with-the-release-CTA-dashed-button

Conversation

@ITurres
Copy link
Member

@ITurres ITurres commented Feb 24, 2026

Pull Request — Issue STUD-580

Overview

Move the DistributionPricingDialog flow to the Releases CTA for Phase Two. The dialog now appears on first interaction with the CTA when the user is not subscribed, and routes to the correct creation flow after acceptance. Phase One behavior remains unchanged.


Files Summary

Total Changes: 4 files modified

Modified (4)
  • newm-web/apps/studio/src/pages/home/releases/Discography.tsx
    • Adds CTA gating and renders DistributionPricingDialog for Phase Two only.
  • newm-web/apps/studio/src/pages/home/releases/Releases.tsx
    • Guards /home/releases/new and /home/releases/new/track/new based on flags and DSP subscription; routes to /home/upload-song when Phase Two is off.
  • newm-web/apps/studio/src/pages/home/uploadSong/BasicSongDetails.tsx
    • Keeps the legacy dialog flow only when Phase Two is off; allows mint toggle without dialog for Phase Two.
  • newm-web/apps/studio/src/pages/home/releases/release/tracks/BasicTrackDetails.tsx
    • Mirrors BasicSongDetails behavior for Phase Two gating.

Impact

  • Phase Two: CTA shows pricing dialog before routing to /home/releases/new when user is not subscribed.
  • Phase Two: direct navigation to /home/releases/new is blocked unless subscribed.
  • Phase One: legacy upload-song flow remains; dialog behavior in BasicSongDetails/BasicTrackDetails is unchanged.

Testing

  • Not run (UI flow changes).

Related Issues

  • STUD-580

Dependencies

  • No new dependencies.

Demo

STUD-580-demo.mp4

Additional Notes

  • Flag behavior recap:
    • webStudioDisableDistributionAndSales=true keeps users in /home/releases.
    • webStudioAlbumPhaseTwo=false routes creation to /home/upload-song and uses legacy dialog flow.
    • webStudioAlbumPhaseTwo=true uses the new CTA dialog gating and /home/releases/new flow.

--END--

Move the pricing dialog to the Releases CTA for Phase Two and
gate '/releases/new' routing on 'dspPlanSubscribed'. When Phase Two
is off, preserve the legacy 'upload-song' flow and 'mint' toggle
behavior in 'BasicSongDetails'/'BasicTrackDetails'.
@ITurres ITurres self-assigned this Feb 24, 2026
@ITurres ITurres requested a review from a team as a code owner February 24, 2026 16:34
@github-actions
Copy link

Visit the studio preview URL for this PR 🚀 : https://981.artist.preview.newm.io/

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant