Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat: configurable state inspector page size and stable ordering when showing more object properties

オープン
#1,143 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
devtools, frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

https://github.com/vuejs/devtools/blob/v7.7.7/packages/applet/src/components/state/StateFieldViewer.vue

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.

主要言語
TypeScript
スター
2.9k
フォーク
289
平均マージ
2日 48分
マージ済み PR(30日)
19

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

vuejs/devtools のほかの issue

vuejs/devtools の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。