Inbox: comment on an https:// prototype (hosted preview behind sign-in)
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
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- node.js, typescript
Direzione di ricerca
Start by reading where the Inbox page sets its CSP header (default-src 'self' with no frame-src) and where the live proxy decides which origins it will forward, since both are limited to http://localhost:<port> today. Then look at how config.json is parsed so an inboxPrototypeOrigins allowlist can be added, and at where the proxy's "open" window keeps cookies if a per-origin jar is attempted. Done means an allowlisted https:// preview renders in the frame and element comments post through the proxy; note that proxy-side cookie handling and the hosted sign-in's frame-ancestors 'self' are the hard parts and need a maintainer's design call.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
A question card's Prototype: line accepts an https:// address, but in the Inbox that page can't be shown or commented on:
- The Inbox page sends
default-src 'self'with noframe-src, so Chrome blocks anyhttps://prototype in the frame ("This content is blocked"). - Comments only work on pages loaded through the Inbox's local live proxy, which is limited to
http://localhost:<port>apps. - An app behind a sign-in can't be reviewed through the proxy either. The proxied origin isn't the app's own origin, so its session cookies and its identity provider's redirect don't apply, and most hosted sign-in pages send
frame-ancestors 'self'.
So a staging or preview deployment (e.g. a Cloudflare or Vercel preview URL behind the team's sign-in) can't be reviewed with element comments in the Inbox. The only option is a local dev server on sample data.
Proposal
Let the live proxy take an https:// prototype origin the person allowlists (e.g. inboxPrototypeOrigins in config.json), the way it takes http://localhost:<port> today, so comments work on a hosted preview. Optionally, also let the proxy keep a cookie jar per prototype origin, so a sign-in done once in a full window (the proxy's "open" button) carries into the frame.
Version: plannotator 0.29.3 (Linux server, Inbox reached over Tailscale).
- Lingua principale
- TypeScript
- Stelle
- 8.7k
- Fork
- 649
- Merge medio
- 16h 1m
- PR unite (30g)
- 756
Preparare l'ambiente
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 backnotprop/plannotator
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
backnotprop/plannotator#4132 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
backnotprop/plannotator#4051 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
backnotprop/plannotator#4000 ·
I maintainer di solito rispondono entro 1 giorno
-
PR description is hidden when a PR review opens on a phoneForse già presa @flipcyde101 l’ha presa 8 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
backnotprop/plannotator#3667 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
backnotprop/plannotator#2643 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di backnotprop/plannotator
Issue simili
-
enhancement status:needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
dongdongbh/Mindwtr#1625 ·
I maintainer di solito rispondono entro 1 giorno
-
area/ui-schema good first issue type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
duckdb/duckdb-wasm#2335 ·
I maintainer di solito rispondono entro 1 giorno