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

Open
#986 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
html, rust
Domain
backend

Research direction

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.

Written by the indexing model from the issue text.

Description

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)
Dominant language
Rust
Stars
302
Forks
22
Avg merge
5h 2m
Merged PRs (30d)
213

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from quarto-dev/q2

All issues in quarto-dev/q2

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.