🐛(Bug) Interlinking mentions create link traces on docs the user never opened
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python, typescript
Línea de trabajo
Start with retrieve in src/backend/core/api/viewsets.py and follow the title lookups in LinkSelected.tsx and src/frontend/apps/impress/src/features/docs/doc-export/utils.ts. Check how those calls differ from opening a document page. Done means title lookups no longer create visit traces, while opening a document still records one.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
retrieve records a LinkTrace on the first GET /documents/{id}/ of every authenticated user:
https://github.com/suitenumerique/docs/blob/74608c95633636a132ce97424774bd9a715c31bb/src/backend/core/api/viewsets.py#L733-L737
Interlinking calls it only to show the title of a mentioned doc, in the editor (LinkSelected) and on export (resolveInterlinkTitles). So reading a doc that mentions a public or authenticated-reach doc adds that doc to the reader's doc list as noise, and fills the table with traces nobody needs.
Suggested fix: add an opt-out on retrieve (e.g. ?trace=false) used by these title lookups, so that only opening the doc page records a visit; or a lightweight title lookup endpoint, like the dedicated action proposed in #2868.
- Lenguaje dominante
- TypeScript
- Estrellas
- 17k
- Forks
- 705
- Merge medio
- 4 d 13 h
- PR fusionados (30 d)
- 47
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una 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 suitenumerique/docs
-
🐛(Bug) Helm chart is published from a push to any branch, not only mainPosiblemente ocupada @RoeeSivan la tomó hace 1 día. AbiertoAI generated CI helm
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
suitenumerique/docs#3049 ·
Los mantenedores suelen responder en 3 días
-
🐛(Bug) Preview comment missing when a PR is opened or labelled with a conflictPosiblemente ocupada @RoeeSivan la tomó hace 1 día. AbiertoCI preview
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
suitenumerique/docs#3039 ·
Los mantenedores suelen responder en 3 días
-
AI generated frontend
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
suitenumerique/docs#3030 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
🐛(Bug) Block menu shows an orphan separator on blocks without colors (math, diagram)Posiblemente ocupada @arxh80 la tomó hace 8 días. Abiertofrontend good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
suitenumerique/docs#3021 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
frontend
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
suitenumerique/docs#3018 · 1 comentario ·
Los mantenedores suelen responder en 3 días
Todos los issues de suitenumerique/docs
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
siyuan-note/siyuan#21692 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
GetStream/stream-chat-react#3467 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
resend/resend-node#1206 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
cloudflare/cloudflare-typescript#2821 ·