Inbox: comment on an https:// prototype (hosted preview behind sign-in)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- node.js, typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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).
- Ngôn ngữ chính
- TypeScript
- Star
- 8.7k
- Fork
- 649
- Merge trung bình
- 16 giờ 1 phút
- Pull request đã merge (30 ngày)
- 756
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của backnotprop/plannotator
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
backnotprop/plannotator#4132 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
backnotprop/plannotator#4051 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
backnotprop/plannotator#4000 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PR description is hidden when a PR review opens on a phoneCó thể đã có người làm @flipcyde101 đã nhận 8 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
backnotprop/plannotator#3667 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
backnotprop/plannotator#2643 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của backnotprop/plannotator
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
review-followup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
griffinwork40/agent-afk#5387 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CodeManufactoryLLC/Code60#358 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
android:plan ios:plan main:plan packages:learn
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày