Skip to content

Add visual .env editor with folders, icons, and colors#46

Merged
TopProjectsCreator merged 1 commit into
mainfrom
codex/add-ui-for-managing-.env-files
Mar 25, 2026
Merged

Add visual .env editor with folders, icons, and colors#46
TopProjectsCreator merged 1 commit into
mainfrom
codex/add-ui-for-managing-.env-files

Conversation

@TopProjectsCreator
Copy link
Copy Markdown
Owner

Motivation

  • Provide a visual editor for .env files so users can manage secrets with friendly metadata (name, key/value, icon, color) and organize them into named folders.
  • Persist UI metadata alongside standard KEY=value lines so metadata round-trips with the file while keeping files compatible with existing tools.

Description

  • Added a new EnvFileEditor component at src/components/ide/EnvFileEditor.tsx that implements folder management and secret cards with fields for name, key, value, icon, and color.
  • Implemented parsing and serialization that stores metadata in comment records prefixed with # code-canvas: while preserving normal KEY=value lines in the .env content.
  • Wired CodeEditor (src/components/ide/CodeEditor.tsx) to import EnvFileEditor and route .env and .env.* files to the visual editor instead of the plain text preview.
  • Added UI affordances for creating/deleting folders and secrets and selecting icons/colors using existing UI primitives (Button, Input, Select, ScrollArea, lucide icons).

Testing

  • Ran the production build with npm run build, which completed successfully.

Codex Task

@TopProjectsCreator TopProjectsCreator added the codex This has been or will be assigned to codex for development label Mar 25, 2026 — with ChatGPT Codex Connector
@TopProjectsCreator TopProjectsCreator merged commit 3799e15 into main Mar 25, 2026
1 check failed
TopProjectsCreator added a commit that referenced this pull request Mar 30, 2026
…ing-.env-files

Add visual .env editor with folders, icons, and colors
TopProjectsCreator added a commit that referenced this pull request Mar 30, 2026
…ing-.env-files

Add visual .env editor with folders, icons, and colors
@TopProjectsCreator TopProjectsCreator deleted the codex/add-ui-for-managing-.env-files branch March 30, 2026 18:34
TopProjectsCreator added a commit that referenced this pull request Apr 15, 2026
…ing-.env-files

Add visual .env editor with folders, icons, and colors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex This has been or will be assigned to codex for development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant