app
Adom Project Manager
Public Made by Adomby adom
Adom Project Manager — the central hub for navigating wiki boards, molecules and libraries into Hydrogen: browse your wiki boards/projects (Personal / Organization / Public), view symbol + footprint + 3D and the per-EDA footprint layer stackup, explore the board and schematic in INTERACTIVE cross-probing viewers (click a net, hover a part for stock and price), add components to your KiCad/Altium libraries, and deliver self-contained KiCad projects. Built on adom-lbr. (Formerly Adom Project Manag
← Commit history
component viewer: add 'Open on wiki' button in the title bar next to pin/pad count (opens wiki page in a new tab)
1 file changed
+5−1
src/manage.html+5−1@@ -182,6 +182,8 @@ model-viewer{width:100%;aspect-ratio:1;height:auto;background:#161b22} h2.title{margin:0 0 14px} h2.title small{color:var(--mut);font-weight:400;font-size:14px}+ h2.title .wikibtn{display:inline-block;margin-left:14px;font-size:12px;font-weight:600;vertical-align:2px;background:#16324f;color:#79b8ff;border:1px solid #24466a;border-radius:6px;padding:3px 10px;text-decoration:none;cursor:pointer}+ h2.title .wikibtn:hover{border-color:var(--acc);background:#1a3a5c} table{width:100%;border-collapse:collapse;margin-top:16px;background:var(--panel);border:1px solid var(--edge);border-radius:12px;overflow:hidden} th,td{text-align:left;padding:10px 14px;border-bottom:1px solid var(--edge);font-size:13px} th{color:var(--mut);font-weight:600;text-transform:uppercase;font-size:11px;letter-spacing:.05em}@@ -632,8 +634,10 @@ async function openPart(slug,el){ <td><span class="swatch" style="background:${COLORS[l.role]||'#888'}"></span>${l.role}<span style="color:#8b93a3"> ×${l.count}</span></td> <td><span class="badge">${l.kicad}</span></td> <td><span class="badge">${l.altium}</span></td></tr>`).join('');+ const wc=bySlug[slug]||{}; const wowner=wc.org||wc.owner||'';+ const wikiUrl=wowner?`https://wiki.adom.inc/${wowner}/${encodeURIComponent(slug)}`:''; v.innerHTML=`- <h2 class="title">${p.mpn} <small>· ${p.pins} pins · ${p.pads} pads</small></h2>+ <h2 class="title">${p.mpn} <small>· ${p.pins} pins · ${p.pads} pads</small>${wikiUrl?`<a class="wikibtn" href="${wikiUrl}" target="_blank" rel="noopener">Open on wiki ↗</a>`:''}</h2> <div class="cols"> <div class="card"><h3>Schematic Symbol</h3><div class="body">${p.symbol_svg}<span class="hint2">drag · scroll to zoom</span></div></div> <div class="card"><h3>Footprint</h3>