Skip to content

V1 security enhancement#6

Merged
ShreyPurohit merged 11 commits into
mainfrom
V1-Security-Enhancement
Sep 21, 2025
Merged

V1 security enhancement#6
ShreyPurohit merged 11 commits into
mainfrom
V1-Security-Enhancement

Conversation

@ShreyPurohit
Copy link
Copy Markdown
Owner

@ShreyPurohit ShreyPurohit commented Sep 19, 2025

Added

  • Webview preview with live validation
  • Format Selector in Webview
  • Replace/Skip/Cancel prompt when target items already exist (uses Trash for Replace)
  • Support for JSON file leaves as string file types (e.g., "route": "ts")
  • Safer, remote-ready filesystem via vscode.workspace.fs
  • Tree symbol constants for consistent, readable Unicode output (├──, └──, │)

Changed

  • Plain Text parser is now strict: requires connectors, enforces single root directory, consistent indentation, and ignores the first line as header
  • Plain Text creation asks confirmation before proceeding if input is invalid
  • Formatter outputs readable tree; JSON output reflects new file-leaf format
  • Webview UI modernized (two-column layout, status badge, copy preview, clear input)

Fixed

  • Various encoding issues in tree drawing by using Unicode consistently
  • Type-safe configuration access and better error handling

@ShreyPurohit ShreyPurohit self-assigned this Sep 19, 2025
@ShreyPurohit ShreyPurohit added the enhancement New feature or request label Sep 19, 2025
@ShreyPurohit ShreyPurohit merged commit b330e0a into main Sep 21, 2025
2 checks passed
@ShreyPurohit ShreyPurohit deleted the V1-Security-Enhancement branch May 26, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant