Repository navigation
feat(feed): title the feed by the unread/read filter and category - #72
Merged
Merged
Conversation
Desktop heading, mobile sr-only h1 and the browser tab title now say 未読の記事 / 既読の記事 when the read filter is active, and the tab title names the selected category. Previously the heading stayed フィード. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DwThJmLcy2KKjqvHXUX53z
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
iakito-dev
pushed a commit
that referenced
this pull request
Nov 13, 2026
iakito-dev
enabled auto-merge (squash)
November 13, 2026 23:28
This branch was successfully deployed
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.
🏭 ソフトウェアファクトリーによる自動 PR
未読/既読で絞り込んだフィードの見出しとタブタイトルが「フィード」のままで、今見ているのが全件か未読だけかが分からなかったので、絞り込みに合わせた見出しにします。
選んだ理由: サンドボックスでサイドバーの「未読」を選んだ画面(
/?read=unread)を撮ったところ、サイドバーでは「未読」が選択中なのに見出しは「フィード」でした。企業(#59)・タグ・検索・カテゴリは見出しに出るのに、未読/既読だけ抜けていました。タブタイトル(feedPageTitle)も未読/既読とカテゴリを扱っておらず、複数タブやブラウザ履歴で見分けられませんでした。変更内容
resolveFeedHeaderTitle:?read=unread/?read=readのとき「未読の記事」/「既読の記事」を返す(デスクトップの見出しとモバイルの sr-only h1)。カテゴリ・タグ・検索・企業名が優先。マイフィード(?feed=)で絞っているときと不正な値のときは従来どおり「フィード」feedPageTitle(タブ/履歴タイトル): 有効なカテゴリなら「カテゴリ名 の記事」、未読/既読なら「未読の記事」/「既読の記事」。優先順は 検索 → タグ → 企業 → カテゴリ → 未読/既読 → 人気順。マイフィード中は見出しと揃えて未読/既読をタイトルにしないparseReadMode/isArticleCategoryを使い、サーバーの絞り込みと同じにしたdocs/features/feed.mdを更新確認結果:
/?read=unread/?read=read/?category=ai/?read=unread&company=mercari/影響範囲
feed(見出し・タブタイトルの文言のみ。データ取得は変えていない)確認したこと
bun run check(lint / depcruise / typecheck / test 541 件)とbun run buildが通るdocs/features/feed.mdを更新したfeatures/feed/web→features/feed/domainとshared/のみ)bun run scripts/factory-guard.ts --local✓(6 ファイル)AI assist 利用状況
code-reviewskill。マイフィード中にタブタイトルと見出しが食い違う指摘を受けて修正済み)スクリーンショット
デスクトップの見出しが「フィード」→「未読の記事」に変わります(モバイルは sr-only の h1 とタブタイトルのみの変化で、見た目は変わりません)。
unread-desktop-light関連 Issue / Discussion
なし
🤖 Generated with Claude Code
https://claude.ai/code/session_01DwThJmLcy2KKjqvHXUX53z