solidjs / solidjs/solid-playground

Share button doesn't change page URL

Open
#105 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
244
Forks
69
PR merge metrics
No merged PRs in 30d

Description

As reported in Discord, clicking on the Share button copies the short URL to the clipboard, but doesn't change the page URL (window.location); it remains the long URL. This is confusing behavior.

On the deployed site, I don't even see the brief change in icon to a chain link anymore (but I do see it on a dev server, even though it's failing to do the PUT).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Share button behavior on the deployed site and a dev server, then trace the TypeScript implementation responsible for copying the short URL and issuing the PUT. Confirm the page URL changes after sharing and that the expected chain-link icon behavior is restored without breaking the request.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.