No path for plain HTML / static sites - picker assumes a framework you might not have

Aperta
#870 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript

Direzione di ricerca

Inizia dal selettore dei framework e dalla griglia degli SDK della procedura guidata di configurazione, quindi segui il percorso verso la documentazione di installazione descritto nell’issue. Il lavoro è completato quando gli utenti di semplice HTML possono identificare e raggiungere lo snippet JavaScript senza supposizioni sui framework e le etichette o le indicazioni pertinenti spiegano chiaramente quel percorso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Situation:

Followed the install docs to the wizard for a plain HTML site (a static GitHub Pages portfolio - no framework). The opening screen offers two routes, a GitHub PR or a terminal command, and neither fits. In the terminal, the framework picker has no "plain HTML / static site" option, so a first-time user with a static site ends up staring at a list where nothing applies.

Solutions:
My correct path turned out to be the JS snippet - a single paste into the head. Technically that lives behind the "Web" tile in the SDK grid, but nothing tells you that. If I see "Web" I think React, JavaScript, Java - something more technical - not "here's the JS snippet you need for your HTML." Every option in that grid is the web, so the label only makes sense once you already know the SDK taxonomy, which is exactly the person who doesn't need the signpost. I only worked it out by digging through the docs afterwards.

Image

Concern/Effect:

Static sites are a really common first-contact case - portfolios, landing pages, docs sites. Right now that entire group gets routed into a tool that can't help them, with no signpost to the correct tool for their use case. Which might make them bounce off first instinct if not presented with the options. The options are there in the docs, but you have to go digging for it, which shouldn't be the case when it comes to first touch onboarding.

Image

Set Up Manually, brings you to SDK's which, again, may not be appropriate for the use case. Also, depending on where you are on the technical ladder "set up manually" could be a bit ambiguous. For some people it could be running and configuring within terminal, for others it would be manually placing a snippet into preexisting html. SDK's might not be what people jump to.

Image

Suggested fix:
A "None of these / plain HTML site" option in the picker, and renaming or subtitling the "Web" tile so it says what it is - e.g. "HTML snippet (any website)". Even just a line of text under the wizard command in the docs would do most of the work.

Lingua principale
TypeScript
Stelle
208
Fork
58
Merge medio
2g 7h
PR unite (30g)
76

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PostHog/wizard

Tutte le issue di PostHog/wizard

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.