hub-client: links to `.html` files and `<iframe>`s don't work in the preview

Aperta
#986 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
html, rust
Ambito
backend

Direzione di ricerca

The issue does not name files, tests, or an entry point. Start by tracing how the hub serves project files in the preview and how document links and \<iframe\> targets are handled. Done means project .html files can be opened through links and embedded in the preview.

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

Descrizione

Summary

Links to .html files and <iframe> elements that point at project files don't work in the preview, because the hub doesn't serve the project's HTML files.

Request

Serve the project's HTML files so they can be linked to and embedded from documents.

Impact

A simple way to share an interactive prototype is to keep a standalone prototype.html in the project and link to it from the design doc. Today that link goes nowhere, so reviewers can't open the prototype from the doc.

Related
  • #985 (scripts in raw HTML blocks)
  • #881 (link validation doesn't check .html targets)
Lingua principale
Rust
Stelle
283
Fork
20
Merge medio
19h 33m
PR unite (30g)
165

Preparare l'ambiente

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 quarto-dev/q2

Tutte le issue di quarto-dev/q2

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.