Change URL behavior (parse the content to the url)
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- typescript
- Bereich
- tooling
Rechercherichtung
Beginne damit, das verwandte Issue #105 und den im Issue verlinkten Vue SFC playground ReplStore zu lesen. Untersuche anschließend das aktuelle Verhalten von URL, Token, anonymen Benutzern und Teilen-Schaltfläche. Als abgeschlossen gilt die Aufgabe, wenn ein abgestimmter Roundtrip von Inhalt zu URL und zurück vorliegt und die Auswirkungen auf das bestehende Teilen- und Token-Verhalten geklärt sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
I think it's better to take inspiration from Vue SFC playground.
It seems like it creates a hash for the content, and parse it inside it's ReplStore. See https://github.com/vuejs/core/tree/main/packages/sfc-playground
This will make the link is a Bijective function to the content. Which means that we can create cool stuff like programmatically embed content to the url - like in https://github.com/LinusBorg/slidev-theme-vuetiful/blob/348090dff814bb97f835c2944daaf2fd77552d83/layouts/sfc.vue#L32 - the component embed its content programmatically so the content code is readable before injecting it into the url - and we can extract it from the url. The url get const encoded = window.btoa(JSON.stringify(content)) so we can do the reverse with const decodedString = JSON.parse(window.atob(encoded)).
This may affect the way the URL handles now with tokens and anonymous users and the behavior of the share button will be just to copy the URL instead of saving.
This issue is related to #105
- Vorherrschende Sprache
- TypeScript
- Sterne
- 246
- Forks
- 71
- Ø Merge
- 5 Min.
- Gemergte PRs (30 T.)
- 6
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus solidjs/solid-playground
-
fetch types from esm.shOffen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
solidjs/solid-playground#194 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
solidjs/solid-playground#190 · 1 Kommentar ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 25/100
solidjs/solid-playground#179 · 2 Kommentare ·
-
Missing editor fontsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 38/100
solidjs/solid-playground#176 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
solidjs/solid-playground#175 ·
Alle Issues in solidjs/solid-playground
Ähnliche Issues
-
Phone app shows Unknown for a remote machine whose key changedEvtl. vergeben @janicduplessis hat das heute übernommen. Offenarea: mobile priority: P3 type: bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
appandflow/stim#5006 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Area - Local to Cloud Bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
microsoft/vscode-mssql#23209 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
code-yeongyu/senpi#5713 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
A-linter
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
oxc-project/oxc#28783 ·
Maintainer antworten meist innerhalb von 1 Tag
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 84/100
lingdojo/kana-dojo#33553 · 1 Kommentar · 5 Reaktionen ·
Maintainer antworten meist innerhalb von 1 Tag