Nested JSON preview does not accumulate length of sub-objects properly
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 28/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, react, redux
Research direction
Start by reproducing the nested JSON preview with multiple levels of nested objects and compare its displayed length with the expected truncation. Trace the existing preview shortening logic, then verify that each sub-object contributes to the accumulated length and that the ellipsis appears at the intended limit.
Written by the indexing model from the issue text.
Description
There is code present to shorten the display of a nested JSON object by adding "..." but it does not appear to be working correctly when there are multiple levels of nesting:

- Dominant language
- JavaScript
- Stars
- 73
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Automattic/wp-api-console
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Automattic/wp-api-console#120 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
Automattic/wp-api-console#119 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Automattic/wp-api-console#78 ·
-
question
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Automattic/wp-api-console#77 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Automattic/wp-api-console#68 · 3 comments ·
All issues in Automattic/wp-api-console
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
daisy/a11y-meta-viewer#18 ·
-
good first issue status: needs triaging type: bug version: 2.0
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
medusajs/medusa#17094 · 2 comments ·
Maintainers usually reply within 1 day
-
browser: chrome package: @carbon/react package: styles
Difficulty 1/5 Under an hour Newbie friendliness 92/100
carbon-design-system/carbon#23567 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
clerk/javascript#10033 ·
Maintainers usually reply within 1 day
-
bug client p1
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vercel/eve#4173 · 2 comments ·
Maintainers usually reply within 1 day