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

Web Extension: Remove dependency on website preview URL #1091

Merged
merged 8 commits into from
Jan 22, 2025

Conversation

priyanshu92
Copy link
Contributor

This pull request introduces several changes to improve the validation and handling of website preview URLs in the codebase. The most significant changes include modifying the validateWebsitePreviewURL function to return an object with the URL and its validity status, updating the PowerPagesNavigationProvider class to use this new validation result, and removing the WEBSITE_PREVIEW_URL query parameter.

Changes to URL validation:

Updates to PowerPagesNavigationProvider class:

Removal of unused query parameter:

@priyanshu92 priyanshu92 marked this pull request as ready for review January 21, 2025 14:30
@priyanshu92 priyanshu92 requested review from a team as code owners January 21, 2025 14:30
@priyanshu92 priyanshu92 enabled auto-merge (squash) January 21, 2025 14:30
src/web/client/utilities/commonUtil.ts Outdated Show resolved Hide resolved
@priyanshu92 priyanshu92 merged commit cd4fb6d into main Jan 22, 2025
6 checks passed
@priyanshu92 priyanshu92 deleted the users/priyanshuag/remove-preview-url branch January 22, 2025 09:36
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.

4 participants