Skip to content

Commit 962184b

Browse files
sametbasbugclaude
andcommitted
Lift the dossier out of the bottom of the phone feed
Markup order was scene, records, dossier, and the stated reason was that a phone should read the feed first. Measuring it killed the reason: on a seven-record profile the dossier landed at y=8297. Who the agent's human is and who it follows are part of the identity, not a footnote under the feed, and nobody scrolls past eight thousand pixels to find them. Order is now scene, dossier, records. Desktop is untouched — the right column comes from `.profile-about { grid-column: 2 }`, not from document order, and the measurements confirm it: scene 760 at x=420, dossier 320 at x=1264, records 760 at x=420, same as before. Moving it costs the phone the space the card occupies, so the card gave some back: 500px down to 319. Section padding, chip padding and the two avatar sizes shrink under 620px, and the human card drops its box-in-a-box border. Nothing is hidden — every line that was there is still there, and the follow chips now fit one row instead of two. The records heading sits at y=827 rather than y=1008. Two exemptions in the scale lock went with the monogram they were written for: `font-size: 10|16rem` and `letter-spacing: -0.1em` no longer match anything. A dead exemption is worse than none — it silently waves through the next raw value that happens to look like it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 0d78e38 commit 962184b

4 files changed

Lines changed: 51 additions & 11 deletions

File tree

‎scripts/orbit-public-page-tests.ts‎

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -368,15 +368,21 @@ describe('Orbit dynamic public pages', () => {
368368
göstermek, doğrulanmamış bir adı doğrulanmış gibi sunmak olurdu. */
369369
assert.doesNotMatch(profileHtml, /github\.com/u);
370370
assert.doesNotMatch(profileHtml, /<a[^>]*class="human-/u);
371-
/* Dosya kartı burada — verisi olan tek yol bu. Sağ rayda, ve markup'ta
372-
akıştan SONRA: ızgarada kolon sırasını DOM sırası belirliyor, yani bu
373-
iddia düşerse bağlam sola geçer ve gönderiler sağdaki dar kolona
374-
sıkışır. Profil tam bu yüzden 422px'lik gönderiler basıyordu. */
371+
/* Dosya kartı burada — verisi olan tek yol bu.
372+
*
373+
* Markup sırası kimlik → dosya → kayıtlar, ve ölçtüğü şey TELEFON: orada
374+
* kolonlar tek sütuna iniyor ve sırayı yalnız DOM belirliyor. Sıra bir
375+
* dönem tersti — kayıtlar önce, dosya sonra — ve gerekçesi "önce akış
376+
* okunsun"du; yedi kayıtlık bir profilde kartı y=8297'ye gömdüğü ölçülünce
377+
* gerekçenin kendisi yanlış çıktı. İnsanı ve takipleri kimliğin devamı.
378+
*
379+
* Masaüstündeki sağ kolon bu sıradan gelmiyor, `.profile-about`'un
380+
* `grid-column: 2` bildiriminden geliyor. */
375381
assert.match(profileHtml, /class="profile-dossier"/u);
376382
assert.doesNotMatch(profileHtml, /profile-grid-solo/u);
377383
assert.ok(
378-
profileHtml.indexOf('class="profile-feed"') < profileHtml.indexOf('class="profile-about'),
379-
'Dosya kartı akıştan önce basılıyor; sağ ray sola geçmiş olur.',
384+
profileHtml.indexOf('class="profile-about') < profileHtml.indexOf('class="profile-feed"'),
385+
'Dosya kartı kayıtlardan sonra basılıyor; telefonda akışın dibine gömülür.',
380386
);
381387
/* Bio gövdede bir kere. Hero'daki `profile-intro` ile dosyadaki
382388
"Hakkında" birebir aynı `agent.bio`'yu basıyordu; telefonda aynı

‎scripts/orbit-style-scale-tests.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ const SCANNED = [...CSS_FILES, ...astroFiles(SRC_DIR)];
6666
const EXEMPT: readonly RegExp[] = [
6767
/clamp\(/u, // akışkan hero başlıkları ve kabuk boşlukları
6868
/env\(safe-area-inset/u, // cihaz çentiği, tasarım kararı değil
69-
/font-size:\s*(?:10|16)rem/u, // dev monogram filigranı: tip değil grafik
70-
/letter-spacing:\s*-0\.1em/u, // aynı filigranın sıkışması
7169
/line-height:\s*0$/u, // ikon kutusunu çökerten yerleşim sıfırlaması
7270
/gap:\s*0\.02rem/u, // 0.32px: boşluk değil, kıl payı itme
7371
/margin:\s*-1px !important/u, // ekran okuyucu gizleme kalıbı, yerleşim değil

‎src/styles/pages.css‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,13 @@
350350
*
351351
* Sahne bir dönem iki kolonu birden kaplıyordu ve içeriği ~700px olduğu için
352352
* sağında 400px'lik ölü bir alan bırakıyordu; dosya kartı da o alanın altından
353-
* başlıyordu. Yerleşim CSS'ten geliyor, DOM sırasından değil: markup'ta akış
354-
* önce gelmeye devam ediyor, çünkü telefonda tek kolona inince okunması
355-
* gereken sıra o. */
353+
* başlıyordu.
354+
*
355+
* Markup sırası kimlik → dosya → kayıtlar ve masaüstünde bunu bu iki
356+
* bildirim eziyor. Sıra bir dönem kayıtlar → dosya idi ve gerekçesi "telefonda
357+
* önce akış okunsun"du; ölçünce o gerekçenin kartı okunamaz yaptığı çıktı —
358+
* yedi kayıtlık bir profilde dosya y=8297'de kalıyordu. İnsanı ve takipleri
359+
* kimliğin devamı, akışın dipnotu değil. */
356360
.profile-about {
357361
grid-column: 2;
358362
grid-row: 1 / span 2;

‎src/styles/responsive.css‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,38 @@
520520
border-left: 0;
521521
}
522522

523+
/* Dosya kartı telefonda kimliğin hemen altında duruyor, yani kayıtların
524+
önünde: burada kapladığı her piksel ilk kaydı aşağı itiyor. 500px'ten
525+
~330'a inmesi tamamen ölçüden geliyor — hiçbir satır gizlenmiyor. */
526+
.profile-dossier-section {
527+
padding: var(--space-6);
528+
}
529+
530+
.profile-follow-chip {
531+
gap: var(--space-2);
532+
padding: var(--space-1) var(--space-4) var(--space-1) var(--space-1);
533+
font-size: var(--text-2xs);
534+
}
535+
536+
.profile-follow-chip .avatar-small {
537+
width: 1.9rem;
538+
height: 1.9rem;
539+
}
540+
541+
/* İnsan kartı kutu içinde kutuydu; çerçevesiz bir satır aynı şeyi söylüyor. */
542+
.human-card {
543+
margin-top: var(--space-4);
544+
padding: 0;
545+
border: 0;
546+
background: none;
547+
}
548+
549+
.human-card img,
550+
.human-card-placeholder {
551+
width: 2.1rem;
552+
height: 2.1rem;
553+
}
554+
523555
.project-card {
524556
min-height: 0;
525557
}

0 commit comments

Comments
 (0)