Skip to content

feat(nodepod): add browser workspace demo#973

Open
wyf027 wants to merge 1 commit into
mainfrom
codex/nodepod-demo-20260709-173454
Open

feat(nodepod): add browser workspace demo#973
wyf027 wants to merge 1 commit into
mainfrom
codex/nodepod-demo-20260709-173454

Conversation

@wyf027

@wyf027 wyf027 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a Nodepod browser workspace demo under project/nodepod-demo
  • include file explorer, Monaco editor, multi-terminal, preview, and resizable grid panels
  • add local ignore rules for generated dist and node_modules

Validation

  • npx prettier --write project/nodepod-demo/index.html project/nodepod-demo/package.json project/nodepod-demo/src/main.jsx project/nodepod-demo/src/styles.css project/nodepod-demo/vite.config.js
  • npm ci
  • npm exec vite -- build
  • bash ~/.cursor/skills/git-commit/scripts/run-audit.sh
  • npm audit --audit-level=high

Note: npm audit --audit-level=high exits successfully; npm still reports low/moderate advisories in the Monaco/DOMPurify dependency chain. npm audit fix --force would apply a breaking Monaco version change, so it was not run.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f54cf7a694

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1234 to +1236
const selectedNode =
findFileNode(nodes, selectedFilePathRef.current) ??
findFileNode(nodes, firstFilePath(nodes));

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Refresh the editor when the selected file disappears

When refreshFileSystem({ preserveEditor: true }) runs after a terminal command or watcher event deletes/renames the selected file, this fallback selects a different file but the preserved-editor path skips openFile, so selectedFilePathRef and editorValue still point to the removed file while the UI title changes. A later Save or restart can silently recreate/overwrite the old path instead of editing the displayed file; handle the “selected file missing” case by clearing the editor or opening the fallback even when preserving normal editor contents.

Useful? React with 👍 / 👎.

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