feat: configurable state inspector page size and stable ordering when showing more object properties
Los mantenedores suelen responder en 1 día
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
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Start in packages/applet/src/components/state/StateFieldViewer.vue, especially STATE_FIELDS_LIMIT_SIZE and the plain-object property display path. Reproduce the issue with an object of more than 60 properties whose insertion order differs from alphabetical order. Done means the initial count and “Show more” increment are configurable with 30 as the default, and increasing the limit preserves the existing alphabetical row order.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
In the Vue.js Devtools 7.7.7 Chrome extension, expanding an object in the right-hand state pane initially shows 30 properties. Each "Show more" click reveals another 30, but the newly visible properties are mixed alphabetically into the existing rows instead of appearing at the end. This makes it difficult to keep my place while inspecting large objects.
Requested change
Please make the initial property count and "Show more" increment configurable, with options such as 30, 100, and 200. Keeping 30 as the default would preserve current performance behavior.
Please also consider sorting the complete list of object keys before applying the display limit, so increasing the limit appends the next alphabetically ordered batch without shifting previously displayed rows (when the object itself has not changed).
Source reference
In v7.7.7, packages/applet/src/components/state/StateFieldViewer.vue defines STATE_FIELDS_LIMIT_SIZE = 30. For plain objects, it slices Object.keys(value) to the current limit and then sorts the resulting children.
Example
Inspect a plain object containing more than 60 properties whose insertion order differs from alphabetical order, then expand it and click "Show more". New properties may be inserted above or between previously visible rows.
Alternatives
Repeatedly clicking "Show more" is cumbersome and changes row positions. A configurable larger batch would reduce the number of clicks; sorting before slicing would independently address the changing row positions.
Environment
Vue.js Devtools 7.7.7, Chrome extension.
I searched existing issues and pull requests for "show more", STATE_FIELDS_LIMIT_SIZE, sorting, pagination, and the 30-item limit and did not find a matching request. PR #973 concerns expanding/collapsing nested Pinia structures rather than this pagination behavior.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.9k
- Forks
- 289
- Merge medio
- 2 d 3 h
- PR fusionados (30 d)
- 19
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 vuejs/devtools
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
Los mantenedores suelen responder en 1 día
-
Upgrade Electron to fix ZIP extraction on Node.js 26Posiblemente ocupada @ondrhn la tomó hace 44 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
On the landing site, the "Developer experience" card is redundantQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
vuejs/devtools#975 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 18/100
Los mantenedores suelen responder en 1 día
Todos los issues de vuejs/devtools
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
gnosis/gnosis_vpn#661 ·
Los mantenedores suelen responder en 1 día
-
content-freshness: staleOwnedContent doc comments still say 'complete receipt' (follow-up to #7912)Abiertotriage:bug-verified
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día
-
fix: reject sourceStorage/packagedStorage bucket that differs from the stack default (fail loud)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Eyevinn/open-videocore#1300 ·
Los mantenedores suelen responder en 1 día
-
nextjs-tracking
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
cloudflare/vinext#4390 ·
Los mantenedores suelen responder en 1 día
-
kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
kubernetes-sigs/headlamp#8175 ·
Los mantenedores suelen responder en 2 días