Skip to content

Conversation

@xbinaryx
Copy link
Contributor

Prerequisites checklist

What is the purpose of this pull request?

This PR simplifies the AST tree view by removing the accordion behavior for non-array nodes while maintaining it for array items.

What changes did you make? (Give an overview)

  • Removes the collapsible behavior for regular AST nodes
  • Keeps the accordion functionality for array items

Related Issues

Closes #71

Is there anything you'd like reviewers to focus on?

@netlify
Copy link

netlify bot commented Apr 18, 2025

Deploy Preview for eslint-code-explorer ready!

Name Link
🔨 Latest commit 6b283c4
🔍 Latest deploy log https://app.netlify.com/sites/eslint-code-explorer/deploys/68026f777c8fac00087664a0
😎 Deploy Preview https://deploy-preview-91--eslint-code-explorer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Would like another review before merging. @pkerschbaum would love your thoughts on this.

Copy link
Contributor

@patricktree patricktree left a comment

Choose a reason for hiding this comment

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

LGTM, really good improvement 👍

(in the future we should address the duplication we have here and in other places)

@nzakas nzakas merged commit 5917850 into eslint:main Apr 21, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggestion: use one level accordions for items inside the right pane

3 participants