Skip to content

devtools: Implement showing ArrayItems in preview - #44172

Merged
atbrakhi merged 1 commit into
servo:mainfrom
atbrakhi:array-preview-item
Apr 13, 2026
Merged

atbrakhi merged 1 commit into
servo:mainfrom
atbrakhi:array-preview-item

Conversation

@atbrakhi

Copy link
Copy Markdown
Member

implement showing ArrayItems in preview

Testing: Current tests are passing.
Fixes: Part of #36027

image

@atbrakhi
atbrakhi requested review from eerii and gterzian as code owners April 13, 2026 15:29
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 13, 2026
}

const items = [];
for (let i = 0; i < length; i++) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

initially i thought we should use OBJECT_PREVIEW_MAX_ITEMS here but I was wrong. We need to pass the whole length.

@eerii eerii left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! c:

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Apr 13, 2026
@atbrakhi
atbrakhi force-pushed the array-preview-item branch from fd1aa31 to 824f8bc Compare April 13, 2026 15:44
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 13, 2026
@atbrakhi
atbrakhi force-pushed the array-preview-item branch from 824f8bc to 0d0e867 Compare April 13, 2026 15:52
@atbrakhi
atbrakhi added this pull request to the merge queue Apr 13, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 13, 2026
Merged via the queue into servo:main with commit fce9b10 Apr 13, 2026
30 checks passed
@atbrakhi
atbrakhi deleted the array-preview-item branch April 13, 2026 17:06
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 13, 2026
@eerii eerii mentioned this pull request Apr 16, 2026
24 of 37 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants