Make it easier to diff against previous versions
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- nuxt, typescript
- Área
- frontend
Línea de trabajo
Start by locating the package page UI described in the issue, especially the version header, diff link, and version sidebar. Trace how the base and target versions are selected and how the diff URL is formed. Done means users can readily compare a package version with its predecessor and understand or change the comparison direction.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the feature
In the current UI it's surprisingly difficult to diff a version against its predecessor:
- If you're viewing the latest version (i.e., the default page) of a package then the diff link is hidden by default, so you first have to navigate to the version you want to compare against, then click the diff link there (which will then default to comparing against latest).
- Things get even trickier for patch versions: To compare the prior version, you again first have to select the prior version, then choose the version you wanted to compare against in the first place.
I can think of a few changes that would reduce the friction:
- Always display the diff link. Hiding it just makes the feature more difficult to discover and doesn't do all that much to unclutter the UI.
- Show base and target version together. The base version (the one you're viewing) is currently displayed and selected in the top right header, while the target version is managed in the lefthand sidebar, which flips the direction of the comparison and URL parts. Showing both versions close to each other helps users understand what they are comparing, and makes it easier to add affordances to change the direction.
- Compare old vs new. When a user selects a target version in the UI and the relation to the base version is clear (e.g. shared semver parts), ensure that the older version becomes the base. UI affordances can still allow users to change the direction explicitly.
- Make the prior version more accessible. If a preceding version can be determined, either default the base to it or show it prominently in the base dropdown.
Additional information
- Would you be willing to help implement this feature?
Final checks
- Read the contribution guide.
- Check existing issues.
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.6k
- Forks
- 533
- Merge medio
- 4 d 13 h
- PR fusionados (30 d)
- 37
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 npmx-dev/npmx.dev
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
a11y front
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
npmx-dev/npmx.dev#2914 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
front i18n
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
npmx-dev/npmx.dev#2831 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
back stale stale-to-close
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
npmx-dev/npmx.dev#2511 · 4 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
front needs discussion ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
npmx-dev/npmx.dev#2275 · 5 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 1 día
Todos los issues de npmx-dev/npmx.dev
Issues similares
-
bug hacktoberfest help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
libredb/libredb-studio#1941 ·
Los mantenedores suelen responder en 1 día
-
chore other
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
alastair-smith/card-games#308 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
paperclipai/paperclip#17379 ·
Los mantenedores suelen responder en 1 día
-
[good first issue, hacktoberfest] 🏯 Hacktoberfest Task - Add new Anime Quote 626 (good-first-issue)Abiertocommunity first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
lingdojo/kana-dojo#33040 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
bug mobile ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día