diff --git a/COMMUNITY_LISTING.md b/COMMUNITY_LISTING.md index e62a7dc..ddb2ec8 100644 --- a/COMMUNITY_LISTING.md +++ b/COMMUNITY_LISTING.md @@ -1,6 +1,6 @@ # Figma Community listing -Everything needed to publish the plugin in Figma Community: the listing text, the assets, the answers to Figma's data security disclosure and the notes for Figma's reviewers. Status: **submitted for review on 2026-10-29** (design-only build). Until Figma approves it, the Community page (https://www.figma.com/community/plugin/1697181748239106841) is private: only the publisher can open it. Publishing happens by hand in the Figma desktop app (2FA on, BasalBit/ReRune publisher profile); see README → [Build and release](README.md#build-and-release). +Everything needed to publish the plugin in Figma Community: the listing text, the assets, the answers to Figma's data security disclosure and the notes for Figma's reviewers. Status: **submitted for review on 2026-10-29** (design-only build); **not approved on 2026-11-26**: Figma asked to remove "Figma" from the cover image and for a privacy policy that names rerune.io, says that text and frame screenshots are sent outside Figma, covers retention and deletion and confirms that uploads happen only when the user starts them. The new images are in `listing/`, and the policy's plugin section is https://rerune.io/privacy#figma-plugin; resubmit once that section is live. Until Figma approves it, the Community page (https://www.figma.com/community/plugin/1697181748239106841) is private: only the publisher can open it. Publishing happens by hand in the Figma desktop app (2FA on, BasalBit/ReRune publisher profile); see README → [Build and release](README.md#build-and-release). | | | |---|---| @@ -29,7 +29,7 @@ With the design-only build, leave out the description's Dev Mode paragraph and e | Category | Design tools (choose the development category only if the Publish modal no longer offers Design tools) | | Price | Free | | Support contact | info@basalbit.com | -| Privacy policy | https://rerune.io/privacy | +| Privacy policy | https://rerune.io/privacy#figma-plugin | | Website and docs | https://rerune.io/figma, https://rerune.io/docs/figma | | Source code | https://github.com/BasalBit/rerune-figma-plugin | | Network access | Restricted: `https://rerune.io/api/` only (manifest `allowedDomains`; `devAllowedDomains` only affects imported development builds) | @@ -59,7 +59,7 @@ The reasoning is the manifest's `networkAccess.reasoning`, word for word; `test/ ## Assets -The images in `listing/` follow the dashboard's /figma page and its share card: the ReRune mark and wordmark, a key tag with the key of the image's own headline, the Bricolage title on an amber tile, the amber field with the airmail edge. The cover is the share card with the scholar stamp; each carousel image shows one of the plugin's real screens (Figma light, the QA one in Figma dark) large enough to read in the carousel. Rendered by `node scripts/listing-art.mjs` from `listing/src/`; capture the screenshots again from the commit you publish (README → [Listing images](README.md#listing-images)). `test/listing.test.ts` checks each image's size and format and that this list names it. +The images in `listing/` follow the dashboard's /figma page and its share card: the ReRune mark and wordmark, a key tag with the image's own listing-only key (`pluginListing_*`), the Bricolage title on an amber tile, the amber field with the airmail edge. The cover is the share card with the scholar stamp; each carousel image shows one of the plugin's real screens (Figma light, the QA one in Figma dark) large enough to read in the carousel. No image text says "Figma" (Figma's branding guidelines; the review of 2026-11-26 asked for it on the cover): the plugin's own screens keep their labels, the cover, headlines, key tags and captions don't use the word. Rendered by `node scripts/listing-art.mjs` from `listing/src/`; capture the screenshots again from the commit you publish (README → [Listing images](README.md#listing-images)). `test/listing.test.ts` checks each image's size and format and that this list names it. - [x] Icon, 128 × 128 PNG: `listing/icon-128.png` (the ReRune mark in white on the app icon's navy) - [x] Cover (thumbnail), 1920 × 1080 PNG: `listing/cover-1920x1080.png` @@ -86,7 +86,7 @@ Answers for Figma's data security disclosure (optional, reviewed by Figma, shown - In the bunny.net Storage zone (Germany, EU, without replication), stored under the project and screenshot IDs, only image files: with "Upload frame screenshots" on (the default) and the file's Figma link saved, the image of each top-level frame changed by a push or an update from ReRune, and, on a push or **Upload screenshots**, of each reviewed top-level frame with linked keys that has no screenshot in ReRune yet; and, whatever that setting says, the image of each frame ReRune requested when the user chooses **Update screenshots**. A newer upload of the frame replaces the image. Sandbox accounts never upload images. - In the Figma file (shared plugin data, stored by Figma): each linked layer's key ID, key name, project ID and a hash of its text; the original text and styles while a preview is shown; the file's ReRune server, project and Figma link; on language copies of frames, a marker with the language, source, variation and the original frame's ID; and, only when the Diagnostics write test **T1 Mark** is run, a test marker with the layer's ID and the time on the selected layers. - On the device (Figma `clientStorage`): the plugin token with the account's name and email, preferences (including sample values for placeholders), and, in the full build only, a cache of key names, placeholders and up to 60 characters of source text for Dev Mode's Code section (the design-only build keeps no such cache). - - Retention: Figma data stays with its ReRune project. Deleting a key removes its links, disconnecting a file in the project's Figma settings removes the file's links and screenshots, and deleting a project removes all of its Figma data; a background job deletes removed images from storage. Details: . + - Retention: Figma data stays with its ReRune project. Deleting a key removes its links, disconnecting a file in the project's Figma settings removes the file's links and screenshots, and deleting a project removes all of its Figma data; a background job deletes removed images from storage. Details: . 9. **Who can access it?** People who can open the ReRune project, according to their ReRune permissions (screenshots are shown in the dashboard through signed links that expire), and BasalBit for operating the service. 10. **How are updates managed?** The source is public on GitHub (). GitHub Actions runs type checks, lint and tests and builds the release zips on every push to `main` and every pull request; BasalBit publishes each release by hand from the Figma desktop app with 2FA, and records it in `CHANGELOG.md`. @@ -109,9 +109,10 @@ Answers for Figma's data security disclosure (optional, reviewed by Figma, shown - [ ] Production acceptance passed and recorded (`TESTING.md` §9): server and dashboard deployed, Network check and pairing against production, a push, a preview and a screenshot upload, all in Figma desktop (it is the only place an unpublished build runs). - [ ] Build chosen (see [Which build to publish](#which-build-to-publish)). For the full build, S14 is answered in `TESTING.md` §8.2. - [x] Icon and cover replaced. +- [x] No cover, headline, key tag or caption says "Figma" (re-rendered on 2026-11-26 after Figma's review). - [ ] Carousel images taken from the commit you publish (`node scripts/listing-art.mjs capture`, then `render`; capture puts back the build that was in place); with the design-only build, leave out `carousel-5-dev-mode.png`. - [ ] Last, the release build is the CI artifact of the commit you publish (`rerune-figma-plugin-design-only` or `rerune-figma-plugin`) or the same command run locally, placed where Figma desktop imported the plugin from and checked with `node scripts/check-build.mjs` (README → Build and release, step 2). -- [ ] https://rerune.io/privacy and https://rerune.io/docs/figma are live, and the data security answers above still match. +- [ ] https://rerune.io/privacy#figma-plugin (the policy's plugin section: names rerune.io, what leaves Figma and when, user-started uploads, retention and deletion) and https://rerune.io/docs/figma are live, and the data security answers above still match. - [ ] Ops confirmed that the production bunny.net Storage zone is in Germany with no replication regions (answers 4 and 8 and the dashboard's legal pages say so; only the dev zone has been checked). Name the city in answers 4 and 8 only after that. - [ ] Decide how reviewers sign in (a free account as above, or a test account BasalBit creates; never commit its password). - [ ] After approval: run the post-publish smoke test (`TESTING.md` §10: the published build in browser Figma, and in Figma for VS Code for the full build), merge the dashboard's draft PR [BasalBit/rerune-dashboard#57](https://github.com/BasalBit/rerune-dashboard/pull/57) (it sets `figmaCommunityPluginUrl`) and deploy it, add the Community link to README → Install, and replace "not yet published" in the `CHANGELOG.md` heading of the released version with the publish date. diff --git a/README.md b/README.md index 425b451..29ba7fb 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,7 @@ Figma does the controls and surfaces; ReRune does identity, data and states. But ## Privacy -The plugin talks only to the ReRune API (the endpoints above), and only while it is open and you use it. It sends the texts you push (with the frame name as the new key's description) and the texts you search for. To find keys that already have a layer's text, it also sends texts it does not push: opening **Push** sends the text of every unlinked text layer in scope and the key names it suggests for them, and the Link dialog and **Link exact matches** send the text of the selected layers (the Link dialog also searches for the first 100 characters of the layer's text). These lookups create nothing in ReRune. The plugin also sends the IDs of the keys it shows (the Dev Mode inspect panel loads the values of the selected layers' keys; the Code section sends nothing). When you paste the file's Figma link, it also sends the file's key, link and name, and for linked layers their layer IDs and the layer, frame and page names. With **Upload frame screenshots** on, a push or an update from ReRune also uploads an image of each frame it changed (and a push or **Upload screenshots** an image of each reviewed frame with linked keys that has no screenshot in ReRune yet; to find those, it sends the frame IDs of the review to ask which have one), with the frame and page names, the positions of the linked layers and, with a ReRune server that supports it, each linked layer's text; ReRune stores the images in its EU image storage and the rest with the project. With such a server the plugin also reads which frames of the file ReRune asks new screenshots of (frame and page names and who asked), and **Update screenshots** uploads those frames the same way, whatever the setting says. Sandbox accounts never upload images. Sign-in pairs the plugin with your ReRune session in the browser; the plugin stores its token only in Figma's local plugin storage on your machine and sends it only to the ReRune API. See the [ReRune privacy policy](https://rerune.io/privacy). +The plugin talks only to the ReRune API (the endpoints above), and only while it is open and you use it. It sends the texts you push (with the frame name as the new key's description) and the texts you search for. To find keys that already have a layer's text, it also sends texts it does not push: opening **Push** sends the text of every unlinked text layer in scope and the key names it suggests for them, and the Link dialog and **Link exact matches** send the text of the selected layers (the Link dialog also searches for the first 100 characters of the layer's text). These lookups create nothing in ReRune. The plugin also sends the IDs of the keys it shows (the Dev Mode inspect panel loads the values of the selected layers' keys; the Code section sends nothing). When you paste the file's Figma link, it also sends the file's key, link and name, and for linked layers their layer IDs and the layer, frame and page names. With **Upload frame screenshots** on, a push or an update from ReRune also uploads an image of each frame it changed (and a push or **Upload screenshots** an image of each reviewed frame with linked keys that has no screenshot in ReRune yet; to find those, it sends the frame IDs of the review to ask which have one), with the frame and page names, the positions of the linked layers and, with a ReRune server that supports it, each linked layer's text; ReRune stores the images in its EU image storage and the rest with the project. With such a server the plugin also reads which frames of the file ReRune asks new screenshots of (frame and page names and who asked), and **Update screenshots** uploads those frames the same way, whatever the setting says. Sandbox accounts never upload images. Sign-in pairs the plugin with your ReRune session in the browser; the plugin stores its token only in Figma's local plugin storage on your machine and sends it only to the ReRune API. See the plugin section of the [ReRune privacy policy](https://rerune.io/privacy#figma-plugin). ## Licence diff --git a/listing/carousel-1-link.png b/listing/carousel-1-link.png index 89e252b..2632582 100644 Binary files a/listing/carousel-1-link.png and b/listing/carousel-1-link.png differ diff --git a/listing/carousel-2-push.png b/listing/carousel-2-push.png index d46bb29..eb42fc6 100644 Binary files a/listing/carousel-2-push.png and b/listing/carousel-2-push.png differ diff --git a/listing/carousel-3-preview.png b/listing/carousel-3-preview.png index 4a7413c..57fb54f 100644 Binary files a/listing/carousel-3-preview.png and b/listing/carousel-3-preview.png differ diff --git a/listing/carousel-4-qa.png b/listing/carousel-4-qa.png index ed188bd..e554ef3 100644 Binary files a/listing/carousel-4-qa.png and b/listing/carousel-4-qa.png differ diff --git a/listing/carousel-5-dev-mode.png b/listing/carousel-5-dev-mode.png index 6df968d..b522504 100644 Binary files a/listing/carousel-5-dev-mode.png and b/listing/carousel-5-dev-mode.png differ diff --git a/listing/cover-1920x1080.png b/listing/cover-1920x1080.png index 3bebaa6..602b495 100644 Binary files a/listing/cover-1920x1080.png and b/listing/cover-1920x1080.png differ diff --git a/listing/src/art.html b/listing/src/art.html index 62e72c1..0350473 100644 --- a/listing/src/art.html +++ b/listing/src/art.html @@ -169,29 +169,29 @@

