執筆活動に Claude Design 自己検証 HTML の記事を追加#20
Merged
Merged
Conversation
その他活動ページの UI 契約テストは、これまで footer の Y 座標が固定値 未満であること (footerTop < N) で「desktop でのレイアウト崩壊」を検出して いた。これはページ全体の高さを測るため、記事を 1 件追加するたびに閾値を 手で引き上げる必要があり (1800→2000→…)、本来検出したい崩壊を記事追加の たびに緩める運用になっていた。 崩壊の実体は e9b8963 (fix: prevent outside activity layout collapse) の通り 「desktop で各行が横並び (period | body | links 列) ではなく縦積みに崩れる」 こと。実測すると行高さは detail の折り返しや links 数で 91〜141px とばらつき、 高さ閾値では崩壊を判定できない。一方、横並びレイアウトのときだけ 'outside-activity-link-column-<period>-<title>' キーが emit され、縦積みに 崩れるとこのキーは出ない (outside_activities_view.dart)。 そこで footer 位置の固定上限を廃止し、links を持つ全エントリについて 右端リンク列キーが存在し行の右端に揃っていることを検証する形へ変更した。 件数に依存しないため記事を追加しても閾値の更新は不要で、レイアウト分岐 自体が変わったときだけ再検討すればよい。 あわせて golden 失敗時に flutter が吐く test/failures/ を .gitignore に追加。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
activities の執筆セクション先頭に Zenn 記事 「Claude Design が作った HTML に、要件を満たしているか自己検証させる」 (2026.06) を追加。SSOT の activities.yaml を編集し生成物を再生成。 記事 1 件追加で desktop の activities ページ見た目が変わるため golden (desktop_activities.png) を再生成した。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
執筆活動 (Outside Activities) の「執筆」セクション先頭に、新しく公開した Zenn 記事を追加します。
変更内容
2 コミット構成です。
1. test: その他活動の崩壊検出を右端リンク列の有無に変更しドリフトを解消
2. 執筆活動に記事を追加
動作確認
flutter analyzeが警告なしflutter testが成功 (golden 含む全 39 件 All tests passed)dart run tool/generate_resume_content.dart --checkが成功--update-goldensで desktop_activities.png 再生成)🤖 Generated with Claude Code