Add shareable links via URL fragment#15
Merged
Merged
Conversation
Encode the current input as base64url into window.location.hash on 'Copy link'. On mount, if a hash is present, decode and pre-populate the textarea so any shared link opens directly into a decoded view. Payload never leaves the browser — the fragment is not sent to the server. Update README roadmap to reflect current project state.
Encode the current input as base64url into window.location.hash on 'Copy link'. On mount, if a hash is present, decode and pre-populate the textarea so any shared link opens directly into a decoded view. Payload never leaves the browser — the fragment is not sent to the server. encodePayload/decodePayload extracted to src/lib/hash.ts for testability. 100% coverage maintained (380 statements, 219 branches, 48 functions). Update README roadmap with full near/medium/long-term feature list.
npm audit fix resolves: - devalue 5.6.3-5.8.0 (high) — DoS via sparse array deserialization - svelte <=5.55.6 (moderate) — SSR XSS via spread attributes, Promise serialization, DOM clobbering, and ReDoS in svelte:element validation Remaining: cookie <0.7.0 (3x low) via @sveltejs/kit — the only available fix downgrades SvelteKit to 0.0.30, which is a breaking change. CI uses --audit-level=high so this does not block the build.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
kellenmurphy
added a commit
that referenced
this pull request
Jun 3, 2026
Scorecard Token-Permissions (code-scanning alert #15) flagged the deploy job's job-level `deployments: write`. No step uses GitHub's Deployments API — the `environment: production` record is created by GitHub itself, and wrangler-action deploys to Cloudflare Pages without touching it. The remaining id-token/attestations writes are required by attest-build-provenance.
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.
Summary
Test plan
#fragment