Landing page extensions link to dashboard_url, sending viewers into the content dashboard
まだ誰も着手していません。
評価
調査の方向性
Read extensions/shiny-landing-page/R/content_hub.R and extensions/quarto-website/content_hub.R, then inspect extensions/shiny-landing-page/tests/testthat/test-content_hub.R and the manifest versions. Check whether standalone /content/<guid>/ gives unauthorized viewers a usable access-denied or request-access page; that result determines the Quarto extension behavior. Done when the links, comment, fixture, and manifest versions reflect the chosen behavior.
索引モデルが issue の本文から書いたものです。
説明
The Custom Landing Page (shiny-landing-page) and Quarto: Content Hub (quarto-website) extensions link each content item to its dashboard_url:
# dashboard_url opens the item inside Connect's own frame, with its title,
# info panel, and sharing controls, rather than bare.
url = content$dashboard_url,
This appears in extensions/shiny-landing-page/R/content_hub.R and extensions/quarto-website/content_hub.R.
A main use for these extensions is as the Server.RootRedirect target, so that viewers land on a curated page instead of the Connect content dashboard. With dashboard_url, every content link takes the viewer into the dashboard, and the ‹ CONTENT breadcrumb there leads straight to the full content list. That defeats the purpose of the redirect.
Proposal
Link to content_url (standalone) instead.
- The landing page itself is viewed standalone, so linking onward to standalone content is consistent.
- The title, info panel, and sharing controls in the dashboard frame matter mostly to publishers and administrators, who can still reach the dashboard at
/connect/. - It matches the behavior of
connectwidgets, which linked to content in standalone mode.
Things to check
- Quarto: Content Hub lists content its publisher can see, so viewers may click items they can't access. Confirm that a standalone
/content/<guid>/gives an unauthorized viewer a usable access-denied or request-access page. If it doesn't, consider keepingdashboard_urlfor that extension, or making the link target configurable. - Update the comment, the
dashboard_urlfixture inextensions/shiny-landing-page/tests/testthat/test-content_hub.R, and the manifest versions.
- 主要言語
- R
- スター
- 10
- フォーク
- 8
- 平均マージ
- 9時間 43分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/connect-extensions のほかの issue
-
enhancement github_actions
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
posit-dev/connect-extensions#492 ·
-
Bundle storage report with bulk retention-limit management (pins focus)対応中かも @kellobri が 2 日前に担当しました。 オープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
posit-dev/connect-extensions#488 · コメント 1 件 ·
-
documentation
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
posit-dev/connect-extensions#483 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
posit-dev/connect-extensions#477 · コメント 1 件 ·
-
mcp
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
posit-dev/connect-extensions#467 ·
posit-dev/connect-extensions の issue をすべて見る
似ている issue
-
could enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
The-Strategy-Unit/nhp_inputs#758 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
paul-buerkner/brms#1985 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
cull_database_entries() machine_id filter is a no-op due to missing comma in row indexing対応中かも @madhavzanwar が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
PecanProject/pecan#4281 ·
メンテナーはふだん 1 日以内に返信
-
[R] abandon_ship() looks up `call` with an inheriting get(), so its "no call" guard never fires対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンComponent: R
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rubenarslan/formr#60 ·