[BUG] dcc.Upload contents and dcc.Geolocation position docstrings describe the wrong value format
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- python, react
- Área
- documentation, frontend
Línea de trabajo
Update the dcc.Upload.contents and dcc.Geolocation.position docstrings in the cited component files: components/dash-core-components/src/components/Upload.react.js and src/components/Geolocation.react.js. Read the current wording alongside the behavior cited in the issue, then check the generated Python help for both components. Done when the help describes contents as a base64 data URL and unavailable position fields as null (None in Python); pull request #4126 is already open.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe your context
Current dev (dash 4.5.0). Docs only; no specific browser or OS.
Describe the bug
Two dcc prop docstrings describe a value format the component does not produce. Both reach users through the generated Python help (help(dcc.Upload), help(dcc.Geolocation)).
-
dcc.Upload.contentssays "The contents of the uploaded file as a binary string" (components/dash-core-components/src/components/Upload.react.js:29). The component reads every file withreader.readAsDataURL(file)(src/fragments/Upload.react.js:189) and passesreader.resultthrough unchanged (:173), socontentsis a base64 data URL (data:<mime type>;base64,<data>), which callbacks have to split and base64-decode. -
dcc.Geolocation.positionsays the optional fields are included "when available, otherwise it will be NaN" (src/components/Geolocation.react.js:122). The component sets each field with?? null(:59-65), so an unavailable value arrives asnull(Nonein a Python callback), not NaN.
Expected behavior
contents: "The contents of the uploaded file as a base64 encoded data URL (data:<mime type>;base64,<data>)".position: "... otherwise it will be null (Nonein Python)".
I'm happy to send the PR for both lines.
(Found and written up with AI assistance, Claude Code; the cited lines were checked against dev.)
- Lenguaje dominante
- Python
- Estrellas
- 24.5k
- Forks
- 2.3k
- Merge medio
- 3 d 7 h
- PR fusionados (30 d)
- 30
Preparar el entorno
- Sin Dockerfile ni 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 plotly/dash
-
P2 plotly-internal size: 1 task
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Extract graph schema validation into properly named testPosiblemente ocupada @Nice6042 la tomó hace 90 días. Abiertogood first issue P3 size: 1 task
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
plotly/dash#3735 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
[BUG] Patch.update mutates a shared mapping and rewrites earlier mergesPosiblemente ocupada @peterolkhov la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
[BUG] dcc.Dropdown: virtualized list keeps the height measured at opening when options grow while the menu is openPosiblemente ocupada @KoolADE85 la tomó hace 2 días. Abiertobug P3 size: 1
plotly/dash#4131 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[BUG] `set_props` streamingPosiblemente ocupada @BSd3v la tomó hace 5 días. Abiertobug P3 size: 1
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
plotly/dash#4127 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de plotly/dash
Issues similares
-
[BUG] HTTP lifecycle dispatch treats a NO_PROXY-only environment as corporate egress and skips the resolve-and-pinned sessionPosiblemente ocupada @bodapatisaikrishna la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
[integration]: NoMacSandboxAbiertoexternal
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
langchain-ai/docs#7652 ·
Los mantenedores suelen responder en 1 día
-
[oblt-aw][autodoc] Document new e2e-secret-leak-artifacts workflow and update e2e-all leaf listAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
elastic/oblt-aw#2513 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
amd/gaia#7326 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
NCAR/CLM-Tutorial#113 · 1 comentario ·
Los mantenedores suelen responder en 1 día