Implement ProgCode identity and real shared reading UI kit
Build and deploy / deploy (push) Successful in 2m39s
Build and deploy / deploy (push) Successful in 2m39s
This commit is contained in:
1 parent
99c848189e
commit
12562baeb5
2040 files changed
+184656
-181
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<!doctype html><html lang="ru"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>ProgCode — полнота UI kit и личный просмотр</title><script>try{document.documentElement.dataset.theme=localStorage.getItem('progcode-theme')||'system'}catch{document.documentElement.dataset.theme='system'}</script><style>
|
||||
:root{color-scheme:light;--bg:#f5f7fa;--panel:white;--ink:#182238;--muted:#526077;--line:#9ca9bd;--link:#1646b8;--warn:#842b16;--warnbg:#fff0e8;--soft:#e8edf6;--code:#162238;--oncode:#edf2fc}html[data-theme=dark]{color-scheme:dark;--bg:#111b2a;--panel:#1b293e;--ink:#edf2fc;--muted:#bbc8dc;--line:#657996;--link:#adc6ff;--warn:#ffd1ba;--warnbg:#3c251d;--soft:#263954;--code:#0d1421;--oncode:#edf2fc}@media(prefers-color-scheme:dark){html:not([data-theme=light]){color-scheme:dark;--bg:#111b2a;--panel:#1b293e;--ink:#edf2fc;--muted:#bbc8dc;--line:#657996;--link:#adc6ff;--warn:#ffd1ba;--warnbg:#3c251d;--soft:#263954;--code:#0d1421;--oncode:#edf2fc}}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 Arial,Helvetica,sans-serif}a{color:var(--link);text-underline-offset:3px}button,input,select{font:inherit;color:inherit;background:var(--panel);border:1px solid var(--line);padding:10px;min-height:44px;max-width:100%}button{cursor:pointer}*:focus-visible{outline:3px solid var(--link);outline-offset:4px}header,main,footer{max-width:1320px;margin:auto;padding:24px}header{display:flex;gap:24px;align-items:center;flex-wrap:wrap;border-bottom:2px solid var(--ink)}header strong{font-size:22px;margin-right:auto}.theme{display:flex;gap:8px;align-items:center}nav{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:24px}nav a{padding:10px 0}h1{font-size:clamp(30px,4vw,50px);line-height:1.1;max-width:1000px}h2{font-size:28px;line-height:1.2;margin-top:48px}h3{font-size:20px;line-height:1.3}p{max-width:90ch}code,pre,.mono{font-family:Consolas,monospace;font-size:13px;overflow-wrap:anywhere}pre{background:var(--code);color:var(--oncode);padding:16px;white-space:pre-wrap;max-height:500px;overflow:auto}small,.muted{color:var(--muted)}.warning{padding:18px;border-left:5px solid var(--warn);background:var(--warnbg);color:var(--warn)}.summary{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.summary div{border:1px solid var(--line);padding:16px;flex:1;min-width:160px}.summary b{display:block;font-size:30px}.filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:24px 0}.filters label{display:flex;flex-direction:column;gap:4px;flex:1;min-width:180px}.records{display:grid;gap:16px}article.record{background:var(--panel);border:1px solid var(--line);padding:20px;min-width:0}.record summary{cursor:pointer;font-size:20px;font-weight:bold;padding:8px 0}.record dl{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px 20px;margin:20px 0}.record dt{font-weight:bold}.record dd{margin:0;min-width:0}.record ul{padding-left:24px}.record .gap{color:var(--warn)}.source{display:block;overflow-wrap:anywhere}.tag{display:inline-block;background:var(--soft);padding:2px 8px;font-size:13px;margin:4px 6px 4px 0}.page-view{overflow:auto;border:2px solid var(--line);background:var(--panel);max-width:100%;padding:8px}iframe{display:block;border:0;width:390px;height:900px;background:white}.screen-list{padding-left:20px;max-height:320px;overflow:auto}.ledger-item{border-top:2px solid var(--line);margin:20px 0;padding-top:16px}.steps{white-space:pre-line}.visually-hidden{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}footer{border-top:1px solid var(--line);margin-top:48px}.section-note{background:var(--soft);padding:16px}@media(max-width:600px){header,main,footer{padding:20px}.record dl{grid-template-columns:1fr;gap:4px}.record dd{margin-bottom:12px}.theme{width:100%}header strong{font-size:20px}.filters label{min-width:100%}.page-view{padding:0}}
|
||||
</style></head><body><a href="#main">К содержанию</a><header><strong>ProgCode / полнота UI kit</strong><div class="theme"><label for="theme">Тема</label><select id="theme"><option value="system">Системная</option><option value="light">Светлая</option><option value="dark">Тёмная</option></select></div></header><main id="main"><nav aria-label="Разделы реестра"><a href="#scope">Границы</a><a href="#foundations">Основы</a><a href="#components">Компоненты</a><a href="#pages">Полные страницы</a><a href="#review">Личный просмотр</a><a href="#gaps">Открытые пункты</a></nav>
|
||||
<section id="scope"><h1>Из реальных страниц — в проверяемый реестр.</h1><p class="warning"><strong>Блокер открыт. Это не принятая дизайн-система.</strong> F6 показывает фактические потребители и API старой технической реализации. Новая концепция V3 ещё требует доработки. Матрица не превращает старую сборку или пять демонстраций в новое творческое одобрение.</p><p id="identity" class="mono">Проверка ревизии…</p><p>Полные страницы ниже отдаются из того же неизменённого экспорта F6. Внешние запросы заблокированы заголовком CSP этого локального viewer; здесь не оценивается работа аналитики. Исходники — отдельный снимок всех230 входных файлов, проверенный по их SHA256.</p><p><a href="http://127.0.0.1:54623/candidates/a7fd02536e0f/" target="_blank" rel="noopener">Отдельная отклонённая концепция V3</a> · <a href="./inventory.json">Полный машинный инвентарь</a> · <a href="/review/review-ledger.json">Реестр личного просмотра</a>. Отзывы этой доски не относятся к root atlas57715: тот остаётся недостаточным координаторским черновиком.</p><div id="counts" class="summary"></div><details><summary>Авторство и пределы статического анализа</summary><div id="authorship"></div></details></section>
|
||||
<section id="foundations"><h2>Основы и правила композиции</h2><p>Факт наличия токена в исходнике не доказывает контраст каждого состояния. Для каждого пункта разделены наблюдаемое устройство и ещё не проверенные свойства.</p><div id="foundation-records" class="records"></div></section>
|
||||
<section id="components"><h2>От анатомии до реального потребителя</h2><p>Список выведен из файлов и импортов реальных страниц. Отсутствующие состояния помечены как пробелы; несуществующие модальные окна и подписки не добавляются ради количества компонентов.</p><div class="filters"><label>Найти компонент или состояние<input id="query" type="search" placeholder="Например, таблица или JsonEditor"></label><label>Слой<select id="layer"><option value="">Все слои</option></select></label><button id="reset" type="button">Сбросить</button></div><p id="result-count" role="status" aria-live="polite"></p><div id="component-records" class="records"></div></section>
|
||||
<section id="pages"><h2>Полные реальные страницы из того же kit</h2><p class="section-note">Это страницы F6 с фактическими импортами из <code>web/fsd</code>, а не новые композиции V3. Полный текст и интерактивность сохранены; тема общая с viewer. Их творческая приёмка переоткрыта. Покрытие нового образа и его реализация отмечаются отдельно.</p><div class="filters"><label>Страница и контентный случай<select id="page-choice"></select></label><label>Ширина страницы<select id="width"><option>320</option><option selected>390</option><option>1440</option></select></label><a id="open-page" target="_blank" rel="noopener">Открыть отдельно</a></div><div id="page-description"></div><div class="page-view" tabindex="0" role="region" aria-label="Полная страница, доступна горизонтальная прокрутка"><iframe id="page-frame" title="Полная реальная страница F6" loading="lazy"></iframe></div><h3>Шаблоны и состав</h3><div id="template-records" class="records"></div></section>
|
||||
<section id="review"><h2>Кто действительно открыл и посмотрел</h2><p class="warning">Автоматически снятый PNG не равен личному просмотру. Ни один отзыв о старом pin не переносится на новую ревизию или на чужой атлас. <strong>«Не просмотрено» остаётся видимым статусом.</strong></p><div id="ledger"></div></section>
|
||||
<section id="gaps"><h2>Что не закрыто этой матрицей</h2><div id="gap-records"></div><p><strong>webprogcode-4q8.2:</strong> dropdown Системная / Светлая / Тёмная, сохранение, системная смена, первая отрисовка и все состояния обеих тем требуют личной проверки точной реализации.</p><p><strong>webprogcode-4q8.3:</strong> полнота kit, API и связь с полными страницами требуют критики дизайнера, CD и контент-менеджера. Наличие этого реестра не закрывает блокер.</p></section></main><footer>Документальный реестр ProgCode. Публичный релиз0458 не менялся; содержимое14 статей, якоря, изображения и маршруты сохранены.</footer>
|
||||
<script>
|
||||
const $=s=>document.querySelector(s);const esc=v=>String(v??'').replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c]));const asArray=v=>v==null?[]:Array.isArray(v)?v:[v];const show=v=>{if(v==null)return '<span class="muted">Не зафиксировано — пробел</span>';if(Array.isArray(v))return '<ul>'+v.map(x=>'<li>'+show(x)+'</li>').join('')+'</ul>';if(typeof v==='object')return '<pre>'+esc(JSON.stringify(v,null,2))+'</pre>';return esc(v)};const source=v=>asArray(v).map(x=>{const p=typeof x==='string'?x:x.path||x.source||JSON.stringify(x);const rel=p.replace(/^.*\/web\//,'').replace(/^web\//,'');return '<a class="source mono" href="/review/reference-source/'+rel.split('/').map(encodeURIComponent).join('/')+'" target="_blank" rel="noopener">'+esc(p)+'</a>'}).join('');const consumersHtml=items=>asArray(items).map(c=>{if(typeof c==='string')return show(c);return '<div>'+source(c.source)+'<p>'+asArray(c.route).map(r=>String(r).startsWith('/')?'<a href="'+esc(r)+'" target="_blank" rel="noopener">'+esc(r)+'</a>':esc(r)).join(' · ')+'</p><small>'+esc(c.evidence||'source observed')+'</small></div>'}).join('');const row=(label,value)=>'<dt>'+label+'</dt><dd>'+show(value)+'</dd>';let inventory;
|
||||
function syncTheme(){let t='system';try{const v=localStorage.getItem('progcode-theme');if(['system','light','dark'].includes(v))t=v}catch{}document.documentElement.dataset.theme=t;$('#theme').value=t}syncTheme();$('#theme').onchange=e=>{const t=e.target.value;document.documentElement.dataset.theme=t;try{localStorage.setItem('progcode-theme',t)}catch{}};addEventListener('storage',e=>{if(e.key==='progcode-theme'||e.key===null)syncTheme()});
|
||||
function renderComponents(){let count=0;const q=$('#query').value.toLowerCase(),layer=$('#layer').value;$('#component-records').innerHTML=asArray(inventory.components).filter(x=>(!q||JSON.stringify(x).toLowerCase().includes(q))&&(!layer||x.layer===layer)).map(c=>{count++;return '<article class="record"><details><summary>'+esc(c.name||c.id)+' <span class="tag">'+esc(c.layer||'слой не указан')+'</span></summary><dl><dt>Точный исходник</dt><dd>'+source(c.source)+'</dd>'+row('Экспорт / API',c.exports)+row('Анатомия',c.anatomy)+row('Props / контракт',c.props||c.api)+row('Варианты',c.variants)+row('Состояния',c.states)+row('Адаптив',c.responsive)+row('Клавиатура и доступность',c.keyboard)+'<dt>Фактические потребители</dt><dd>'+consumersHtml(c.consumers)+'</dd>'+'<dt>Пробелы / личная проверка</dt><dd class="gap">'+show(c.gaps)+'</dd></dl></details></article>'}).join('');$('#result-count').textContent='Найдено: '+count;}
|
||||
async function init(){inventory=await(await fetch('./inventory.json')).json();const rev=await(await fetch('./revision.json')).json();$('#identity').textContent='Ревизия матрицы '+rev.revision+' · F6 source '+inventory.sourceHash+' · статус: блокер открыт';$('#authorship').innerHTML=show(inventory.authorshipLimits);$('#counts').innerHTML=[['Основы',asArray(inventory.foundations).length],['Компоненты / блоки',asArray(inventory.components).length],['Шаблоны',asArray(inventory.templates).length],['Явные пробелы',asArray(inventory.gaps).length]].map(([name,n])=>'<div><b>'+n+'</b>'+name+'</div>').join('');$('#foundation-records').innerHTML=asArray(inventory.foundations).map(f=>'<article class="record"><h3>'+esc(f.name||f.id)+'</h3>'+source(f.source)+'<dl>'+row('Правила / факт исходника',f.rules||f.tokens)+row('Не доказано',f.unknowns||f.gaps)+'</dl></article>').join('');[...new Set(asArray(inventory.components).map(c=>c.layer).filter(Boolean))].forEach(l=>$('#layer').insertAdjacentHTML('beforeend','<option>'+esc(l)+'</option>'));renderComponents();$('#query').oninput=renderComponents;$('#layer').onchange=renderComponents;$('#reset').onclick=()=>{$('#query').value='';$('#layer').value='';renderComponents();$('#query').focus()};$('#template-records').innerHTML=asArray(inventory.templates).map(t=>'<article class="record"><details><summary>'+esc(t.name||t.id)+'</summary>'+source(t.source)+'<dl>'+row('Маршруты',t.routes)+row('Композиция',t.composition)+row('Реальный контент',t.contentCases)+row('Пробелы',t.gaps)+'</dl></details></article>').join('');$('#gap-records').innerHTML=show(inventory.gaps);const cases=await(await fetch('./page-cases.json')).json();$('#page-choice').innerHTML=cases.map((p,i)=>'<option value="'+i+'">'+esc(p.name)+'</option>').join('');const choose=()=>{const p=cases[+$('#page-choice').value];$('#page-frame').src=p.route;$('#page-description').innerHTML='<h3>'+esc(p.name)+'</h3><p>'+esc(p.reason)+'</p><p class="mono">'+esc(p.route)+' · ожидаемый HTTP '+esc(p.status||200)+'</p>';$('#open-page').href=p.route;$('#page-frame').style.width=$('#width').value+'px'};$('#page-choice').onchange=choose;$('#width').onchange=()=>$('#page-frame').style.width=$('#width').value+'px';choose();let ledger;try{ledger=await(await fetch('/review/review-ledger.json')).json()}catch{ledger={entries:[]}}$('#ledger').innerHTML=asArray(ledger.entries).map(e=>'<article class="ledger-item"><details><summary>'+esc(e.role)+' — '+esc(e.status)+'</summary><p>'+esc(e.subject)+' · <code>'+esc(e.revision||'ревизия не зафиксирована')+'</code></p><dl>'+row('Лично открыто',e.personallyViewed)+row('Только снято, не заявлено просмотренным',e.capturedOnly)+row('Предметные замечания',e.findings)+row('Исправлено / повторно просмотрено',e.reinspection)+row('Не устранено',e.unresolved)+'</dl><p>'+show(e.evidence)+'</p></details></article>').join('')||'<p>Эту ревизию матрицы ещё никто не заявил лично просмотренной. Блокер открыт.</p>';}init().catch(e=>{$('#identity').textContent='Ошибка загрузки реестра: '+e.message;$('#identity').className='warning'});
|
||||
</script></body></html>
|
||||
Reference in new issue
Block a user