Guarded .env.local write-back + structured project editor - #2
Merged
Conversation
Re-captured the four gallery screenshots. Two of them changed identity: 03 is now the "New project by hand" dialog (was Settings/Protection) and 04 is now Settings (was "Export a copy"). Rewrote their alt text and captions to match; 01 and 02 were unchanged and left as-is. All four are still 1122x751, so the hardcoded width/height stay correct. Replaced the demo-screenshot Open Graph image with a purpose-built 1200x630 brand card (brand/og-image.png), generated by tools/make-og.ps1 — a sibling of tools/make-icon.ps1 using the same System.Drawing approach, vault-dark palette, and key-bar/masked-dots motif. Repointed og:image and twitter:image, updated og:image:width/height to 1200/630, and rewrote og:image:alt to describe the card. demo.png stays in use by the README and the JSON-LD screenshot list. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This branch adds two app capabilities and finishes with a site/brand polish.
Guarded write-back to
.env*.local(src-tauri,ui)Hand values back out to a
.env*.localfile the user explicitly chooses — merge into an existing file or write fresh — or scaffold one from a.env.example. The write is guarded: it only ever targets a.env*.local(never a committed example file). New backend modulesenvfile.rsandenvpath.rshandle parsing and path validation; surfaced throughcommands.rs/api.js.Build or edit a project by hand (
ui)A structured editor to create or edit a project key by key — with or without an
.envfile — including KEY=value rows with an export toggle, comments, and seeding from a.env.example. Nothing is written to disk unless the user chooses to. Includesselftest.jsandmock.jscoverage.Docs + site
README.mdandindex.htmldocument the.env.localwrite, scaffold, and editor.brand/og-image.png, generated by a newtools/make-og.ps1(a sibling oftools/make-icon.ps1, same System.Drawing approach + vault-dark palette + key-bar/masked-dots motif).og:image/twitter:imagerepointed, dimensions updated to 1200×630, andog:image:altrewritten.demo.pngstays in use by the README and the JSON-LD screenshot list.Notes for reviewers
.env*.localand never an example/committed file. Seeenvpath.rsand the write path incommands.rs.brand/is git-tracked and served at the GitHub Pages root, sohttps://envarsa.dev/brand/og-image.pngresolves once deployed.powershell -File tools\make-og.ps1.🤖 Generated with Claude Code