Files
open-design/plugins/_official/design-systems/friendly/open-design.json
T
lefarcenandGitHub da7c4ae051 fix(web): rank Community "Newest" by shipped publishedAt, not local install timestamps (#5597)
* fix(web): rank Community "Newest" by shipped publishedAt, not local install timestamps

The Community gallery Newest toggle sorted by the installed-record
updatedAt/installedAt. Those are stamped when a machine seeds its own
database, so a fresh install (or an upgrade that re-stamps the catalog)
writes the whole bundled catalog milliseconds apart in folder-walk
order — Newest showed reverse walk order (roughly reverse-alphabetical),
unrelated to publication recency.

Root-cause fix: bundled templates now ship a real publication date.

- packages/contracts: add optional manifest field publishedAt (ISO 8601).
- apps/web sortByNewest: freshness = publishedAt when parseable, else
  updatedAt (right signal for user-installed plugins); tie-breaks and
  stability unchanged.
- plugins/_official: backfill publishedAt into all 460 bundled manifests
  from each folder's first-appearance commit date in upstream git
  history.
- e2e: repository-resource guard requiring every bundled manifest to
  declare a parseable publishedAt, so the signal cannot silently erode.
- docs: field reference entries in plugins-spec (en + zh-CN).

Issue: https://plane.powerformer.net/open-design/projects/49832a02-3158-4faf-bf2f-d0e39c40c7e6/issues/ca0778af-97f5-4fc0-bc63-739280904979

Generated-By: looper 0.0.0-dev (runner=worker, agent=claude-code)

* worker: 模板用最新筛选,筛选出来的不是最新的

Generated-By: looper 0.0.0-dev (runner=worker, agent=claude-code)

* fix(web): keep shipped appeal order inside same-publishedAt batches

Review follow-up (#5597, nettee): after the freshness tie on an equal
publishedAt, the comparator still consulted local updatedAt/installedAt,
which a fresh install stamps in folder-walk order — so every
same-publication batch (largest: 322 manifests on one catalog date)
re-sorted per machine instead of keeping the shipped visual-appeal
ranking. Same-publishedAt records now preserve their incoming position;
local timestamps break ties only when at least one side has no usable
publishedAt. Adds the requested regression spec pinning
same-publishedAt / different-updatedAt records.

Generated-By: looper 0.0.0-dev (runner=worker, agent=claude-code)

* fix(web): gate publishedAt freshness to bundled records; untrack oversized looper attachment

Review follow-up (#5597, nettee round 2): publishedAt was overriding
updatedAt for every visible plugin, so a user-installed github/local/
marketplace plugin carrying an old manifest publishedAt would be buried
behind bundled templates despite a newer local install. publishedAtMs
now returns null for non-bundled records — "Newest" means install
recency for user installs, catalog publication for bundled ones. Adds
the requested regression (non-bundled, old publishedAt, newer
updatedAt) and clarifies the field docs (en + zh-CN).

CI repair: commit 578f7a9 tracked .looper-attachments/bug13_1.png
(3.8MB bug screenshot), tripping the Static gate 1MiB blob guard and
the Validate workspace aggregate. Untrack it and gitignore
.looper-attachments/ so harness attachments stay out of the repo.

Generated-By: looper 0.0.0-dev (runner=worker, agent=claude-code)
2026-07-14 08:43:57 +00:00

114 lines
4.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"$schema": "https://open-design.ai/schemas/plugin.v1.json",
"specVersion": "1.0.0",
"name": "design-system-friendly",
"title": "Friendly",
"title_i18n": {
"zh-CN": "友好",
"zh-TW": "友善",
"ja": "フレンドリー",
"ko": "친근함",
"de": "Freundlich",
"fr": "Convivial",
"ru": "Дружелюбный",
"es": "Amigable",
"pt-BR": "Amigável",
"it": "Amichevole",
"vi": "Thân thiện",
"pl": "Przyjazny",
"id": "Ramah",
"nl": "Vriendelijk",
"ar": "ودود",
"tr": "Dostça",
"uk": "Дружній",
"en": "Friendly"
},
"version": "0.1.0",
"publishedAt": "2026-05-12T07:18:16Z",
"description": "Approachable, intuitive design with rounded elements, ample whitespace, and soft pastel color palettes.",
"description_i18n": {
"zh-CN": "亲和直观的设计,采用圆角元素、充足留白和柔和的粉彩配色。",
"zh-TW": "親切直覺的設計,採用圓角元素、充足留白和柔和的粉彩配色。",
"ja": "親しみやすく直感的なデザイン。丸みを帯びた要素、十分な余白、柔らかなパステルカラーを使用。",
"ko": "둥근 요소, 충분한 여백, 부드러운 파스텔 컬러 팔레트로 구성된 친근하고 직관적인 디자인.",
"de": "Zugängliches, intuitives Design mit abgerundeten Elementen, großzügigem Weißraum und sanften Pastellfarben.",
"fr": "Design accessible et intuitif avec des éléments arrondis, des espaces généreux et des palettes de couleurs pastel douces.",
"ru": "Доступный и интуитивный дизайн со скругленными элементами, обилием свободного пространства и мягкими пастельными цветами.",
"es": "Diseño accesible e intuitivo con elementos redondeados, amplio espacio en blanco y paletas de colores pastel suaves.",
"pt-BR": "Design acessível e intuitivo com elementos arredondados, amplo espaço em branco e paletas de cores pastel suaves.",
"it": "Design accessibile e intuitivo con elementi arrotondati, ampio spazio bianco e palette di colori pastello tenui.",
"vi": "Thiết kế gần gũi, trực quan với các phần tử bo tròn, khoảng trắng rộng rãi và bảng màu pastel nhẹ nhàng.",
"pl": "Przystępny, intuicyjny projekt z zaokrąglonymi elementami, dużą ilością białej przestrzeni i delikatnymi pastelowymi kolorami.",
"id": "Desain yang mudah didekati dan intuitif dengan elemen membulat, ruang putih yang luas, dan palet warna pastel lembut.",
"nl": "Toegankelijk, intuïtief ontwerp met afgeronde elementen, ruime witruimte en zachte pastelkleuren.",
"ar": "تصميم سهل الاستخدام وبديهي مع عناصر مستديرة ومساحات بيضاء واسعة ولوحات ألوان باستيل ناعمة.",
"tr": "Yuvarlatılmış öğeler, bol boşluk ve yumuşak pastel renk paletleriyle ulaşılabilir, sezgisel tasarım.",
"uk": "Доступний та інтуїтивний дизайн із закругленими елементами, достатнім білим простором і м'якими пастельними кольорами.",
"en": "Approachable, intuitive design with rounded elements, ample whitespace, and soft pastel color palettes."
},
"license": "MIT",
"tags": [
"design-system",
"first-party",
"design",
"creative-artistic"
],
"od": {
"kind": "scenario",
"taskKind": "new-generation",
"mode": "design-system",
"scenario": "design",
"surface": "web",
"useCase": {
"query": {
"en": "Generate a {{artifactKind}} using the Friendly design system. Stay faithful to its colour palette, typography, spacing, iconography, and component vocabulary as documented in DESIGN.md.",
"zh-CN": "使用这个插件完成以下任务:Generate a {{artifactKind}} using the Friendly design system. Stay faithful to its colour palette, typography, spacing, iconography, and component vocabulary as documented in DESIGN.md."
}
},
"inputs": [
{
"name": "artifactKind",
"label": "Artifact kind",
"type": "select",
"options": [
"landing page",
"dashboard",
"marketing site",
"app screen"
],
"default": "landing page"
},
{
"name": "brief",
"label": "Brief",
"type": "text",
"placeholder": "What should the page communicate?"
}
],
"context": {
"designSystem": {
"ref": "friendly",
"primary": true
},
"assets": [
"./DESIGN.md"
]
},
"pipeline": {
"stages": [
{
"id": "generate",
"atoms": [
"file-write",
"live-artifact"
]
}
]
},
"capabilities": [
"prompt:inject",
"fs:write"
]
}
}