← Commit history

adom-verified, adom-models, adom-footprint-variants now load from adom/component-widgets

John Lauer ·3cefe345fc ·16d ago ·parent 7fc4414
2 files changed +6−6
README.md+3−3
@@ -54,8 +54,8 @@ Five load from adom/component-widgets and take a JSON `src`; adom-stock loads fr | `::adom-molecule{src="..."}` | molecule viewer | | `::adom-heatsink-via{src="..."}` | thermal via layout | | `::adom-symbol-variants{src="..."}` | alternate schematic-symbol layouts (2-column, square, grouped, chip outline), generated in the browser |-| `::adom-footprint-variants{src="..."}` | footprint-variant family (baseline, heatsink vias, 300 µm solder balls, rounded pads), parsed live from the page's `.kicad_mod` files; takes an adom-footprint `variants.json` `src` — loads from john/footprint-widgets |+| `::adom-footprint-variants{src="..."}` | footprint-variant family (baseline, heatsink vias, 300 µm solder balls, rounded pads), parsed live from the page's `.kicad_mod` files; takes an adom-footprint `variants.json` `src` — loads from adom/component-widgets | | `::adom-table{src="..."}` | any JSON array as a filterable, sortable table — generic, not component-specific; `columns` `heading` `filter` `facet` `sort` `dim` `mark` `colorby` | | `::adom-stock{src="/api/pages/OWNER/SLUG/stock"}` | live stock and price at Mouser, DigiKey and LCSC for a hardware page, from the wiki's cached vendor lookups (adom/wiki#186); component pages show it in their sidebar by themselves; `heading` |-| `::adom-verified{src="..."}` | the "verified by" trust mark: big green check, who verified the page and when, per-variant coverage, and the full verification log with evidence; turns amber when a verified file changes; takes the page's `verification.json` — loads from john/component-verification |-| `::adom-models{src="..."}` | every 3D file on a component page as a card: thumbnail, STEP or GLB, etched or unmarked and where the part number sits, what makes it different from its siblings, what it was derived from, a download, and whether the page still serves the file that was described (checked against the file listing, nothing downloaded); previous versions fold away; takes the page's `models.json` (adom/models@1) — loads from john/component-verification |+| `::adom-verified{src="..."}` | the "verified by" trust mark: big green check, who verified the page and when, per-variant coverage, and the full verification log with evidence; turns amber when a verified file changes; takes the page's `verification.json` — loads from adom/component-widgets |+| `::adom-models{src="..."}` | every 3D file on a component page as a card: thumbnail, STEP or GLB, etched or unmarked and where the part number sits, what makes it different from its siblings, what it was derived from, a download, and whether the page still serves the file that was described (checked against the file listing, nothing downloaded); previous versions fold away; takes the page's `models.json` (adom/models@1) — loads from adom/component-widgets |
widgets.json+3−3
@@ -54,7 +54,7 @@   {     "name": "adom-footprint-variants",     "mode": "frontend",-    "script": "https://wiki.adom.inc/john/footprint-widgets/render/widgets/footprint-variants-widget.js",+    "script": "https://wiki.adom.inc/adom/component-widgets/render/widgets/footprint-variants-widget.js",     "element": "adom-footprint-variants",     "attrs": [       "src",@@ -103,7 +103,7 @@   {     "name": "adom-verified",     "mode": "frontend",-    "script": "https://wiki.adom.inc/john/component-verification/render/widgets/verified-widget.js",+    "script": "https://wiki.adom.inc/adom/component-widgets/render/widgets/verified-widget.js",     "element": "adom-verified",     "attrs": [       "src",@@ -113,7 +113,7 @@   {     "name": "adom-models",     "mode": "frontend",-    "script": "https://wiki.adom.inc/john/component-verification/render/widgets/models-widget.js",+    "script": "https://wiki.adom.inc/adom/component-widgets/render/widgets/models-widget.js",     "element": "adom-models",     "attrs": [       "src",