Kasse

Lieferung in 2–3 Tagen, versandkostenfrei

` -const FREE = "Free for designers on every ReRune plan. Nothing is published from Figma." +const FREE = "Free for designers on every ReRune plan. Nothing is published from your designs." -// Each image's key tag is the key of its own headline: the dashboard's /figma keys where the headline is the -// dashboard's, figmaListing_* for headlines only the listing has. +// Each image's key tag is the key of its own headline, a listing-only pluginListing_* key. No image shows the word +// "Figma" (Figma's branding guidelines for Community listings; the 2026-11-26 review asked for it on the cover). const ART = { "icon-128.png": (paths) => `
${mark(paths.small, 99)}
`, "cover-1920x1080.png": (paths) => - card("cover", { keyTag: "figmaLanding_title", heading: "Link Figma text to real keys.", kicker: "ReRune for Figma", support: FREE }, + card("cover", { keyTag: "pluginListing_title", heading: "Link design text to real keys.", kicker: "ReRune for design files", support: FREE }, stamp(paths, { left: 124, top: 345, rotate: 4, scale: 1.3 }), paths), "carousel-1-link.png": (paths) => - card("slide", { keyTag: "figmaLanding_stepLink_title", heading: "Link layers to keys", kicker: "Layers", support: "Scan a page, then link text layers to existing keys, by search or exact text, or name new keys after your project's pattern." }, + card("slide", { keyTag: "pluginListing_link_title", heading: "Link layers to keys", kicker: "Layers", support: "Scan a page, then link text layers to existing keys, by search or exact text, or name new keys after your project's pattern." }, print("layers-light"), paths), "carousel-2-push.png": (paths) => - card("slide", { keyTag: "figmaLanding_stepPush_title", heading: "Push copy as drafts", kicker: "Push", support: "Review every change before it leaves Figma. Texts changed in both places wait for your decision; publishing stays in ReRune." }, + card("slide", { keyTag: "pluginListing_push_title", heading: "Push copy as drafts", kicker: "Push", support: "Review every change before it leaves your file. Texts changed in both places wait for your decision; publishing stays in ReRune." }, print("push-light"), paths), "carousel-3-preview.png": (paths) => - card("slide", { keyTag: "figmaLanding_stepPreview_title", heading: "Preview every language", kicker: "Preview", support: "Show any project language on the canvas, draft or published, with regional fallbacks. Reset restores the original text." }, + card("slide", { keyTag: "pluginListing_preview_title", heading: "Preview every language", kicker: "Preview", support: "Show any project language on the canvas, draft or published, with regional fallbacks. Reset restores the original text." }, print("preview-light", { scale: 1.6, left: 266 }) + canvas({ left: 26, top: 600 }), paths), "carousel-4-qa.png": (paths) => - card("slide", { keyTag: "figmaListing_qa_title", heading: "Catch overflow before it ships", kicker: "QA", support: "An overflow report per language finds clipped, truncated and overflowing text, and values longer than their key allows." }, + card("slide", { keyTag: "pluginListing_qa_title", heading: "Catch overflow before it ships", kicker: "QA", support: "An overflow report per language finds clipped, truncated and overflowing text, and values longer than their key allows." }, print("qa-dark"), paths), "carousel-5-dev-mode.png": (paths) => - card("slide", { keyTag: "figmaListing_devMode_title", heading: "Keys and snippets in Dev Mode", kicker: "Dev Mode", support: "Developers see the linked keys of a selection with their values in every language, and a snippet for their platform." }, + card("slide", { keyTag: "pluginListing_devMode_title", heading: "Keys and snippets in Dev Mode", kicker: "Dev Mode", support: "Developers see the linked keys of a selection with their values in every language, and a snippet for their platform." }, print("inspect-light", { scale: 1.9, width: 300, height: 480 }), paths), } diff --git a/test/listing.test.ts b/test/listing.test.ts index a99eb29..c62746a 100644 --- a/test/listing.test.ts +++ b/test/listing.test.ts @@ -6,6 +6,7 @@ import { decodeRgb, encodeRgbPng, LISTING_COMMENT, LISTING_IMAGES, readListingFi import { CODEGEN_PLATFORMS } from "../src/codegen/snippets" import { CODEGEN_SOURCE_TEXT_MAX_CHARS } from "../src/shared/constants" import listing from "../COMMUNITY_LISTING.md?raw" +import art from "../listing/src/art.html?raw" import signIn from "../src/ui/screens/sign-in.tsx?raw" import signedIn from "../src/ui/screens/signed-in.tsx?raw" import layersScreen from "../src/ui/screens/layers.tsx?raw" @@ -35,7 +36,7 @@ describe("COMMUNITY_LISTING.md", () => { expect(listing).toContain("| Tagline | Link Figma text to ReRune translation keys, push copy as drafts and preview every language. |") expect(listing).toMatch(/^\| Category \| .+ \|$/m) expect(listing).toContain("| Support contact | info@basalbit.com |") - expect(listing).toContain("| Privacy policy | https://rerune.io/privacy |") + expect(listing).toContain("| Privacy policy | https://rerune.io/privacy#figma-plugin |") expect(listing).toContain("| Source code | https://github.com/BasalBit/rerune-figma-plugin |") }) @@ -198,6 +199,14 @@ describe("listing images", () => { expect(section(listing, "## Before you submit")).toContain("- [x] Icon and cover replaced") }) + it("puts the word Figma in no headline, key tag or caption (Figma's branding guidelines, review of 2026-11-26)", () => { + const texts = art.split("\n").filter((line) => line.includes('card("') || line.startsWith("const FREE")) + expect(texts.length).toBe(7) + for (const line of texts) { + expect(line, line).not.toMatch(/figma/i) + } + }) + it("reads back what it writes, and rejects a damaged PNG", () => { const pixels = [255, 0, 0, 0, 255, 0, 0, 0, 255, 15, 23, 41, 246, 168, 35, 255, 255, 255] const png = encodeRgbPng({ width: 3, height: 2, rgb: Uint8Array.from(pixels) }, { Title: "t" })