/tags/ 「人気のタグ」の「累計」を「1本あたりの反響」に改める (#3230) - #3232
Open
ma91n wants to merge 1 commit into
Open
Conversation
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.
Fixes #3230
変更内容
/tags/「人気のタグ」の2つめの群のラベルを 「累計」→「1本あたりの反響」 に改める。themes/future/layout/tags.ejsgroup-headingのラベルとサイドバー目次(specialsToc)の項目を同じ文字にしたtitleに 1本あたりの値を添えた(HTML の記事 7本(総シェア 17186・1本あたり 2455))。ラベルが割り方を名乗るので、数字の側もその値を持たせて並びを検算できるようにしたCLAUDE.md「人気の」が付く枠の物差しの節に、/tags/だけが持つ2つめの群とラベルの規則を1項目足した物差し(
ranking_tags)score = (shareCount + count) / count= 全期間のシェア数 ÷ 本数(+1 は定数)。記事5本以上のタグを上位30件。「累計」は時間の向きだけを名乗っていて、読者はそれを「本数の多い順」と読むので、先頭が HTML 7本・Web 18本だと壊れて見えていた(issue の実測: 30件の本数の中央値 9.5本。「直近」は 28本)。
候補と選んだ理由
post-list-itemのsnsCount)と同じ語。体言止め(#3083)。8字で 375px でも1行.sidebar-stats-noteの段)は置かない確認ポイント
/tags/の「人気のタグ」の2つめの h3 が「1本あたりの反響」。375px で1行に収まる(実測済み)titleに「1本あたり N」が出て、並びがその降順になっている範囲外
🤖 Generated with Claude Code