Implement ProgCode identity and real shared reading UI kit
Build and deploy / deploy (push) Successful in 2m39s
No files matched your search
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 53 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 223 KiB |
|
After Width: | Height: | Size: 154 KiB |
|
After Width: | Height: | Size: 225 KiB |
|
After Width: | Height: | Size: 155 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 268 KiB |
|
After Width: | Height: | Size: 186 KiB |
|
After Width: | Height: | Size: 270 KiB |
|
After Width: | Height: | Size: 186 KiB |
|
After Width: | Height: | Size: 111 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 263 KiB |
|
After Width: | Height: | Size: 162 KiB |
|
After Width: | Height: | Size: 266 KiB |
|
After Width: | Height: | Size: 162 KiB |
|
After Width: | Height: | Size: 105 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 18 KiB |
@@ -0,0 +1 @@
|
||||
{"d":{"tag":"DIV","cls":"prose article-content","role":null,"tabIndex":-1,"client":288,"scroll":288,"html":7000,"text":5932,"rows":0,"after":{"left":0,"focus":false}},"ctfe":{"tag":"DIV","cls":"table-scroll","role":"region","tabIndex":0,"client":286,"scroll":620,"html":711,"text":486,"rows":5,"columns":3,"after":{"left":40,"focus":true}},"specimens":["Реальный материал: Ошибка PHP. SSL certificate error: unable to get local issuer certificate12 июля 2017 г.2 мин чтенияDarkRiDDeR","Реальный материал: Вирус. Самопроизвольный запуск браузера и перенаправление на вредоносные сайты.20 мая 2017 г.3 мин чтенияDarkRiDDeR","Реальный материал: Привет, мой читатель!03 мая 2017 г.1 мин чтенияDarkRiDDeR","Реальный материал: Пишем аналог функции PHP preg_match_all на языке программирования D17 июня 2017 г.5 мин чтенияDarkRiDDeR","Реальный материал: Dlang. Новый движок CTFE26 мая 2017 г.5 мин чтенияDarkRiDDeR","Реальный материал: Bitrix API. Вставка на страницу встроенного редактора картинок19 октября 2018 г.2 мин чтенияDarkRiDDeR","Реальный материал: DConf-2017. Под капотом мусорщика D (Дмитрий Ольшанский)24 июня 2017 г.11 мин чтенияDarkRiDDeR"],"uikitText":"ИНЖЕНЕРНАЯ ЗАМЕТКА\n\nКомпоненты ProgCode.\n\nТе же элементы, которые помогают читать журнал, находить материал и проверять код. Примеры взяты из настоящих статей.\n\nЗнак и цвет\n\nБуква P и курсор связывают знак с названием журнала. Цветовую тему можно выбрать в шапке.\n\n16 × 16\n32 × 32\n48 × 48\nОсновной текст\nТекст и фон чтения\ntext.primary / bg.canvas\nПодписи и даты\nВторичная информация\ntext.secondary / bg.subtle\nСсылки и фокус\nОдин тёплый акцент\nlink.default / focus.ring\nТекст без обрезанных окончаний\n\nРеальный материал: Ошибка PHP. SSL certificate error: unable to get local issuer certificate\n\n12 июля 2017 г.\n2 мин чтения\nDarkRiDDeR\nОшибка PHP. SSL certificate error: unable to get local issuer certificate\n\nДиагностика ошибки цепочки доверия в PHP cURL: правильный php.ini, CA bundle и проверка серверных промежуточных сертификатов.\n\nРеальный материал: Вирус. Самопроизвольный запуск браузера и перенаправление на вредоносные сайты.\n\n20 мая 2017 г.\n3 мин чтения\nDarkRiDDeR\nВирус. Самопроизвольный запуск браузера и перенаправление на вредоносные сайты.\n\nКак исследовать самопроизвольный запуск браузера через планировщик Windows и отличить устранение задания от полной проверки системы.\n\nРеальный материал: Привет, мой читатель!\n\n03 мая 2017 г.\n1 мин чтения\nDarkRiDDeR\nС чего начинается блог\n\nЯ — автор этого блога, DarkRiDDeR. Пишу об информационных технологиях и программировании: о задачах, которые приходится решать, и об инструментах, которые хочется понять лучше.\n\nЭто первая запись. Надеюсь, следующие заметки окажутся полезными и интересными. Спасибо, что заглянули!\n\nПолный пример кода\n\nРеальный материал: Пишем аналог функции PHP preg_match_all на языке программирования D\n\n17 июня 2017 г.\n5 мин чтения\nDarkRiDDeR\n\nСамый длинный блок этой заметки сохранён целиком, включая модуль и проверки. При необходимости код прокручивается отдельно от страницы.\n\nmodule preg;\n\nimport std.regex : matchAll, regex, ctRegex;\n\nstruct Capture {\n string text;\n long position; // byte offset, -1 when an optional group did not participate\n}\n\nclass PReg {\n static string[][] matchAllPatternOrder(R)(string suLine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
async(page)=>{const base='http://127.0.0.1:65019',out={};await page.setViewportSize({width:320,height:1000});for(const [id,slug,selector] of [['d','пишем-аналог-функции-php-preg_match_all-на-языке-прог','pre'],['ctfe','новый-движок-ctfe','table']]){await page.goto(base+'/articles/'+encodeURIComponent(slug)+'/');await page.getByLabel('Тема',{exact:true}).selectOption('dark');let target=page.locator(selector);if(id==='d'){let lengths=await target.evaluateAll(es=>es.map(e=>e.textContent.length));target=target.nth(lengths.indexOf(Math.max(...lengths)));}else target=target.first();await target.scrollIntoViewIfNeeded();const region=target.locator('xpath=..');out[id]=await region.evaluate(e=>({tag:e.tagName,cls:e.className,role:e.getAttribute('role'),tabIndex:e.tabIndex,client:e.clientWidth,scroll:e.scrollWidth,html:e.innerHTML.length,text:e.textContent.length,rows:e.querySelectorAll('tr').length,columns:e.querySelector('tr')?.children.length}));await region.focus();await page.keyboard.press('End');await page.keyboard.press('ArrowRight');await page.waitForTimeout(250);out[id].after=await region.evaluate(e=>({left:e.scrollLeft,focus:document.activeElement===e}));await page.screenshot({path:'/tmp/progcode-ds-content/'+id+'-320-dark-keyboard-right.png'});}
|
||||
await page.goto(base+'/ui-kit/');out.specimens=await page.locator('.specimen-label').allTextContents();out.uikitText=await page.locator('main').innerText();await page.locator('table').first().scrollIntoViewIfNeeded();await page.screenshot({path:'/tmp/progcode-ds-content/uikit-320-dark-table.png'});await page.goto(base+'/articles/о-tilix-и-d-интервью-с-геральдом-нанном/');const details=page.locator('details');out.toc={count:await details.count(),initial:await details.getAttribute('open')};await details.locator('summary').click();out.toc.closed=await details.getAttribute('open');await details.locator('summary').click();const fifth=details.locator('a').nth(4);out.toc.href=await fifth.getAttribute('href');await fifth.click();out.toc.target=await page.evaluate(()=>({hash:location.hash,y:document.querySelector(location.hash)?.getBoundingClientRect().top}));await page.locator('main').evaluate(e=>e.scrollIntoView());return out;}
|
||||
@@ -0,0 +1 @@
|
||||
{"light":{"width":320,"doc":329,"h1":{"text":"Сначала —\nпервоисточник.","font":"700 43px / 48.16px Arial, Helvetica, sans-serif","fontSize":"43px","width":288,"scroll":313,"overflowWrap":"normal"},"off":[]},"dark":{"width":320,"doc":329,"h1":{"text":"Сначала —\nпервоисточник.","font":"700 43px / 48.16px Arial, Helvetica, sans-serif","fontSize":"43px","width":288,"scroll":313,"overflowWrap":"normal"},"off":[]},"reset":["Найдено материалов: 14"],"empty":["Введите JSON для проверки.",""]}
|
||||
@@ -0,0 +1 @@
|
||||
async(page)=>{let out={};const base='http://127.0.0.1:65019';await page.setViewportSize({width:320,height:1000});for(const theme of ['light','dark']){await page.goto(base+'/resources/');await page.getByLabel('Тема',{exact:true}).selectOption(theme);await page.evaluate(()=>document.fonts.ready);out[theme]=await page.evaluate(()=>({width:innerWidth,doc:document.documentElement.scrollWidth,h1:{text:document.querySelector('h1').innerText,font:getComputedStyle(document.querySelector('h1')).font,fontSize:getComputedStyle(document.querySelector('h1')).fontSize,width:document.querySelector('h1').getBoundingClientRect().width,scroll:document.querySelector('h1').scrollWidth,overflowWrap:getComputedStyle(document.querySelector('h1')).overflowWrap},off:[...document.querySelectorAll('*')].filter(x=>x.getBoundingClientRect().right>320).map(x=>({tag:x.tagName,cls:x.className,text:x.innerText?.slice(0,100),right:x.getBoundingClientRect().right}))}));}await page.goto(base+'/');await page.getByRole('searchbox').fill('none-does-not-exist');await page.getByRole('button',{name:'Сбросить поиск'}).click();out.reset=await page.getByRole('status').allTextContents();await page.goto(base+'/tools/');await page.getByRole('button',{name:'Очистить',exact:true}).click();await page.getByRole('button',{name:'Форматировать',exact:true}).click();out.empty=await page.getByRole('status').allTextContents();return out;}
|
||||
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 66 KiB |
@@ -0,0 +1 @@
|
||||
{"resources":[],"search":[{"value":"jQuery","status":["Найдено материалов: 1"]},{"value":"Bitrix","status":["Найдено материалов: 3"]},{"value":"несуществующий-запрос","status":["По этому запросу ничего нет. Попробуйте другое слово или сбросьте тему."]},{"value":"D topic","status":["Найдено материалов: 6"]},{"value":"D+jQuery","status":["По этому запросу ничего нет. Попробуйте другое слово или сбросьте тему."]}],"resetButtons":["Все","JavaScript","Bitrix","D","Windows","PHP","Блог","Сбросить поиск"],"json":[{"case":"empty","status":["JSON корректен",""]},{"case":"invalid","status":["Ошибка синтаксиса: Expected property name or '}' in JSON at position 1 (line 1 column 2)",""],"invalid":"true"},{"case":"success","status":["JSON корректен",""],"result":"{\n \"title\": \"Проверка\",\n \"list\": [\n {\n \"index\": 0,\n \"value\": \"JSON строка 0\"\n },\n {\n \"index\": 1,\n \"value\": \"JSON строка 1\"\n },\n {\n \"index\": 2,\n \"value\": \"JSON строка 2\"\n },\n {\n \"index\": 3,\n \"value\": \"JSON строка 3\"\n },\n {\n \"index\": 4,\n \"value\": \"JSON строка 4\"\n },\n {\n \"index\": 5,\n \"value\": \"JSON строка 5\"\n },\n {\n \"index\": 6,\n \"value\": \"JSON строка 6\"\n },\n {\n \"index\": 7,\n \"value\": \"JSON строка 7\"\n },\n {\n \"index\": 8,\n \"value\": \"JSON строка 8\"\n },\n {\n \"index\": 9,\n \"value\": \"JSON строка 9\"\n },\n {\n \"index\": 10,\n \"value\": \"JSON строка 10\"\n },\n {\n \"index\": 11,\n \"value\": \"JSON строка 11\"\n },\n {\n \"index\": 12,\n \"value\": \"JSON строка 12\"\n },\n {\n \"index\": 13,\n \"value\": \"JSON строка 13\"\n },\n {\n \"index\": 14,\n \"value\": \"JSON строка 14\"\n },\n {\n \"index\": 15,\n \"value\": \"JSON строка 15\"\n },\n {\n \"index\": 16,\n \"value\": \"JSON строка 16\"\n },\n {\n \"index\": 17,\n \"value\": \"JSON строка 17\"\n },\n {\n \"index\": 18,\n \"value\": \"JSON строка 18\"\n },\n {\n \"index\": 19,\n \"value\": \"JSON строка 19\"\n },\n {\n \"index\": 20,\n \"value\": \"JSON строка 20\"\n },\n {\n \"index\": 21,\n \"value\": \"JSON строка 21\"\n },\n {\n \"index\": 22,\n \"value\": \"JSON строка 22\"\n },\n {\n \"index\": 23,\n \"value\": \"JSON строка 23\"\n },\n {\n \"index\": 24,\n \"value\": \"JSON строка 24\"\n },\n {\n \"index\": 25,\n \"value\": \"JSON строка 25\"\n },\n {\n \"index\": 26,\n \"value\": \"JSON строка 26\"\n },\n {\n \"index\": 27,\n \"value\": \"JSON строка 27\"\n },\n {\n \"index\": 28,\n \"value\": \"JSON строка 28\"\n },\n {\n \"index\": 29,\n \"value\": \"JSON строка 29\"\n },\n {\n \"index\": 30,\n \"value\": \"JSON строка 30\"\n },\n {\n \"index\": 31,\n \"value\": \"JSON строка 31\"\n },\n {\n \"index\": 32,\n \"value\": \"JSON строка 32\"\n },\n {\n \"index\": 33,\n \"value\": \"JSON строка 33\"\n },\n {\n \"index\": 34,\n \"value\": \"JSON строка 34\"\n },\n {\n \"index\": 35,\n \"value\": \"JSON строка 35\"\n },\n {\n \"index\": 36,\n \"value\": \"JSON строка 36\"\n },\n {\n \"index\": 37,\n \"value\": \"JSON строка 37\"\n },\n {\n \"index\": 38,\n \"value\": \"JSON строка 38\"\n },\n {\n \"index\": 39,\n \"value\": \"JSON строка 39\"\n }\n ]\n}"},{"case":"injected copy denial","status":["JSON корректен","Не удалось скопировать. Выделите текст результата вручную."]}]}
|
||||
@@ -0,0 +1,8 @@
|
||||
async (page) => {
|
||||
const base='http://127.0.0.1:65019',out={};
|
||||
await page.setViewportSize({width:320,height:1000});await page.goto(base+'/resources/');await page.getByLabel('Тема',{exact:true}).selectOption('light');
|
||||
out.resources=await page.evaluate(()=>[...document.querySelectorAll('body *')].map(e=>({tag:e.tagName,cls:e.className,text:e.innerText?.slice(0,160),right:e.getBoundingClientRect().right,width:e.getBoundingClientRect().width})).filter(e=>e.right>320));await page.screenshot({path:'/tmp/progcode-ds-content/resources-320-light.png',fullPage:true});
|
||||
await page.goto(base+'/');const search=page.getByRole('searchbox');out.search=[];for(const value of ['jQuery','Bitrix','несуществующий-запрос']){await search.fill(value);out.search.push({value,status:await page.getByRole('status').allTextContents()});await page.screenshot({path:'/tmp/progcode-ds-content/search-'+(value==='jQuery'?'1':value==='Bitrix'?'3':'0')+'.png',fullPage:true});}
|
||||
await search.fill('');await page.getByRole('button',{name:'D',exact:true}).click();out.search.push({value:'D topic',status:await page.getByRole('status').allTextContents()});await search.fill('jQuery');out.search.push({value:'D+jQuery',status:await page.getByRole('status').allTextContents()});out.resetButtons=await page.getByRole('button').allTextContents();
|
||||
await page.goto(base+'/tools/');const input=page.locator('textarea');out.json=[];await page.getByRole('button',{name:'Форматировать',exact:true}).click();out.json.push({case:'empty',status:await page.getByRole('status').allTextContents()});await input.fill('{bad');await page.getByRole('button',{name:'Форматировать',exact:true}).click();out.json.push({case:'invalid',status:await page.getByRole('status').allTextContents(),invalid:await input.getAttribute('aria-invalid')});await input.fill(JSON.stringify({title:'Проверка',list:Array.from({length:40},(_,i)=>({index:i,value:'JSON строка '+i}))}));await page.getByRole('button',{name:'Форматировать',exact:true}).click();out.json.push({case:'success',status:await page.getByRole('status').allTextContents(),result:await page.locator('pre').innerText()});await page.evaluate(()=>Object.defineProperty(navigator,'clipboard',{configurable:true,value:{writeText:async()=>{throw new Error('CM injected permission denial')}}}));await page.getByRole('button',{name:'Копировать',exact:true}).click();out.json.push({case:'injected copy denial',status:await page.getByRole('status').allTextContents()});await page.screenshot({path:'/tmp/progcode-ds-content/json-copy-denial-320.png',fullPage:true});return out;
|
||||
}
|
||||
|
After Width: | Height: | Size: 290 KiB |
@@ -0,0 +1,307 @@
|
||||
[
|
||||
{
|
||||
"file": "resources-320-light.png",
|
||||
"sha256": "937bfedef619cfc316f9aecec32ced9b4ada8db18b9766f04db443ba986d81c8",
|
||||
"bytes": 126519
|
||||
},
|
||||
{
|
||||
"file": "a8-320-light-top.png",
|
||||
"sha256": "ea3eee8f134eefcbd53d5edb71db313fd87312f04d1614ecd8989e73d53bc6d6",
|
||||
"bytes": 64727
|
||||
},
|
||||
{
|
||||
"file": "a7-390-dark-end.png",
|
||||
"sha256": "6a4ede305c436baac2e392275a4b20f8a59890c41f9e0c2dc0ea372530045152",
|
||||
"bytes": 107872
|
||||
},
|
||||
{
|
||||
"file": "a10-390-dark-figure0.png",
|
||||
"sha256": "367d009c3f43488bf8bee7e28e0384d0807e70e56e87f0434f238b292bf2cb3e",
|
||||
"bytes": 47929
|
||||
},
|
||||
{
|
||||
"file": "a10-1440-light-top.png",
|
||||
"sha256": "641d16842470c1fbe87580dc0910e35939713204b2edd020520b399647472ec5",
|
||||
"bytes": 158347
|
||||
},
|
||||
{
|
||||
"file": "ctfe-320-dark-scroll-region.png",
|
||||
"sha256": "e7f0ecb8ecc6815ff1eb34fb4cfb93125ef5c6e83a783566fb09b53b15c74442",
|
||||
"bytes": 74002
|
||||
},
|
||||
{
|
||||
"file": "tools-390-dark-top.png",
|
||||
"sha256": "2a7edbcc2cbb7f7b0115ca54e5f00b6733c371fe3a39efa5dd31f02ca7c4907f",
|
||||
"bytes": 52168
|
||||
},
|
||||
{
|
||||
"file": "uikit-1440-dark-top.png",
|
||||
"sha256": "b994ccf0cc77d76cb0b78de0c438ae07acfd589d274451827923d69c2b7464ca",
|
||||
"bytes": 112088
|
||||
},
|
||||
{
|
||||
"file": "d-320-dark-scroll-region.png",
|
||||
"sha256": "e840cbc0d07f666846c977d94b028f233f3ea700409a9c5b4165aceeedceaab6",
|
||||
"bytes": 18662
|
||||
},
|
||||
{
|
||||
"file": "a2-1440-light-top.png",
|
||||
"sha256": "28a87473318e4a5f7f7063c6a8b0715d4243c4198b203935fe4020b79c42bde7",
|
||||
"bytes": 190534
|
||||
},
|
||||
{
|
||||
"file": "a10-1440-dark-middle.png",
|
||||
"sha256": "f9226f87603c96045d434d9185cb2fcb32b2084529c01161ce4490afd1a77ab3",
|
||||
"bytes": 228859
|
||||
},
|
||||
{
|
||||
"file": "a11-390-dark-figure0.png",
|
||||
"sha256": "a4ef4d4fee1c20023c3b1405e9d3592fe05d3e0df44fc5e09534cc88de6ffb1b",
|
||||
"bytes": 57531
|
||||
},
|
||||
{
|
||||
"file": "a7-1440-dark-top.png",
|
||||
"sha256": "637b661dacf42d911c4c82b24e977cdd7c968cacc7857752fed33341ccb2494c",
|
||||
"bytes": 165992
|
||||
},
|
||||
{
|
||||
"file": "a1-390-dark-figure0.png",
|
||||
"sha256": "cd2599ecdd5f16a16e6f2675832a0c7cf9cd7b611394efd889630b67673816af",
|
||||
"bytes": 52095
|
||||
},
|
||||
{
|
||||
"file": "d-320-dark-keyboard-right.png",
|
||||
"sha256": "6f4a22679ff1a9840cfdd99899541c14d37320b4ae9f70a52b613a5afd1f8017",
|
||||
"bytes": 52943
|
||||
},
|
||||
{
|
||||
"file": "a1-390-dark-figure1.png",
|
||||
"sha256": "975a6df6d48df23657641be39c543ed0a47c05df9913007417edc2e522c5b37b",
|
||||
"bytes": 54632
|
||||
},
|
||||
{
|
||||
"file": "search-3.png",
|
||||
"sha256": "a3b14b77aa66d9eac135ccdd2b85f2095b3283f0eab2fb8d625224ede973c478",
|
||||
"bytes": 256033
|
||||
},
|
||||
{
|
||||
"file": "a2-1440-dark-top.png",
|
||||
"sha256": "eff7d1e5f61e3869a6d7a7db2120c13b09d89cada5e316352291365bd2d750d8",
|
||||
"bytes": 190876
|
||||
},
|
||||
{
|
||||
"file": "a10-390-dark-end.png",
|
||||
"sha256": "7b865d330a04b10c619c3750146c5c6ea3adba46ca09114a49d165508da9a028",
|
||||
"bytes": 104674
|
||||
},
|
||||
{
|
||||
"file": "search-1.png",
|
||||
"sha256": "59e93846bea738548801d841efc3cde164d0c4c56d81d07d6f4cc4332e11a9fb",
|
||||
"bytes": 210196
|
||||
},
|
||||
{
|
||||
"file": "a1-390-dark-top.png",
|
||||
"sha256": "b90d5dcbaad0e46e3d2bd421a5aaae58db6f29d3dffd381032061c597324f129",
|
||||
"bytes": 88103
|
||||
},
|
||||
{
|
||||
"file": "search-0.png",
|
||||
"sha256": "e710de0dcc56932bb547e96f4c858861cfd49c7858a80190d1b0c72647cecca3",
|
||||
"bytes": 194852
|
||||
},
|
||||
{
|
||||
"file": "a7-1440-light-middle.png",
|
||||
"sha256": "9292c2c4613b7db6cadb66e7cbeb68affe8abfd0b61ea456afac0ee47756d7b5",
|
||||
"bytes": 272450
|
||||
},
|
||||
{
|
||||
"file": "a2-390-dark-end.png",
|
||||
"sha256": "f65156f826341a3719063dbdf41b5e9c45dfc7a1d4338d0f7678f88aabf47c65",
|
||||
"bytes": 113783
|
||||
},
|
||||
{
|
||||
"file": "a10-1440-dark-top.png",
|
||||
"sha256": "784501e3c5df2d77883e4b09fef8c7d2396d6909960c7227627620159706e552",
|
||||
"bytes": 158083
|
||||
},
|
||||
{
|
||||
"file": "ctfe-320-dark-keyboard-right.png",
|
||||
"sha256": "8d97721b02665acc4fe2f2100cf8d65ac80914e21827f279773b6d383c835fc4",
|
||||
"bytes": 53734
|
||||
},
|
||||
{
|
||||
"file": "json-copy-denial-320.png",
|
||||
"sha256": "0a60555b082dbda30e9f7058ff5c7ab80381a909c8308b87531e53399683a0e1",
|
||||
"bytes": 297254
|
||||
},
|
||||
{
|
||||
"file": "a7-1440-light-top.png",
|
||||
"sha256": "74f7c48012dce7b1701baa2c0e1fafca890c84881e6fae0f50332cd5033a1c95",
|
||||
"bytes": 166278
|
||||
},
|
||||
{
|
||||
"file": "privacy-390-dark-top.png",
|
||||
"sha256": "bee851c241e4eb5d0c82ad33f565e76030fba4f2bcac8a392543858db9ff1240",
|
||||
"bytes": 102417
|
||||
},
|
||||
{
|
||||
"file": "a2-390-dark-top.png",
|
||||
"sha256": "724a945f0e9fdde73d22ec2e35e7c4aaa6989e841dbbe458da48576a97eedb17",
|
||||
"bytes": 87587
|
||||
},
|
||||
{
|
||||
"file": "a13-390-dark-end.png",
|
||||
"sha256": "c290b5949617f621449e2748d76ea8160301cdc2ab7d66b8e3ef44b7a8af567a",
|
||||
"bytes": 73457
|
||||
},
|
||||
{
|
||||
"file": "a9-390-dark-top.png",
|
||||
"sha256": "11d15d96bac21286f911e658e8e245c4e09ce7a46bd7851db823ddcac22dade4",
|
||||
"bytes": 88495
|
||||
},
|
||||
{
|
||||
"file": "a11-320-light-top.png",
|
||||
"sha256": "1073c0ebd93421f5f89574159c6cbe36759e9264e97d233f7c231fa424043f47",
|
||||
"bytes": 66054
|
||||
},
|
||||
{
|
||||
"file": "a2-1440-dark-middle.png",
|
||||
"sha256": "e51237fff96f6195675587e80bbb308a413f6c48c24616efbfc8799a7a3822c9",
|
||||
"bytes": 274647
|
||||
},
|
||||
{
|
||||
"file": "a7-1440-dark-middle.png",
|
||||
"sha256": "baf5c45a579657c97176c3590aeb9996ed81826028d512e08e60c1fe0e8a8c93",
|
||||
"bytes": 269392
|
||||
},
|
||||
{
|
||||
"file": "a10-1440-light-middle.png",
|
||||
"sha256": "9049695b8233796ac3b4f7a96d2faad00551b902525d49c407e4a8f19d8fea31",
|
||||
"bytes": 230511
|
||||
},
|
||||
{
|
||||
"file": "a2-1440-light-middle.png",
|
||||
"sha256": "1f6a832c5bdbdb73209448fd287ac68d21b25e0f40781f78e4fa9e9ef5b77f3d",
|
||||
"bytes": 276537
|
||||
},
|
||||
{
|
||||
"file": "a6-320-light-top.png",
|
||||
"sha256": "f820959191e6ee1da3a24a2ed6c0e8c0a630dd9ffe99fa95918aba46f20cdc19",
|
||||
"bytes": 79181
|
||||
},
|
||||
{
|
||||
"file": "missing-390-dark-top.png",
|
||||
"sha256": "ee5517f77be6023f95cdf87989e50784f815dcab0d5265895ccc0351f2ecf644",
|
||||
"bytes": 44813
|
||||
},
|
||||
{
|
||||
"file": "home-320-light-top.png",
|
||||
"sha256": "e60f11e731448d59060f68e387f0f78dbd2bd684422d1a4bda62ffc726c7e841",
|
||||
"bytes": 61676
|
||||
},
|
||||
{
|
||||
"file": "a7-390-dark-figure0.png",
|
||||
"sha256": "0de71a53fe7e62390bfbbd5bd8faa8ef757323419d4e9e10fbc91854c281004f",
|
||||
"bytes": 77760
|
||||
},
|
||||
{
|
||||
"file": "uikit-1440-light-top.png",
|
||||
"sha256": "155d6111336cea641af7aa0f1912807f950ee2f5b85e85fccf4de9ccfe50d0c2",
|
||||
"bytes": 110765
|
||||
},
|
||||
{
|
||||
"file": "sources-390-dark-top.png",
|
||||
"sha256": "ab0183f5c7d0df2199ab16c4ca002cedfdfa54666e88c14ac10c73b5c6760ecc",
|
||||
"bytes": 96742
|
||||
},
|
||||
{
|
||||
"file": "a7-390-dark-figure1.png",
|
||||
"sha256": "26209d9a5ce258ea153aae5c6ada29f43e03a84df90f0418f2061b06dcabdbf3",
|
||||
"bytes": 51694
|
||||
},
|
||||
{
|
||||
"file": "home-390-dark-top.png",
|
||||
"sha256": "9374e1734da8a06e3f6be4c9573f42cc477f4418d512d251822c0d683a26d08b",
|
||||
"bytes": 67884
|
||||
},
|
||||
{
|
||||
"file": "uikit-320-dark-table.png",
|
||||
"sha256": "fd1a3bafda112cdcda94043a0702db62ac65fd489ee91fb95e91a1918f592935",
|
||||
"bytes": 69450
|
||||
},
|
||||
{
|
||||
"file": "uikit-320-light-top.png",
|
||||
"sha256": "d1d99386250faffe5e625cf76a8240797a8641feb45fc8aff5423bf442fd04b7",
|
||||
"bytes": 55346
|
||||
},
|
||||
{
|
||||
"file": "a7-390-dark-top.png",
|
||||
"sha256": "6c45a949e0458ba5c9afbadee3970e3021d0b6c91d41829b218be2519eecc5fa",
|
||||
"bytes": 83315
|
||||
},
|
||||
{
|
||||
"file": "a9-390-dark-figure0.png",
|
||||
"sha256": "5d225277ba0f72513fd06847f6d963d792625f02d584f6fef5ff70cbd9198ec4",
|
||||
"bytes": 44228
|
||||
},
|
||||
{
|
||||
"file": "interact-output.json",
|
||||
"sha256": "66dac062522576bf0aeac90e43250cfef1329dbb2c3a3da9ec93da5d0fc08453",
|
||||
"bytes": 4427
|
||||
},
|
||||
{
|
||||
"file": "follow-output.json",
|
||||
"sha256": "fc649b68545401ec63791d375df98724c67a78de2ae58763098c0679fb4ddecf",
|
||||
"bytes": 571
|
||||
},
|
||||
{
|
||||
"file": "scroll-output.json",
|
||||
"sha256": "9f86337fd163aa5dc890bf7886f7c6a3c12cf5d7eb1b900dc0e71e6fc4e4bc57",
|
||||
"bytes": 240
|
||||
},
|
||||
{
|
||||
"file": "sweep-output.json",
|
||||
"sha256": "3567444cf37cee1e533afe3b5ce068d8b96279bb3632181c737e60e4b71a3903",
|
||||
"bytes": 80138
|
||||
},
|
||||
{
|
||||
"file": "detail-output.json",
|
||||
"sha256": "cd873fe4b38cc1318558ddb62fb8dbd3ac26768ea045c396bed414b886945e81",
|
||||
"bytes": 16233
|
||||
},
|
||||
{
|
||||
"file": "tail-output.json",
|
||||
"sha256": "2cd21a5f4995c203b343be859d6e3bbf205d8e0ee1804209a30d744232b770be",
|
||||
"bytes": 3437
|
||||
},
|
||||
{
|
||||
"file": "scroll.js",
|
||||
"sha256": "8c9534f40ec2bef80642e11096b2923682043657dddc0dc4480510874385991a",
|
||||
"bytes": 1139
|
||||
},
|
||||
{
|
||||
"file": "tail.js",
|
||||
"sha256": "e1bd520aec85e01e42db0d121d1706b604ef4f4020c23abbfd206a57660911ed",
|
||||
"bytes": 1209
|
||||
},
|
||||
{
|
||||
"file": "follow.js",
|
||||
"sha256": "05889a77374ca279b266cfe87f7f5331cff55c6a557c30a4b3bf22de9071e36c",
|
||||
"bytes": 1442
|
||||
},
|
||||
{
|
||||
"file": "interact.js",
|
||||
"sha256": "617920ae1507120bf0bcda00f723ee8cd26ec890bbeb9a4acdb272165cf36a0a",
|
||||
"bytes": 2659
|
||||
},
|
||||
{
|
||||
"file": "sweep.js",
|
||||
"sha256": "392a80964e87fe07c1fa1019aa7f2f35f28dcbe6b8b5af314f0910cd2a3824b0",
|
||||
"bytes": 6895
|
||||
},
|
||||
{
|
||||
"file": "detail.js",
|
||||
"sha256": "fabceccbff9761426b105ccc06fc274a6b39fbf0f1274a73a9134776fa3c3f4d",
|
||||
"bytes": 2273
|
||||
}
|
||||
]
|
||||
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 124 KiB |
@@ -0,0 +1 @@
|
||||
{"d":{"tag":"PRE","role":"region","tabIndex":0,"client":284,"scroll":733,"lines":84,"after":{"left":449,"focus":true}},"ctfe":{"tag":"DIV","role":"region","tabIndex":0,"client":286,"scroll":620,"lines":1,"after":{"left":334,"focus":true}}}
|
||||
@@ -0,0 +1 @@
|
||||
async(page)=>{let out={};for(const [id,slug,sel]of[['d','пишем-аналог-функции-php-preg_match_all-на-языке-прог','pre'],['ctfe','новый-движок-ctfe','.table-scroll']]){await page.goto('http://127.0.0.1:65019/articles/'+encodeURIComponent(slug)+'/');await page.setViewportSize({width:320,height:1000});await page.getByLabel('Тема',{exact:true}).selectOption('dark');let loc=page.locator(sel);if(id==='d'){let sizes=await loc.evaluateAll(es=>es.map(e=>e.textContent.length));loc=loc.nth(sizes.indexOf(Math.max(...sizes)));}else loc=loc.first();await loc.scrollIntoViewIfNeeded();out[id]=await loc.evaluate(e=>({tag:e.tagName,role:e.getAttribute('role'),tabIndex:e.tabIndex,client:e.clientWidth,scroll:e.scrollWidth,lines:e.textContent.split('\n').length}));await loc.focus();for(let i=0;i<24;i++)await page.keyboard.press('ArrowRight');await page.waitForTimeout(250);out[id].after=await loc.evaluate(e=>({left:e.scrollLeft,focus:document.activeElement===e}));await loc.scrollIntoViewIfNeeded();await page.screenshot({path:'/tmp/progcode-ds-content/'+id+'-320-dark-scroll-region.png'});}return out;}
|
||||
|
After Width: | Height: | Size: 190 KiB |
|
After Width: | Height: | Size: 205 KiB |
|
After Width: | Height: | Size: 250 KiB |
|
After Width: | Height: | Size: 94 KiB |
@@ -0,0 +1 @@
|
||||
{"sourceHash":"0340b0d273bedcdca081ed2077bcb6959738fef0275737d4990271a3eddc0e3c","buildHash":"3d288ee728ff650f5bea0682254cfbfd832cf44338100d7e1d018cf757fabb95","base":"http://127.0.0.1:65019","session":"progcode-ds-cm-0340","results":[{"id":"home","path":"/","width":320,"theme":"light","status":200,"title":"ProgCode — записки о программировании","h1":"Разобраться.Написать. Проверить.","scrollWidth":320,"bodyChars":0,"canvas":"rgb(246, 244, 239)","h1Width":288,"h1ScrollWidth":288,"failedImages":[],"figures":0,"tableRows":0,"tableColumns":0,"downloads":0,"hasFalseMBHint":false,"top":"/tmp/progcode-ds-content/home-320-light-top.png"},{"id":"privacy","path":"/privacy/","width":320,"theme":"light","status":200,"title":"Приватность и аналитика — ProgCode","h1":"Приватностьи аналитика.","scrollWidth":320,"bodyChars":0,"canvas":"rgb(246, 244, 239)","h1Width":288,"h1ScrollWidth":288,"failedImages":[],"figures":0,"tableRows":0,"tableColumns":0,"downloads":0,"hasFalseMBHint":false},{"id":"sources","path":"/sources/","width":320,"theme":"light","status":200,"title":"Источники и редактура — ProgCode","h1":"Сохранить смысл.Уточнить контекст.","scrollWidth":320,"bodyChars":0,"canvas":"rgb(246, 244, 239)","h1Width":288,"h1ScrollWidth":288,"failedImages":[],"figures":0,"tableRows":0,"tableColumns":0,"downloads":0,"hasFalseMBHint":false},{"id":"uikit","path":"/ui-kit/","width":320,"theme":"light","status":200,"title":"Компоненты ProgCode — UI kit","h1":"Компоненты ProgCode.","scrollWidth":320,"bodyChars":0,"canvas":"rgb(246, 244, 239)","h1Width":288,"h1ScrollWidth":288,"failedImages":[],"figures":0,"tableRows":0,"tableColumns":0,"downloads":0,"hasFalseMBHint":false,"top":"/tmp/progcode-ds-content/uikit-320-light-top.png"},{"id":"tools","path":"/tools/","width":320,"theme":"light","status":200,"title":"JSON-инструмент — ProgCode","h1":"Привести JSONв порядок.","scrollWidth":320,"bodyChars":0,"canvas":"rgb(246, 244, 239)","h1Width":288,"h1ScrollWidth":288,"failedImages":[],"figures":0,"tableRows":0,"tableColumns":0,"downloads":0,"hasFalseMBHint":false},{"id":"missing","path":"/does-not-exist-design-system/","width":320,"theme":"light","status":404,"title":"ProgCode — записки о программировании","h1":"Такой страницы нет.","scrollWidth":320,"bodyChars":0,"canvas":"rgb(246, 244, 239)","h1Width":288,"h1ScrollWidth":288,"failedImages":[],"figures":0,"tableRows":0,"tableColumns":0,"downloads":0,"hasFalseMBHint":false},{"id":"about","path":"/about/","width":320,"theme":"light","status":200,"title":"О блоге — ProgCode","h1":"Блог одногопрограммиста.","scrollWidth":320,"bodyChars":0,"canvas":"rgb(246, 244, 239)","h1Width":288,"h1ScrollWidth":297,"failedImages":[],"figures":0,"tableRows":0,"tableColumns":0,"downloads":0,"hasFalseMBHint":false},{"id":"resources","path":"/resources/","width":320,"theme":"light","status":200,"title":"Справочники разработчика — ProgCode","h1":"Сначала —первоисточник.","scrollWidth":329,"bodyChars":0,"canvas":"rgb(246, 244, 239)","h1Width":288,"h1ScrollWidth":313,"failedImages":[],"figures":0,"tableRows":0,"tableColumns":0,"downloads":0,"hasFalseMBHint":false},{"id":"a0","path":"/articles/использование-jquery-в-webpack/","slug":"использование-jquery-в-webpack","width":320,"theme":"light","status":200,"title":"JavaScript. Использование jQuery в Webpack — ProgCode","h1":"JavaScript. Использование jQuery в Webpack","scrollWidth":320,"bodyChars":2824,"bodyWidth":288,"fontSize":"18px","lineHeight":"30.96px","bodyColor":"rgb(36, 37, 33)","canvas":"rgb(246, 244, 239)","h1Width":288,"h1ScrollWidth":288,"failedImages":[],"figures":0,"tableRows":0,"tableColumns":0,"downloads":0,"hasFalseMBHint":false},{"id":"a1","path":"/articles/bitrix-api-add-foto-editor/","slug":"bitrix-api-add-foto-editor","width":320,"theme":"light","status":200,"title":"Bitrix API. Вставка на страницу встроенного редактора картинок — ProgCode","h1":"Bitrix API. Вставка на страницу встроенного редактора картинок","scrollWidth":320,"bodyChars":2387,"bodyWidth":288,"fontSize":"18px","lineHeight":"30.96px","bodyColor":"rgb(36, 37, 33)","canvas":"rgb(246, 244, 239)","h1Width":288,"h1ScrollWidth":288,"failedImages":[],"figures":2,"tableRows":0,"tableColumns":0,"downloads":0,"hasFalseMBHint":false},{"id":"a2","path":"/articles/о-tilix-и-d-интервью-с-геральдом-нанном/","slug":"о-tilix-и-d-интервью-с-геральдом-нанном","width":320,"theme":"light","status":200,"title":"О Tilix и D: интервью с Геральдом Нанном — ProgCoLine truncated
|
||||
@@ -0,0 +1,39 @@
|
||||
async page => {
|
||||
const pages=[{"id": "home", "path": "/"}, {"id": "privacy", "path": "/privacy/"}, {"id": "sources", "path": "/sources/"}, {"id": "uikit", "path": "/ui-kit/"}, {"id": "tools", "path": "/tools/"}, {"id": "missing", "path": "/does-not-exist-design-system/"}, {"id": "about", "path": "/about/"}, {"id": "resources", "path": "/resources/"}, {"id": "a0", "path": "/articles/использование-jquery-в-webpack/", "slug": "использование-jquery-в-webpack"}, {"id": "a1", "path": "/articles/bitrix-api-add-foto-editor/", "slug": "bitrix-api-add-foto-editor"}, {"id": "a2", "path": "/articles/о-tilix-и-d-интервью-с-геральдом-нанном/", "slug": "о-tilix-и-d-интервью-с-геральдом-нанном"}, {"id": "a3", "path": "/articles/bitrix-api-функция-для-генерации-кода-элемент/", "slug": "bitrix-api-функция-для-генерации-кода-элемент"}, {"id": "a4", "path": "/articles/bitrix-api-создание-добавление-торгового-пре/", "slug": "bitrix-api-создание-добавление-торгового-пре"}, {"id": "a5", "path": "/articles/firefox-увеличение-ожидания-загрузки-timeout-стр/", "slug": "firefox-увеличение-ожидания-загрузки-timeout-стр"}, {"id": "a6", "path": "/articles/ошибка-php-ssl-certificate-error-unable-to-get-local-issuer-certificate/", "slug": "ошибка-php-ssl-certificate-error-unable-to-get-local-issuer-certificate"}, {"id": "a7", "path": "/articles/dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол/", "slug": "dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол"}, {"id": "a8", "path": "/articles/пишем-аналог-функции-php-preg_match_all-на-языке-прог/", "slug": "пишем-аналог-функции-php-preg_match_all-на-языке-прог"}, {"id": "a9", "path": "/articles/новый-движок-ctfe/", "slug": "новый-движок-ctfe"}, {"id": "a10", "path": "/articles/особенности-vibe-d/", "slug": "особенности-vibe-d"}, {"id": "a11", "path": "/articles/вирус-самопроизвольный-запуск-брауз/", "slug": "вирус-самопроизвольный-запуск-брауз"}, {"id": "a12", "path": "/articles/компиляция-64-x-разрядных-программ-на-dmd-по/", "slug": "компиляция-64-x-разрядных-программ-на-dmd-по"}, {"id": "a13", "path": "/articles/привет-мир/", "slug": "привет-мир"}],base='http://127.0.0.1:65019',dir='/tmp/progcode-ds-content/';
|
||||
const errors=[],external=[],results=[];
|
||||
page.on('pageerror',e=>errors.push(String(e)));
|
||||
page.on('request',r=>{if(!r.url().startsWith(base)&&!r.url().startsWith('data:'))external.push(r.url());});
|
||||
await page.addInitScript(()=>{try{localStorage.setItem('progcode-theme','system');}catch{}});
|
||||
for(const width of [320,390,1440]) for(const theme of ['light','dark']) {
|
||||
await page.setViewportSize({width,height:1000});await page.emulateMedia({colorScheme:theme,reducedMotion:'reduce'});
|
||||
for(const item of pages){
|
||||
const res=await page.goto(base+item.path,{waitUntil:'networkidle'});
|
||||
await page.getByLabel('Тема',{exact:true}).selectOption(theme);
|
||||
const stats=await page.evaluate(()=>{
|
||||
const body=document.querySelector('main.article-shell .article-content'),h=document.querySelector('h1');
|
||||
const styles=body?getComputedStyle(body):null;
|
||||
const rect=body?.getBoundingClientRect();
|
||||
return {title:document.title,h1:h?.textContent,width:innerWidth,scrollWidth:document.documentElement.scrollWidth,theme:document.documentElement.dataset.theme,bodyChars:body?.textContent.length||0,bodyWidth:rect?.width,fontSize:styles?.fontSize,lineHeight:styles?.lineHeight,bodyColor:styles?.color,canvas:getComputedStyle(document.body).backgroundColor,h1Width:h?.clientWidth,h1ScrollWidth:h?.scrollWidth,failedImages:[...document.images].filter(i=>i.getAttribute('src')&&i.complete&&!i.naturalWidth).map(i=>i.getAttribute('src')),figures:body?.querySelectorAll('figure').length||0,tableRows:body?.querySelectorAll('table tbody tr').length||0,tableColumns:body?.querySelectorAll('table thead th').length||0,downloads:document.querySelectorAll('a[download]').length,hasFalseMBHint:/До\s*1\s*МБ/.test(document.querySelector('main')?.textContent||'')};
|
||||
});
|
||||
const record={...item,width,theme,status:res.status(),...stats};
|
||||
const topTake=(width===320&&theme==='light'&&['home','a6','a11','a8','uikit'].includes(item.id))||(width===390&&theme==='dark'&&['home','a1','a2','a7','a9','tools','privacy','sources','missing'].includes(item.id))||(width===1440&&['a2','a7','a10','uikit'].includes(item.id));
|
||||
if(topTake){record.top=dir+item.id+'-'+width+'-'+theme+'-top.png';await page.screenshot({path:record.top});}
|
||||
if(width===390&&theme==='dark'&&['a1','a7','a9','a10','a11'].includes(item.id)){
|
||||
const figs=page.locator('main.article-shell .article-content figure');record.figureShots=[];
|
||||
for(let n=0;n<await figs.count();n++){const file=dir+item.id+'-'+width+'-'+theme+'-figure'+n+'.png';await figs.nth(n).screenshot({path:file});record.figureShots.push(file);}
|
||||
}
|
||||
if(width===1440&&['a2','a7','a10'].includes(item.id)){
|
||||
const p=page.locator('main.article-shell .article-content p').filter({hasNot:page.locator('pre')});const n=Math.min(8,(await p.count())-1);if(n>=0){await p.nth(n).scrollIntoViewIfNeeded();record.middle=dir+item.id+'-'+width+'-'+theme+'-middle.png';await page.screenshot({path:record.middle});}
|
||||
record.lineSamples=await page.evaluate(()=>{
|
||||
const ps=[...document.querySelectorAll('main.article-shell .article-content p')].filter(p=>p.textContent.length>250&&!p.querySelector('pre')).slice(0,4);
|
||||
return ps.map(p=>{const walker=document.createTreeWalker(p,NodeFilter.SHOW_TEXT),lines=new Map();let node;
|
||||
while(node=walker.nextNode()){for(let i=0;i<node.textContent.length;i++){const range=document.createRange();range.setStart(node,i);range.setEnd(node,i+1);const rect=range.getBoundingClientRect();if(!rect.width||!rect.height)continue;const key=Math.round(rect.top);lines.set(key,(lines.get(key)||'')+node.textContent[i]);}}
|
||||
const strings=[...lines.values()].map(s=>s.trim()).filter(Boolean);return{length:p.textContent.length,lineCharacters:strings.map(s=>s.length),lastLineExcludedMedian:(()=>{const x=strings.slice(0,-1).map(s=>s.length).sort((a,b)=>a-b);return x[Math.floor(x.length/2)]||0;})()};
|
||||
});
|
||||
});
|
||||
}
|
||||
results.push(record);
|
||||
}
|
||||
}
|
||||
return {sourceHash:'0340b0d273bedcdca081ed2077bcb6959738fef0275737d4990271a3eddc0e3c',buildHash:'3d288ee728ff650f5bea0682254cfbfd832cf44338100d7e1d018cf757fabb95',base,session:'progcode-ds-cm-0340',results,errors,external};
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"a2":{"status":200,"endText":"аботающих над ним, по определению очень мало.\n\nЯ также считаю, что D является естественным преемником Delphi, по крайней мере с GtkD, как мощным инструментом для создания настольных приложений. Благодаря быстрому времени компиляции и легкому изучению языка, он приносит множество лучших атрибутов Delphi в современную эпоху. И можно писать фигурные скобки вместо Begin и End — по моей шуточной оценке, это повышает эффективность процентов на 75.\n\nОригинал (англ.) Оригинальная публикация в The D Blog","anchor":{"hash":"#section-5","y":282.6875}},"a7":{"status":200,"endText":"не пула.\n\nВторая итерация моих усилий будет посвящена следующим улучшениям: кэш потока, параллельная маркировка и одновременная маркировка, использующая трюк с разветвлением (fork).\n\nНа третьем этапе автор планировал новую архитектуру, вдохновлённую Immix, с маркировкой областей памяти.\n\nНа этой оптимистичной ноте я завершаю изложение своих планов. Предупреждаю, что собираюсь начать с реализации для Linux, постепенно доводя её до совместимости с POSIX. Поддержка Windows — отдалённая возможность."},"a10":{"status":200,"endText":" API, а вычисление не оставляйте надолго в потоке цикла событий. Если сторонняя библиотека блокирует поток, вид «синхронного» кода не делает её автоматически кооперативной.\n\nПроверяйте приложение на задержках, отмене и ошибках зависимостей. Один медленный обработчик, общий изменяемый объект или неограниченная очередь способны свести на нет преимущества выбранной модели. Поэтому заявления о числе запросов и расходе памяти полезно сопровождать условиями измерения, а не переносить из общего обзора."},"a13":{"status":200,"endText":"С чего начинается блог\n\nЯ — автор этого блога, DarkRiDDeR. Пишу об информационных технологиях и программировании: о задачах, которые приходится решать, и об инструментах, которые хочется понять лучше.\n\nЭто первая запись. Надеюсь, следующие заметки окажутся полезными и интересными. Спасибо, что заглянули!"}}
|
||||
@@ -0,0 +1 @@
|
||||
async(page)=>{let o={};await page.setViewportSize({width:390,height:1000});for(const [id,slug]of[['a2','о-tilix-и-d-интервью-с-геральдом-нанном'],['a7','dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол'],['a10','особенности-vibe-d'],['a13','привет-мир']]){const res=await page.goto('http://127.0.0.1:65019/articles/'+encodeURIComponent(slug)+'/');if(res.status()===404){o[id]={status:404};continue;}await page.getByLabel('Тема',{exact:true}).selectOption('dark');await page.locator('.article-content').scrollIntoViewIfNeeded();o[id]={status:res.status(),endText:(await page.locator('.article-content').innerText()).slice(-500)};await page.locator('.article-content').evaluate(e=>window.scrollTo({top:e.getBoundingClientRect().bottom+window.scrollY-750,behavior:'instant'}));await page.waitForTimeout(300);await page.screenshot({path:'/tmp/progcode-ds-content/'+id+'-390-dark-end.png'});if(id==='a2'){const a=page.locator('details a').nth(4);await a.click();await page.waitForTimeout(1200);o[id].anchor=await page.evaluate(()=>({hash:location.hash,y:document.querySelector(location.hash).getBoundingClientRect().top}));}}return o;}
|
||||
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 109 KiB |
|
After Width: | Height: | Size: 108 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 54 KiB |
@@ -0,0 +1,59 @@
|
||||
# Content manager — actual DS candidate 0340b0d273be
|
||||
|
||||
Verdict: **REQUEST CHANGES** for this exact candidate. C01 coherent fixtures is resolved. C02 resource H1 overflow blocks adoption; the index-date regression independently reported by main also needs the next exact candidate. No successor, CI, deployment, full-site recovery or production analytics acceptance is implied.
|
||||
|
||||
Source `0340b0d273bedcdca081ed2077bcb6959738fef0275737d4990271a3eddc0e3c`; build `3d288ee728ff650f5bea0682254cfbfd832cf44338100d7e1d018cf757fabb95`; immutable `/tmp/progcode-ds-frozen-0340b0d273be`; URL `http://127.0.0.1:65019`.
|
||||
|
||||
## Personal evidence
|
||||
|
||||
Own isolated Chrome session `progcode-ds-cm-0340`, widths320/390/1440, actual light/dark via labelled theme control. `content-evidence/sweep-output.json` records22 URLs×6=132 actual navigations, status, body dimensions, images, full body text lengths and desktop character-per-line measurements. Runtime errors0; external requests0; failed images0; download elements0. Unknown URL returns actual404 in all6 cases. All14 canonical articles were loaded at all6 settings. This is browser content/layout evidence, not a new technical re-edit of the historical corpus.
|
||||
|
||||
Personally opened pixels include TLS/Windows/D long titles320light; home390dark; Tilix1440dark top/light middle/dark end390; GC1440light middle/390dark end; Vibe1440dark middle/390dark end; FileInput real preview and diagram390dark; GC long caption390dark; UIkit1440dark and320dark table; privacy/sources/404390dark; resources320light; D/CTFE keyboard-right320dark; hello390dark. Saved screenshots beyond this named inspected set are captures, not a claim every screenshot was visually read. Scripts and JSON are saved with SHA256 manifest.
|
||||
|
||||
## C02 — real blocking content overflow
|
||||
|
||||
`/resources/`,320px, both themes, `main h1` “Сначала — первоисточник.”. After `document.fonts.ready`: viewport320,document.scrollWidth329,H1client288/H1scroll313; computed font70043px/48.16px Arial; overflow-wrap normal. Glyphs extend beyond their288px box, so bounding-box-only checks miss it. `resources-320-light.png` is329px wide and shows the word reaching the right edge. Source scope `.simple-page h1` mobile typography. Main received this exact finding immediately.
|
||||
|
||||
Clearance: successor H1 uses the approved mobile34px range and safe wrapping; reproduce320light/dark with document width320, full readable word and visible16px margins. No overflow hiding or text truncation. Compromise: retain the full title and headline hierarchy, accept natural extra line instead of shrinking all prose. Long article titles currently wrap inside long Russian words at320; complete/readable and no clipping, so this is a non-blocking typography tradeoff, not a fabricated data defect.
|
||||
|
||||
## Accepted content cases within this pin
|
||||
|
||||
- Full historical bodies remain available in DOM. Tilix/GC/Vibe beginnings, middles and endings retain prose, lists, source attribution where present, and “Конец заметки”/related reading hierarchy. Desktop prose740px,19px/32.68px; mobile18px. Twelve long paragraph samples have non-final line medians69–76characters in both themes, supporting the proposed68ch/740px cap with real Russian text.
|
||||
- Full D module84lines: actual focusable PRE role=region/tabindex0, client284/scroll733. Keyboard ArrowRight reaches scrollLeft449, document remains320. CTFE contains header+4body rows×3columns; focusable table region286/620 reaches334right edge. Both have visible keyboard focus; whole-page horizontal overflow absent. Initial harness incorrectly focused D parent and used End (document navigation); corrected `scroll.js` is the evidence, not that first attempt.
|
||||
- FileInput435px original preview scales within358px figure; preview description stays distinct from edit/save flow diagram. GC135character caption wraps fully; semantic figure text and borders remain readable against dark canvas. Light artwork is intentional readable content, not forcibly inverted.
|
||||
- Hello has its own short text, no manufactured long TOC. Mobile Tilix details closes/reopens; section5 anchor settles at y249.7px after smooth scroll completes. Immediate intermediate-scroll coordinates are not a target-position defect.
|
||||
- Search actual jQuery1,Bitrix3,Dtopic6,missing0,D+jQuery0; actual reset button restores14. Existing titles/dates remain associated with results; index-date presentation regression flagged separately by main is not accepted by this report.
|
||||
- JSON actual initial example, cleared empty→“Введите JSON для проверки.”; invalid syntax→specific message+aria-invalid=true; success result40entries fully retained. Copy failure was deliberately injected into this own browser clipboard API and actual button displayed “Не удалось скопировать. Выделите текст результата вручную.”. This proves fallback, not a real OS clipboard denial. No false1МБ promise. Initial `interact` field named empty actually ran the prefilled example; corrected clear+format in `follow-output.json` is the empty-input proof.
|
||||
- UIkit7specimens each expose owning article title/link/date/author: TLS12Jul2017,Windows20May2017,Hello03May2017,Dregex17Jun2017,CTFE26May2017,Bitrix19Oct2018,GC24Jun2017. No mixed Tilix/Diet fixture. Real table/module/figures use the shared rendering. Downloads explicitly not applicable; no invented downloadable artifact or successful download event.
|
||||
- Privacy source+render describes109268613,Webvisor disabled,clickmap enabled,standard bounce15sec separate from60sec+75%custom engagement,local search/JSON processing,normal page/referrer telemetry and limited custom payloads; it makes no legal guarantee. Sources truthfully limits scope to known14 historical articles, preserves original/translation attribution and distinguishes diagrams from recovered screenshots. Official Yandex link verification belongs to already supplied source evidence; local guard deliberately prevents SDK traffic here.
|
||||
|
||||
## Route-level result
|
||||
|
||||
| Actual canonical route | Scoped result |
|
||||
| --- | --- |
|
||||
| `/` | Scoped content rendering accepted |
|
||||
| `/privacy/` | Scoped content rendering accepted |
|
||||
| `/sources/` | Scoped content rendering accepted |
|
||||
| `/ui-kit/` | Scoped content rendering accepted |
|
||||
| `/tools/` | Scoped content rendering accepted |
|
||||
| `/does-not-exist-design-system/` | Scoped content rendering accepted |
|
||||
| `/about/` | Scoped content rendering accepted |
|
||||
| `/resources/` | BLOCK C02: 320px +9px |
|
||||
| `/articles/использование-jquery-в-webpack/` | Scoped content rendering accepted |
|
||||
| `/articles/bitrix-api-add-foto-editor/` | Scoped content rendering accepted |
|
||||
| `/articles/о-tilix-и-d-интервью-с-геральдом-нанном/` | Scoped content rendering accepted |
|
||||
| `/articles/bitrix-api-функция-для-генерации-кода-элемент/` | Scoped content rendering accepted |
|
||||
| `/articles/bitrix-api-создание-добавление-торгового-пре/` | Scoped content rendering accepted |
|
||||
| `/articles/firefox-увеличение-ожидания-загрузки-timeout-стр/` | Scoped content rendering accepted |
|
||||
| `/articles/ошибка-php-ssl-certificate-error-unable-to-get-local-issuer-certificate/` | Scoped content rendering accepted |
|
||||
| `/articles/dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол/` | Scoped content rendering accepted |
|
||||
| `/articles/пишем-аналог-функции-php-preg_match_all-на-языке-прог/` | Scoped content rendering accepted |
|
||||
| `/articles/новый-движок-ctfe/` | Scoped content rendering accepted |
|
||||
| `/articles/особенности-vibe-d/` | Scoped content rendering accepted |
|
||||
| `/articles/вирус-самопроизвольный-запуск-брауз/` | Scoped content rendering accepted |
|
||||
| `/articles/компиляция-64-x-разрядных-программ-на-dmd-по/` | Scoped content rendering accepted |
|
||||
| `/articles/привет-мир/` | Scoped content rendering accepted |
|
||||
|
||||
## Remaining gates
|
||||
|
||||
Fix C02 and adopt a new immutable identity; restore index historical full-date presentation and provide main's complete146date parity proof. Main is also adding the separately required accessibility-information route. A personal successor review must inspect those exact changed pixels/HTML. True200% browser/text zoom and exhaustive all-state effective contrast were not personally proved by this sweep; no zoom/contrast-global PASS is claimed. Current text/links/focus are visibly readable in the named light/dark pixels, but that is narrower than a full accessibility certification. Product files were not changed by this reviewer. Semrush74unseen mandatory research remains open independently.
|
||||
@@ -0,0 +1,59 @@
|
||||
# Creative director — actual candidate 0340b0d273be
|
||||
|
||||
**REQUEST CHANGES for this immutable candidate.** The implemented identity and editorial direction are accepted within the personally reviewed visual/interaction scope below. Resources H1 overflow and catalog Field width block candidate adoption; historical date presentation and required accessibility information remain pending consolidated successor checks. No successor, deployment or whole-site restoration PASS is granted.
|
||||
|
||||
Reviewer `/root/creative_director`, 27.10.2026. Source `0340b0d273bedcdca081ed2077bcb6959738fef0275737d4990271a3eddc0e3c`; build `3d288ee728ff650f5bea0682254cfbfd832cf44338100d7e1d018cf757fabb95`. Manifest personally read:228inputs/714outputs; frozen `/tmp/progcode-ds-frozen-0340b0d273be`; URL `http://127.0.0.1:65019`. Identity comes from manifest, not an independently recomputed binary digest.
|
||||
|
||||
## Personal evidence and boundaries
|
||||
|
||||
Own real Chrome session `progcode-cd-ds`, localhost-only request allowlist; no production opened. `run.js` captured13 cases×320/390/1440×light/dark=78 states plus18 middle views. `services.js` added12 about/resources states. I personally opened all96 main/middle PNGs and the six additional service PNGs named below. Other service captures remain captures, not a claim of personal visual inspection. All main matrix document widths equalled their viewport; additional resources320 exposed329px document width. Main sweep page errors0, external requests0, `typeof window.ym` undefined; this establishes the local guard, not production telemetry behavior.
|
||||
|
||||
Canonical URLs, actual query/scroll paths, page status and screenshot naming are preserved in `evidence/creative/run.js` and `run-results.txt`; service/interaction scripts and outputs are alongside them. All files ending `.png` are real900px viewport screenshots, not mockups or fullpage reduction. Script attempts that failed on harness assumptions are not product defects. In particular initial keyboard values0 were sampled before native scrolling settled; corrected `keyboard-results.txt` proves focused table/code regions scroll with ArrowRight (35px/31px). It does not claim an exhaustive right-edge keyboard test; CM independently provides that proof.
|
||||
|
||||
Main supplies independent preservation proof of28 body innerHTMLs,11media,6sourceinputs and81routes. PE owns FSD import boundaries, complete DOM/analytics preservation and source/build reproduction. I reviewed actual shared primitives/theme/tokens/search/JSON/reader/privacy/source/UIkit ownership code but do not turn directory names or this visual review into an architectural PASS.
|
||||
|
||||
## Actual blockers and clearance
|
||||
|
||||
| Finding | Actual evidence / reader consequence | Required successor evidence / compromise |
|
||||
| --- | --- | --- |
|
||||
| CD-C01: desktop catalog Field shrank after wrapper refactor | `catalog-1440-light.png`, `zero-1440-light.png`: search input192px despite substantial free row space; placeholder and useful query context truncate unnecessarily. Source `.catalog-controls label` flex no longer sizes the actual outer `.field`. Sent main immediately; main confirms fix will enter successor. | Actual search field restores roughly390px desktop width; narrow row spans available width, topics/status/reset remain clear. Recheck1440light/dark and320/390. Preserve740px reading body; no need to redesign catalog. |
|
||||
| CD-C02: resources heading exceeds narrow screen | Personally reproduced `/resources/`320light/dark document329px; personally opened `resources-320-light.png`, full word reaches/crops at right screen edge. Same finding as CM C02, independently corroborated. | Full “Сначала — первоисточник.” at320both themes inside screen with normal margins, document width320. Approved smaller mobile headline range/safe wrapping; retain words, no clipping/overflow hiding. |
|
||||
| Existing baseline date presentation regression | Shared ListItem visibly shows abbreviated months/non-padded days (`kit-labels` and catalog). Main reports76changed list presentations; ISO/days preserved. | Main's complete146date parity proof plus actual catalog/related/UIkit pixels on exact successor. Restoring existing full dates is conservative; no fresh-looking dates or corpus rewrites. |
|
||||
| Required accessibility information pending | Current footer offers source/privacy/UIkit but separate required accessibility information is being added by main. | Exact new page/footer personally opened and truthful scope checked. No claim of accessibility certification, nonexistent contacts or guaranteed conformance. |
|
||||
|
||||
These are exact-candidate adoption blocks. A promise or working-tree correction does not clear them for0340. No additional creative redesign is requested.
|
||||
|
||||
## Eighteen actual decision outcomes
|
||||
|
||||
| Proposal decision | Actual scoped decision and evidence |
|
||||
| --- | --- |
|
||||
| CD-DS01 journal identity | **Accept visual implementation.** Paper/ink/orange, calm rule system and `progcode_` masthead make the technical journal recognisable; real lead/recipes/index precede service chrome. It reads as one programmer's publication. No SaaS sales block or invented newsroom. |
|
||||
| CD-DS02 native P+cursor | **Accept actual native-size presentation.** UIkit16/32/48light/dark pixels keep P counter/stem and separate warm cursor discernible. Dark tile can blend into canvas without losing silhouette. Genuine ICO/PNG/touch binary/integration checks remain illustrator/PE evidence; I do not claim a new OS install test. |
|
||||
| CD-DS03 path wordmark | **Accept.** Actual320/390header with168px wordmark fits beside theme select, navigation remains separate and readable;1440 retains quiet proportion. Custom monoline letters balance prose without dominating it. Accessible Brand implementation was read; no trademark exclusivity assertion. |
|
||||
| CD-DS04 light palette | **Accept named actual surfaces.** Home, catalog, article, caption, status and service text visibly readable. Muted panel now coherent with approved semantic tokens; the original4.02contrast defect is not reproduced in these pixels. No exhaustive effective-color certification is claimed. |
|
||||
| CD-DS05 dark palette | **Accept named actual surfaces.** All13main cases shown dark; control borders, focus and colored status remain distinguishable. Text feels warmer than a neon-terminal imitation. Existing light diagrams use deliberate wells. |
|
||||
| CD-DS06 prose measure | **Accept reading composition.** Own computed Tilix paragraph19pxGeorgia/32.68leading/740px; mobile18px remains legible across the full paragraph screenshots. Desktop answers have comfortable line lengths, author/question turns remain apparent. CM independently measures69–76nonfinal-line medians. True200%zoom is not personally proven here. |
|
||||
| CD-DS07 heading hierarchy | **Revise C02 only.** Article long mixed titles and Hello hierarchy remain readable in tested views, no line clamp. Resources320headline needs correction; do not solve by shrinking all prose. |
|
||||
| CD-DS08 home/topics | **Accept IA; dates pending.** CTFE lead/practical recipes/D-Bitrix-Windows routes and complete14itemindex support actual intents. Date formatting regression must be restored before adoption. |
|
||||
| CD-DS09 search | **Revise C01 width; accept behavior.** Own jQuery1,Bitrix3,D+Bitrix0,reset14. Zero state names recovery plainly; query is not falsely called full-body search. Search field width currently impairs desktop reading of query. |
|
||||
| CD-DS10 long/short reading | **Accept scoped implementation.** Tilix section rail remains visible without covering desktop body; mobile disclosure is compact/collapsible. Own last link resolves `#section-6`. Hello has no manufactured long TOC. Related-reading usefulness follows existing topic relationships; no measured retention uplift claimed. |
|
||||
| CD-DS11 code/table | **Accept local-region treatment.** Actual module text/punctuation retained and table keeps columns; visible focus. Corrected own keyboard test moves both regions, whole-page width stays320. CM separately proves fullmodule and table right edges; my initial End-key check is not right-edge evidence. |
|
||||
| CD-DS12 illustration treatment | **Accept reviewed placements.** Bitrix435px image restrained on desktop, scales on mobile; diagrams/captions preserve meaning in dark lightwell without inversion. No decorative repeated covers. Eleven-file preservation is main's independent proof. |
|
||||
| CD-DS13 JSON | **Accept actual states reviewed.** Own valid JSON renders full result; malformed input provides syntax explanation; copy-denial injected in this browser shows actual manual-selection fallback; clear empties field/disablescopy. Labels and text distinguish status beyond color. No false1MB promise. These checks do not test OSclipboard permission integration. |
|
||||
| CD-DS14 about/sources | **Accept visual/editorial scope.** About names one programmer and real corpus; sources limits known14historicalitems, keeps attribution/version context and separates recovered images/new diagrams. No internalhash badge or fictitious process guarantees. |
|
||||
| CD-DS15 privacy | **Accept rendered disclosure scope.** Clearly separates local query/JSON from external Metrika page telemetry, mentions counter/settings without anonymous/legal guarantees. Production settings remain separate analytics evidence; localhost guard personally observed. |
|
||||
| CD-DS16 404 | **Accept.** Own unknownroute returns actual404 at all6settings, branded readable recovery links. No home redirect masking absence. Legacy parity belongs to main/PE proof. |
|
||||
| CD-DS17 consumed UIkit | **Accept scope, pending date parity.** Real same Brand/Field/Button/ListItem/Reader/Json surfaces appear in product pages, not disconnected specimens. C01 concept mixture resolved: actual TLS/Windows/Hello/code/table/media specimens each own source label/date. Native favicon strip is exactCSSsize. No fake download action. |
|
||||
| CD-DS18 FSD/analytics continuity | **Accept intended visual coherence; PE gate retained.** Shared product primitives visibly consumed across these routes. My review does not certify import graph, bundle identity, preservation count or actual production goals. Required accessibility route/footer and dates remain successor work. |
|
||||
|
||||
## Personally opened file list
|
||||
|
||||
Relative to `evidence/creative/evidence/`:
|
||||
|
||||
- All six width/theme combinations for each basename `home`, `catalog`, `long`, `short`, `code`, `table`, `media`, `json`, `zero`, `404`, `privacy`, `sources`, `kit` (78PNG): `{name}-{320|390|1440}-{light|dark}.png`.
|
||||
- All six combinations for `long-middle`, `code-middle`, `kit-middle` (18PNG). The first `code-middle` capture is final compilation command, not falsely described as the longest module; the later interaction targets the actual2839character block.
|
||||
- Additional personally opened service files: `resources-320-light.png`, `resources-390-dark.png`, `resources-1440-light.png`, `about-320-dark.png`, `about-390-light.png`, `about-1440-dark.png`.
|
||||
- Additional personally opened interactions: `json-success-390-dark.png`, `json-copy-denied-390-dark.png`, `json-error-390-dark.png`, `table-keyboard-right-320-dark.png`, `code-keyboard-right-320-dark.png`, `kit-real-specimens-1440-dark.png`. The two immediate keyboard screenshots show focus before scroll settled; corrected numerical evidence is separately retained.
|
||||
- `long-anchor-end-1440-dark.png` and `*-keyboard-delayed-*` were captured but not used as personally opened pixel evidence. Remaining resources/about captures beyond six named above likewise are not claimed visually inspected.
|
||||
|
||||
Own report/evidence only; no product edits. Successor needs fresh personal adoption against its exact source/build plus changedH1/Field/date/accessibility pixels. No historical Semrush/unseen recovery gate, CI, publish or production verification is closed by this report.
|
||||
@@ -0,0 +1,73 @@
|
||||
# Designer — first actual DS candidate
|
||||
|
||||
27.10.2026, Europe/Moscow · role `/root/designer` · **REQUEST CHANGES**. This verdict belongs to the first frozen DS artifact, not an older V2 or analytics-only release.
|
||||
|
||||
## Candidate and personal scope
|
||||
|
||||
- Source `0340b0d273bedcdca081ed2077bcb6959738fef0275737d4990271a3eddc0e3c` confirmed by my own browser request to `/build-identity.json`.
|
||||
- Supplied build `3d288ee728ff650f5bea0682254cfbfd832cf44338100d7e1d018cf757fabb95`; root reports228sourceinputs/714outputfiles. I did not independently rehash the complete output in this designer audit.
|
||||
- Frozen local `http://127.0.0.1:65019/`, `/tmp/progcode-ds-frozen-0340b0d273be`, supplied servicePID95545.
|
||||
- My isolated Chrome session `progcode-ds-designer0340`, separate from main. Production was not opened. No source/app changes made.
|
||||
|
||||
I personally ran **96 page visits:16 layouts×320/390/1440×light/dark**. Cases: home `/`; catalog `/category/dlang/`; greeting; Tilix; GC; Vibe.d; D/PHP code; CTFE table; Bitrix FileInput; `/privacy/`; `/sources/`; `/resources/`; `/about/`; `/tools/`; unknown `/ds-designer-missing/`; `/ui-kit/`. Exact article URLs, source identity, viewport, HTTP status, measured overflow, header/control positions and sampled contrast are recorded in [matrix.json](../designer-evidence/matrix.json). Additional actual search/theme/JSON/code/table/image/line-length actions are in [behaviour.json](../designer-evidence/behaviour.json).
|
||||
|
||||
Generated152screenshots are preserved under `designer-evidence`; **49 specific pixel files were actually opened**, listed in [personally-opened-pixels.json](../designer-evidence/personally-opened-pixels.json). This is not a claim that every generated image or full article paragraph was visually opened. I inspected each substantially different layout and key body state from that set. Early GC lazy-image screenshots were captured before decode: I did not call them broken; I explicitly scrolled, awaited image.decode(), captured and opened the decoded replacements.
|
||||
|
||||
## Blocking findings
|
||||
|
||||
### D-DS01 — resources H1 overflows on320px, both themes
|
||||
|
||||
Actual `/resources/` at320 produces document.scrollWidth**329**. The word «первоисточник» extends beyond the right edge and is visibly cropped. Pixels: [light](../designer-evidence/resources-320-light-top.png), [dark](../designer-evidence/resources-320-dark-top.png). This is the only document-width overflow in my96-case baseline.
|
||||
|
||||
Chosen compromise: service-heading font-size/clamp or sensible word wrapping so the real word fits; keep the complete text, preserve hierarchy and do not introduce global overflow hiding. Root/CM report a future fix in progress, but it is not in0340 and is not accepted here.
|
||||
|
||||
Acceptance: exact successor `/resources/` and its legacy equivalent at320/390, light/dark; complete H1, documentWidth==viewport, no clipping/hiding. Personally open new320pixels.
|
||||
|
||||
### D-DS02 — extracted Field lost desktop search width
|
||||
|
||||
I independently confirmed the CD finding on this frozen artifact. At1440, actual search input and wrapper measure**192px** inside a1200px controls row, despite available room and the intended390px field measure. The placeholder is squeezed while a large dead gap appears between field and topics. Pixel: [search-desktop-field.png](../designer-evidence/search-desktop-field.png); measurements [field.txt](../designer-evidence/field.txt).
|
||||
|
||||
Cause/compromise: old selector styled label.flex while the extracted component is a div.field. Apply layout ownership to `.catalog-controls>.field` (`flex:1;max-width:390px`), with full width in the existing narrow-controls breakpoint. Do not enlarge every Field everywhere: JSON textarea and other service fields have separate layout owners.
|
||||
|
||||
Acceptance: exact successor home+UI-kit search at1440 shows useful field width390px, field and topics share row without collision;320/390/950 remain bounded, input label/focus/positive/zero/reset work.
|
||||
|
||||
## Additional pending gates, not silently waived
|
||||
|
||||
- **Taxonomy date presentation**: root independently found76 index dates changed presentation after shared ArticleListItem extraction. My catalog320pixels show abbreviated months. Root is restoring full-month/two-digit presentation for legacy catalogs; this preservation correction requires its own successor check. I do not accept it based on pending source changes.
|
||||
- **Accessibility information page**: requested separate service page is not yet in this artifact; root reports it will join the successor. Its actual rendered content/navigation is still to be reviewed.
|
||||
- **True200% browser zoom** is not verified by this setup. See the explicit measured limits below. A CSS model is not relabeled as browser zoom PASS.
|
||||
- Future CI/container/publicTLS/digest/deployment identity and Semrush remain separate gates. This first-candidate audit is not publication acceptance.
|
||||
|
||||
## What works in the actual candidate
|
||||
|
||||
### Brand, themes and actual colour pairings
|
||||
|
||||
At320 the168px native logo image plus select fit in the masthead; measured brand-link right204px, select left216/right304px, preserving12px gap and16px right gutter. Four real navigation links remain visible in a second row. Native P/cursor is readable; dark wordmark switches correctly. Opened home320/1440 light/dark and actual UI-kit native-size panel.
|
||||
|
||||
The palette is implemented in real pages, not only a swatch demo. My computed-style sampler inspected actual rendered paragraph/headings/links/metadata/captions/status/controls and their effective nontransparent ancestor backgrounds in all96visits; no sampled text pair failed its4.5:1 ordinary/3:1 large threshold. This sampling does not certify every hover/visited/SVG/alpha-composited state; it is evidence of these actual sampled pairings. In particular dark article deck/link/lead surface are correctly remapped, unlike the old hardcoded light defaults.
|
||||
|
||||
Theme changes through the real labeled native select, survives reload (`dark` observed), and does not replace the content. Light figure wells preserve diagrams/raster in dark mode; no inversion. Decoded GC×2, CTFE, Vibe and Bitrix diagrams were personally opened. Captions remain readable and belong to their subjects. The native Bitrix preview and technical diagram are distinct assets; no fictional decorative cover was added.
|
||||
|
||||
### Typography and reading measure
|
||||
|
||||
At1440, my own per-character DOM Range measurement of seven real Tilix paragraphs found19pxGeorgia, lineHeight32.68px and740pxcolumn. **40 non-final lines measured60–80characters, median72**; trailing paragraph lines were excluded explicitly rather than mistaken for a measure failure. This meets the proposed55–80comfort target on real Russian mixed inline content. The narrow18px reading body is legible; greeting is compact and long article has contents/navigation. Long technical headings remain complete in the opened article specimens.
|
||||
|
||||
### Real behaviours
|
||||
|
||||
- Search “Bitrix”=>3; nonmatching query=>clear empty message; reset clears input; Dtopic=>6.
|
||||
- JSON invalid input yields visible/announced syntax error in both themes. Valid formatting and awaited copy feedback produce **«Скопировано»** in my own session. Source input is not replaced by the result.
|
||||
- CTFE keyboard focus is visible; ArrowRight reached**264/264** possible scroll, while document remains390px. The rightmost column is readable in opened table-right-dark pixels.
|
||||
- Dmodule keyboard focus is visible; ArrowRight reached**379/379**, document remains390px. Full horizontal code access is real, not hidden overflow masking.
|
||||
- Sources/privacy/about/404 are in the same shell with honest navigation; unknown case returns404. This designer inspection does not audit the legal/analytics semantics beyond the actual visible UX; CM/programmer retain that gate.
|
||||
- UI-kit is a real page consuming the common Brand/primitives/JournalSearch/JsonWorkbench and real labeled article fixtures. I personally opened its320dark and1440dark top and generated other matrix viewports. No Lorem ipsum or invented download flow is required.
|
||||
|
||||
##200% test models and honest limits
|
||||
|
||||
I attempted Ctrl+= three times and Meta+= three times in **my own isolated browser**. Before/after measurements stayed `innerWidth1440/devicePixelRatio1`: the shortcuts did not produce measurable browser zoom here. They were reset. I did not open browser settings or manipulate foreign profiles/native apps.
|
||||
|
||||
Supplementary tests are explicitly models ([zoom-model.txt](../designer-evidence/zoom-model.txt)):
|
||||
|
||||
1. **720CSSpx reflow** to represent reduced CSS viewport space at200% on a1440physical display (height450). Home/resources/privacy/JSON/UI-kit/Tilix all measured documentWidth720. Opened home and Tilix reflow pixels.
|
||||
2. **DOM text-size×2 stress**: capture each HTMLElement's computed font size, then assign twice that absolute size within the browser document only; layout/margins/media remain otherwise unchanged. Six selected pages at1440 measured no document-wide overflow. Opened home/JSON/UI-kit text stress pixels. This is neither native browser zoom nor a complete assistive-technology certification; it exposes text growth/reflow limits without claiming an unperformed browser capability.
|
||||
|
||||
Final role verdict remains **REQUEST CHANGES** until D-DS01/D-DS02 and the stated successor preservation/service-page corrections are personally checked on a stable new identity. The design direction itself is coherent and the measured reading/access improvements are substantive; no broad aesthetic restart is requested.
|
||||