Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix and Refactor splash page URL Handling to Respect Nested URLs #1794

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

uurcank
Copy link
Contributor

@uurcank uurcank commented Feb 19, 2024

This PR addresses an inconsistency in the splash_page_with_params method within the controller concern, where the method previously defaulted to the application's root path, disregarding the nested URL setting as explained here.

Previously, when a nested_url was enabled and the app was accessed from the Shopify dashboard or the page was refreshed, the user was incorrectly redirected back to the app's root URL, instead of the intended Shopify app root (the nested URL).

@uurcank uurcank requested a review from a team as a code owner February 19, 2024 02:27
@uurcank uurcank changed the title Fix and Refactor URL Handling to Respect Nested URLs Fix and Refactor splash page URL Handling to Respect Nested URLs Feb 19, 2024
Copy link
Contributor

@paulomarg paulomarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thank you for your contribution! If you could please fix up the rubocop error, we'll get this merged.

@paulomarg paulomarg added the Waiting for Response Need more information before we can provide more assistance label Feb 20, 2024
@uurcank
Copy link
Contributor Author

uurcank commented Feb 21, 2024

@paulomarg ready for merge 👍

@github-actions github-actions bot removed the Waiting for Response Need more information before we can provide more assistance label Feb 21, 2024
@paulomarg paulomarg merged commit 2a75c07 into Shopify:main Feb 21, 2024
7 checks passed
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