[docs] Missing warning redirects
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
- Área
- documentation
Línea de trabajo
Comienza con los cinco puntos de llamada de advertencias vinculados en packages/reactive-element; después inspecciona la sección de advertencias de tiempo de ejecución de la compilación de desarrollo en lit.dev/docs/tools/development/#development-build-runtime-warnings y las redirecciones existentes de /msg/{kind}. Decide si cada advertencia necesita una redirección o un tipo de advertencia vacío, y documenta async-perform-update como opcional. Se considera terminado cuando los tipos de advertencia indicados se gestionan de forma coherente y la documentación del sitio o el comportamiento de redirección elegidos están implementados.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Following warning kinds do not have redirects:
- 'reactive-property-without-getter': https://github.com/lit/lit/blob/462350126d51d56f9211d50db43762d81a8b8ed1/packages/reactive-element/src/reactive-element.ts#L743
- 'no-override-create-property': https://github.com/lit/lit/blob/462350126d51d56f9211d50db43762d81a8b8ed1/packages/reactive-element/src/reactive-element.ts#L872
- 'no-override-get-property-descriptor': https://github.com/lit/lit/blob/462350126d51d56f9211d50db43762d81a8b8ed1/packages/reactive-element/src/reactive-element.ts#L879
- 'async-perform-update': https://github.com/lit/lit/blob/462350126d51d56f9211d50db43762d81a8b8ed1/packages/reactive-element/src/reactive-element.ts#L1354
- this one is also optional and should be documented in https://lit.dev/docs/tools/development/#development-build-runtime-warnings
- 'missing-class-metadata': https://github.com/lit/lit/blob/462350126d51d56f9211d50db43762d81a8b8ed1/packages/reactive-element/src/decorators/property.ts#L117
Either these should have the warning kind replaced with '' in the issueWarning() call if the message accompanying is sufficient, or we should put these on lit.dev.
Tangentially related, I wonder if we should just have a list of all warning kinds on the site, maybe https://lit.dev/docs/tools/development/#development-build-runtime-warnings, as opposed to the /msg/{kind} urls redirecting to middle of docs.
The list of warnings can have summary descriptions. Those that warrant deep dives can then link to the relevant doc.
It's an extra point of maintenance but gives us a place to talk about the reasoning behind these warnings without finding an appropriate place in the doc to include it. It would also allow us to be more liberal about adding a warning kind instead of just '' as we issue warning without needing to have long accompanying messages in the console.
- Lenguaje dominante
- TypeScript
- Estrellas
- 140
- Forks
- 229
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un 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 lit/lit.dev
-
The example for `when` doesn't show that it takes the condition value as a parameterPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Todos los issues de lit/lit.dev
Issues similares
-
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 2/5 1-3 horas Aptitud para principiantes 72/100
vercel-labs/ui#1139 ·
Los mantenedores suelen responder en 1 día
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10Posiblemente ocupada @goranai la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
[Bug] IntegerRange.contains counts a non-integer just above max as inside an inclusive rangeAbiertobot:ai-assisted component:platform-js status:untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
midnightntwrk/platform-js#93 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100