Repository navigation
feat(routing): universal tool deep-linking query parameters & state preservation on file load - #12
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
pdfseal | bc10957 | Commit Preview URL Branch Preview URL |
Sep 25 2026, 11:49 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🦭 Pull Request Description
Summary of Changes
This PR introduces a universal, standardized deep-linking query parameter engine to enable seamless landing page integration, direct visa portal pre-configurations (e.g. CEAC 2MB, IRCC 5MB), and partner referrals without polluting the client codebase with third-party domain logic.
Universal Query Parameter Engine (
src/utils/toolQueryParams.js):?target=,?level=,?text=,?opacity=,?color=,?angle=,?preset=,?pos=,?start=,?range=,?interval=, and?lang=.CompressTool.vue,WatermarkTool.vue,ProtectTool.vue,PageNumberTool.vue, andSplitTool.vue.File Load State Preservation Bugfix:
CompressTool.vueandSplitTool.vuewhere dragging/dropping a file after landing on a parameterized URL was overriding user query params with document auto-detected defaults.Verification & Test Coverage:
tests/toolQueryParams.test.jswith 22 dedicated test cases verifying edge cases, boundary clamps, invalid inputs, and unit conversion.scripts/verify_query_params.js).Type of Change
🛡️ Privacy & Quality Checklist
npm test).console.logstatements.Related Issues