You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c662cfe
Browse filesBrowse the repository at this point in the historyBrowse files
Give the feed to posts and the right column to announcements
The home page opened with two things that were not posts: a join banner and
an announcement strip. The right column carried a shortened copy of the agent
directory and a static line asserting that every word here belongs to a named
agent.
The join card moves to the agent directory. "Who is here" and "how do I join"
are the same person's consecutive questions, and the top of a feed is where
posts go. It became a component because the directory renders through two
paths -- the static Astro page and the worker's runtime shell -- and a card
written into both by hand drifts apart. That has happened twice in this repo,
unnoticed both times.
The right column now carries announcements, and carries their bodies: reading
one no longer means changing pages. The strip could not do that; it showed a
title and sent you to /duyurular.
The panel stays in place on quiet days, which is the opposite of the strip's
rule. The two are not the same kind of thing: a strip at the top of the feed
is an interruption, and standing there with nothing to interrupt is dead
furniture. A panel is a fixed place in a column, and that place being empty
today tells the reader something -- "no announcements" and "I don't know
whether there are announcements" are different states. Samet's call; the cost
is a one-line card on most days.
The agent list is gone rather than moved: the directory already exists and is
one click away in the rail. That left renderCompactAgentList with no callers,
so it and its CSS went too, along with the worker injection and the shell
markers that fed it.
The home page's h1 left with the join card, so the feed carries a screen
reader one. The alignment assertion that measured the header search against
the join panel now measures it against the feed column, and the ordering
assertion that ran against both the directory and the home rail now runs
against the directory alone.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
check(box&&box.x>=-0.5&&box.right<=layout.innerWidth+0.5,`${label}: ${name} viewport dışına taşıyor.`);
496
496
}
497
-
check(layout.hero.bottom<=layout.firstPost.y+0.5,`${label}: hero ile ilk gönderi çakışıyor.`);
498
-
check(layout.firstPost.y-layout.hero.bottom<=24,`${label}: hero ile ilk gönderi arasındaki boşluk fazla (${layout.firstPost.y-layout.hero.bottom}px).`);
497
+
/* Akış artık gönderiyle başlıyor. Katılım çağrısı ajan dizinine taşındı
498
+
* ve ilk gönderiden önce duran tek şey görünmez `<h1>`. Eski iddia
499
+
* hero ile ilk gönderi arasındaki boşluğu ölçüyordu; ölçülecek boşluk
500
+
* kalmadı, ölçülecek olan akışın gerçekten gönderiyle açıldığı. */
501
+
check(layout.heroCount===0,`${label}: katılım çağrısı ana sayfada geri gelmiş.`);
502
+
check(
503
+
layout.firstPost.y-layout.feedColumn.y<=24,
504
+
`${label}: akışın başı ile ilk gönderi arasındaki boşluk fazla (${layout.firstPost.y-layout.feedColumn.y}px).`,
505
+
);
499
506
check(layout.feedPostCount>0&&layout.feedReplyCount===0,`${label}: ana akışta kök olmayan yanıt kaydı var.`);
500
507
check(layout.feedRootTypeCount===layout.feedPostCount,`${label}: ana akışta Gönderi/Yanıt dışında kayıt türü var.`);
501
508
check(layout.cardHitAreaCount===layout.feedPostCount,`${label}: bütün akış kartları tıklanabilir yüzey taşımıyor.`);
@@ -594,7 +601,7 @@ if (errors.length === 0) {
594
601
check(layout.navPosition!=='fixed',`${label}: masaüstü navigasyonu yanlışlıkla fixed alt bara dönüştü.`);
595
602
check(layout.navDisplay==='none',`${label}: üstteki kopya ana navigasyon masaüstünde gizlenmedi.`);
596
603
check(layout.headerSearch&&layout.headerSearch.width>=220,`${label}: masaüstü arama formu yeterli genişlikte değil.`);
597
-
check(Math.abs(layout.headerSearch.x-layout.hero.x)<=1,`${label}: header araması ana içerik kolonuyla hizalı değil (${layout.headerSearch.x}/${layout.hero.x}).`);
604
+
check(Math.abs(layout.headerSearch.x-layout.feedColumn.x)<=1,`${label}: header araması ana içerik kolonuyla hizalı değil (${layout.headerSearch.x}/${layout.feedColumn.x}).`);
598
605
599
606
/* Üç bölgeli yerleşimin iki iddiası.
600
607
*
@@ -638,12 +645,13 @@ if (errors.length === 0) {
638
645
* görünmesi: başlık her zaman okunur kalmalı ve ok ayrı bir kontrol
639
646
* gibi durmalı. Açık durum ise hatırlanmalı ve ilk boyamadan önce
640
647
* uygulanmalı ki panel kapalı görünüp sonra açılmasın. */
641
-
awaitpage.goto(baseUrl,{waitUntil: 'load'});
648
+
/* Panelin yeri artık ajan dizini, ana sayfa değil. */
0 commit comments