🔗 Pasting CSS should generate sharable URL

Open
#188 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #335 by @bartveneman — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
css
Domain
frontend

Research direction

Start in src/lib/components/css-form and read how one-off pages use HashState. Implement HashState only for raw CSS input, then verify that pasting CSS produces a sharable URL and that loading the URL restores the input.

Written by the indexing model from the issue text.

Description

platform: usability
  • Similar to how the 'one-off pages' work: use HashState
  • Implement in src/lib/components/css-form
  • Start only with setting HashState when using raw input

Later:

  • Use HashState for file input
  • use HashState for URL input
  • Also generate a 'share permalink' button/link to share the page, even when scraping a URL or using file upload.
Dominant language
Svelte
Stars
4
Forks
0
Avg merge
2d 8h
Merged PRs (30d)
23

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from projectwallace/projectwallace.com

All issues in projectwallace/projectwallace.com

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.