Skip to content

feat: add complete Fiddle file tree - #11

Draft
icecreamx10 wants to merge 1 commit into
lynx-community:mainfrom
icecreamx10:codex/fiddle-file-tree
Draft

feat: add complete Fiddle file tree#11
icecreamx10 wants to merge 1 commit into
lynx-community:mainfrom
icecreamx10:codex/fiddle-file-tree

Conversation

@icecreamx10

Copy link
Copy Markdown
Collaborator

Summary

  • render Fiddle editor files as an expandable directory tree using the existing Blueprint-style visual language
  • recursively collect the complete editable showcase source tree, including src/main/desktop and src/main/web
  • keep generated output, dependencies, binary files, lockfiles, and oversized text files out of the editor
  • rebuild and expand the tree when switching Gallery showcases
  • keep documentation and text assets available in the tree without displacing the default code panes

Root cause

The showcase loader stopped after two directory levels and capped snapshots at 14 files. The sidebar then rendered the remaining file IDs as a flat list, so deeper sources such as src/main/desktop/* disappeared entirely.

Validation

  • pnpm --dir lynxtron-go exec vitest run src/app/fiddle/runner/workspace-files.test.ts src/app/fiddle/Sidebar/file-tree.test.ts — 4 tests passed
  • pnpm --dir lynxtron-go typecheck — passed
  • pnpm --dir lynxtron-go build — passed with existing Lynx CSS and dynamic require warnings
  • runtime validation with file-explorer and cross-platform-notes: directory expansion/collapse, src/main visibility, and Gallery case switching verified

@changeset-bot

changeset-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5839e4a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@icecreamx10
icecreamx10 force-pushed the codex/fiddle-file-tree branch from b3c49a0 to 5839e4a Compare July 23, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant