Skip to content

Improve file creation UX in FileExplorer#7

Merged
KoStard merged 1 commit intomainlinefrom
claude/sharp-sutherland
Mar 30, 2026
Merged

Improve file creation UX in FileExplorer#7
KoStard merged 1 commit intomainlinefrom
claude/sharp-sutherland

Conversation

@KoStard
Copy link
Copy Markdown
Owner

@KoStard KoStard commented Mar 30, 2026

Summary

  • Auto-appends .forge.js when creating a file with a bare name (e.g. typing "gear" creates "gear.forge.js")
  • Moves the filename input inline into the folder tree — appears inside the target folder on right-click, just like VS Code, instead of at the top of the panel

Test plan

  • Right-click a folder → New File → input appears inside that folder
  • Type "gear" → Enter → file created as "gear.forge.js"
  • Type "utils.js" → Enter → file created as "utils.js" (no double extension)
  • Click "+ File" in header → input appears at root of tree
  • Escape dismisses the input without creating a file

🤖 Generated with Claude Code

- Auto-append .forge.js when user types a bare name without an extension
- Show creation input inline inside the target folder (like VS Code) instead of at the top of the panel

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@KoStard KoStard merged commit 18e22f4 into mainline Mar 30, 2026
1 check failed
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