hub-client: `<script>` and hover handlers in `{=html}` blocks don't run in the preview
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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)
- Lenguaje dominante
- Rust
- Estrellas
- 283
- Forks
- 20
- Merge medio
- 19 h 28 min
- PR fusionados (30 d)
- 174
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de quarto-dev/q2
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
quarto-dev/q2#957 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
quarto-dev/q2#988 ·
Los mantenedores suelen responder en 1 día
-
q2 mcp: can't upload a full-size screenshot because images go through the conversation as base64Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 54/100
quarto-dev/q2#987 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
quarto-dev/q2#986 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 56/100
quarto-dev/q2#984 ·
Los mantenedores suelen responder en 1 día
Todos los issues de quarto-dev/q2
Issues similares
-
bug priority: low ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
storytold/photocraft#10370 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:doc bug in progress needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
bherbruck/solvecraft#9634 · 2 comentarios · 1 reacción ·
-
inflate: total_in uses plain += on c_ulong (32-bit on Windows), panics in debug for streams > 4 GiBAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
trifectatechfoundation/zlib-rs#570 · 1 comentario ·
-
bug discord-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
LanternOps/breeze#10755 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
aranya-project/aranya#803 ·