toga-ai 1.0.182 → 1.0.183
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@ project: Forwarder
|
|
|
6
6
|
client: shared
|
|
7
7
|
type: feature
|
|
8
8
|
status: active
|
|
9
|
-
updated: 2026-06-
|
|
9
|
+
updated: 2026-06-24
|
|
10
10
|
owners: ["jcardinal"]
|
|
11
11
|
files:
|
|
12
12
|
- forward/design/index.php
|
|
@@ -83,9 +83,21 @@ auto-deploy ("live in a few minutes").
|
|
|
83
83
|
regenerates the stub.
|
|
84
84
|
- **Remove = unlist only** — sets a `hidden` flag in `project.json`; files are **never
|
|
85
85
|
deleted** (explicit owner decision).
|
|
86
|
+
- **Edit version metadata** (`apiEditVersion`) — an "Edit" button on each version row opens
|
|
87
|
+
a modal pre-filled with the version's label, author ("your name"), and notes. Saving
|
|
88
|
+
commits an **updated `project.json` only** — the version id and the hosted `vN/index.html`
|
|
89
|
+
are unchanged, and the redirect stub does not depend on this metadata, so **no stub
|
|
90
|
+
rebuild**. Reuses the existing `isValidVersionId` guard and `postField` length caps (notes
|
|
91
|
+
cap 2000).
|
|
92
|
+
- **Copy URL** — a button on each project card copies the project's main live URL
|
|
93
|
+
(`https://demo.togatech.com/<project>`) to the clipboard via `navigator.clipboard`, with a
|
|
94
|
+
brief "Copied ✓" confirmation.
|
|
86
95
|
- **Copy Claude Design prompt** — one-click copy of the standard self-contained-HTML export
|
|
87
96
|
prompt (the same prompt documented in [static-demo-hosting](static-demo-hosting.md)).
|
|
88
97
|
|
|
98
|
+
The full action set is: `list`, `create-project`, `upload`, `adopt`, `set-latest`,
|
|
99
|
+
`toggle-version`, `edit-version`, `toggle-project` (plus `bootstrap`).
|
|
100
|
+
|
|
89
101
|
### Naming & validation
|
|
90
102
|
|
|
91
103
|
- Folder names auto-normalized to **lowercase kebab-case**, validated against a kebab regex
|
|
@@ -141,6 +153,11 @@ None — internal/shared design-team tool.
|
|
|
141
153
|
`/vN` versioning with a `project.json` manifest + auto-generated latest-pointer stub,
|
|
142
154
|
adopt/unlist actions, `/design` route. Fixed the >1 MB Contents-API empty-content bug
|
|
143
155
|
(raw media type) and the tracked-token leak (env/`.config.php`). (jcardinal)
|
|
156
|
+
- 2026-06-24 — Added **edit-version** (`apiEditVersion`): an Edit button + modal to revise a
|
|
157
|
+
version's label/author/notes, committing `project.json` only (no stub rebuild; reuses
|
|
158
|
+
`isValidVersionId` + length caps). Added a **Copy URL** button on each project card
|
|
159
|
+
(`navigator.clipboard` → `https://demo.togatech.com/<project>`). Both additive; no new
|
|
160
|
+
security surface. (jcardinal)
|
|
144
161
|
|
|
145
162
|
## Related docs
|
|
146
163
|
|
package/package.json
CHANGED