mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-12 04:10:34 +01:00
[PR #137] [MERGED] Display Item Count for Collapsed JSON Nodes #72
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mountain-loop/yaak/pull/137
Author: @otonii
Created: 11/23/2024
Status: ✅ Merged
Merged: 12/3/2024
Merged by: @gschier
Base:
master← Head:feature/code-folding📝 Commits (1)
e713a6cadd codeFolding config for json📊 Changes
1 file changed (+44 additions, -0 deletions)
View changed files
📝
src-web/components/core/Editor/extensions.ts(+44 -0)📄 Description
Feature: Display Item Count for Collapsed JSON Nodes
Description
This PR implements a new feature that displays the number of properties or items in a JSON node when it is collapsed. This helps users quickly understand the amount of information contained in multi-line nodes without needing to expand and count them.
Motivation
Working with large JSON structures can make it difficult to quickly grasp the density of information in each node. This feature aims to improve the user experience by making navigation through complex JSONs more intuitive and efficient.
Key Changes
codeFoldingconfiguration ofCodeMirrorlibrary to support this functionality.Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.