github internxt/drive-web v1.0.782

4 hours ago

Description

Add a URL contract so the Desktop app can deep-link users directly into the referral experience on Drive instead of only landing on the main page.

Introduce the useReferralParamsChange hook, which reads the ?referral=open query param and opens the Cello referral widget via referralService.openPanel once the user and eligibility have loaded. The widget only opens for eligible users, and the param is stripped from the URL afterwards so refresh/back navigation does not reopen it. The hook is wired into SidenavWrapper, the existing referral entry point.

Related Issues

Related Pull Requests

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

Testing Process

Additional Notes

Don't miss a new drive-web release

NewReleases is sending notifications on new releases.