Landing page extensions link to dashboard_url, sending viewers into the content dashboard
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 52/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- R
- Estrellas
- 10
- Forks
- 8
- Merge medio
- 9 h 43 min
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de posit-dev/connect-extensions
-
enhancement github_actions
Dificultad 3/5 1-2 días Aptitud para principiantes 50/100
posit-dev/connect-extensions#492 ·
-
Bundle storage report with bulk retention-limit management (pins focus)Posiblemente ocupada @kellobri la tomó hace 2 días. Abiertoenhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
posit-dev/connect-extensions#488 · 1 comentario ·
-
documentation
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
posit-dev/connect-extensions#483 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
posit-dev/connect-extensions#477 · 1 comentario ·
-
mcp
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
posit-dev/connect-extensions#467 ·
Todos los issues de posit-dev/connect-extensions
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Remove {watcher} importAbiertocould enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
The-Strategy-Unit/nhp_inputs#758 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
paul-buerkner/brms#1985 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
cull_database_entries() machine_id filter is a no-op due to missing comma in row indexingPosiblemente ocupada @madhavzanwar la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
PecanProject/pecan#4281 ·
Los mantenedores suelen responder en 1 día
-
[R] abandon_ship() looks up `call` with an inheriting get(), so its "no call" guard never firesPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoComponent: R
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día