hub-client: `<script>` and hover handlers in `{=html}` blocks don't run in the preview
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by tracing how the hub-client renders {=html} blocks in the preview and how that path handles scripts and event handlers. Check the raw HTML safety work in #167 and the related approach in #986 before choosing a direction. Done means either scripts and hover handlers work safely in previews or a supported sandboxed way to embed interactive prototypes is available.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
In the preview, <script> tags and hover handlers inside a {=html} block don't run. Only inline onclick handlers work.
Request
Let scripts in raw HTML blocks run in the preview, or, if that isn't safe, offer a supported way to embed an interactive prototype (for example a sandboxed iframe).
Impact
I write design docs that compare small UI prototypes, such as two variants of a picker. Reviewers need to hover and click through them to give useful feedback. Without scripts, I'm limited to static screenshots, and the most useful part of the review happens outside the doc.
Related
- #43 (raw HTML safety, subsumed by #167)
- #986 (serving project HTML files, another way to share a prototype)
- Lingua principale
- Rust
- Stelle
- 283
- Fork
- 20
- Merge medio
- 19h 28m
- PR unite (30g)
- 174
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di quarto-dev/q2
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
quarto-dev/q2#957 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
quarto-dev/q2#988 ·
I maintainer di solito rispondono entro 1 giorno
-
q2 mcp: can't upload a full-size screenshot because images go through the conversation as base64Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 54/100
quarto-dev/q2#987 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
quarto-dev/q2#986 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
quarto-dev/q2#984 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di quarto-dev/q2
Issue simili
-
spurctld: a user with no usage gets a lower fair-share factor than a user with a little usageAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
area:ci kind:bug priority:p3 ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
srikanth235/centraid#1155 ·
I maintainer di solito rispondono entro 1 giorno
-
dotfiles: failed batch untrack removes earlier tracking declarationsForse già presa @jdx l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni