Skip to content

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

Merged
ITurres merged 3 commits into
masterfrom
STUD-580-Render-DistributionPricingDialog-when-user-first-interact-with-the-release-CTA-dashed-button
Feb 25, 2026
Merged

ITurres merged 3 commits into
masterfrom
STUD-580-Render-DistributionPricingDialog-when-user-first-interact-with-the-release-CTA-dashed-button

Conversation

@ITurres

@ITurres ITurres commented Feb 24, 2026 •

Copy link
Copy Markdown
Member

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
Copy Markdown

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

@dmkirshon dmkirshon 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.

Looks good overall, requesting some minor changes as there is code that isn't necessary in their respective UX flows. Also found some possible left over test logic.

Comment thread apps/studio/src/pages/home/uploadSong/BasicSongDetails.tsx Outdated
Comment thread apps/studio/src/pages/home/uploadSong/BasicSongDetails.tsx Outdated
Comment thread apps/studio/src/pages/home/releases/release/tracks/BasicTrackDetails.tsx Outdated
…o track details

Drop profile query and pricing dialog logic from 'BasicTrackDetails'.
Phase-two flow no longer uses the mint toggle or plan gating.
@ITurres
ITurres requested a review from dmkirshon February 25, 2026 16:16

@dmkirshon dmkirshon 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.

Looks good!

@ITurres
ITurres merged commit e603f3e into master Feb 25, 2026
2 checks passed
@ITurres
ITurres deleted the STUD-580-Render-DistributionPricingDialog-when-user-first-interact-with-the-release-CTA-dashed-button branch February 25, 2026 16:43
@ITurres ITurres mentioned this pull request Feb 26, 2026
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.

2 participants