Skip to content

Smart expand/collapse controls #39

@parsapanahpoor

Description

@parsapanahpoor
  • Issue Title: Implement smart expand/collapse controls for JSON tree
  • Description:
    Improve the expand/collapse behavior with global controls (expand/collapse all) and a configurable default depth, so complex JSON structures remain manageable and fast to explore.
  • Tasks:
    • Add "Expand all" and "Collapse all" actions (optional UI buttons).
    • Add a parameter for default expansion depth (e.g., DefaultExpandDepth).
    • Ensure expand/collapse operations are efficient for large JSON.
    • Preserve expand/collapse state when possible (e.g., when re-rendering with same data).
    • Update documentation with examples for configuration.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions