Repository navigation
fix(mods): stop modPageTitle cutting headlines mid-phrase - #356
Merged
Merged
Conversation
A headline too long for the 60-character title was cut at its last phrase break, which left live titles like "Context Meter mod: Know when". Now a headline that doesn't fit whole gives way to the plain title, "<Name> — Claude Code mod | statuslin.es" or the theme wording. Titles whose headline fits are unchanged. The page copy prompt now asks for a headline and FAQ questions that say what the mod does in plain words, not the words someone would search. Refs #353 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 tasks
NathanAB
added a commit
that referenced
this pull request
Nov 30, 2026
…od titles (#359) * fix(mods): stop modPageTitle cutting headlines mid-phrase (#356) A headline too long for the 60-character title was cut at its last phrase break, which left live titles like "Context Meter mod: Know when". Now a headline that doesn't fit whole gives way to the plain title, "<Name> — Claude Code mod | statuslin.es" or the theme wording. Titles whose headline fits are unchanged. The page copy prompt now asks for a headline and FAQ questions that say what the mod does in plain words, not the words someone would search. Refs #353 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * docs(deploy): record the daily Google traffic drop alert (#357) PostHog now emails the maintainer when Google-referred pageviews over the last 2 complete days fall below 40% of the same 2 days a week before. A replay of November 2026 fires on Nov 23 and on no day before the Nov 21 drop. docs/deploy.md records the query, the threshold and why, and CLAUDE.md points search and traffic questions at the Search Console script and the Composio Search Console and PostHog query tools. Refs #354 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * feat(sitemap): keep repeat and unreviewed pages out of Google's index (#358) * feat(mods): keep unreviewed mod pages out of the index and the sitemap The unreviewed-mods pilot ends early: 0 search impressions in 18 days, and Google never crawled these pages. Each page is now noindex, follow and leaves the sitemap; it still loads and Request a review still works. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(gallery): index only the facet pages searchers chose Most facet pages repeat each other. A fixed list of five facets (token-usage, themed, quota, git, cost: 3 or more Google clicks in the 90 days to 2026-11-28) may be indexed; every other facet page is noindex, follow and leaves the sitemap, while it still loads and stays linked from breadcrumbs, More ways to browse and llms.txt. isIndexableFacet is now the list AND the inventory threshold, and reads the head and the sitemap alike. The threshold alone is isPromotedFacet, which drives the site's own links. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(compare): keep the comparison pages out of the index and the sitemap The six /alternatives and /compare pages repeat the gallery's listings. Each is now noindex, follow and leaves the sitemap; they still load for visitors. The sitemap's best page keeps its date, now from the top ten cards alone, and liveComparePages, which only dated the comparison pages, is gone. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(mods): keep theme plugin pages out of the index and the sitemap A theme plugin's page repeats what /themes and its palette pages show. It is now noindex, follow and leaves the sitemap; the page still loads and installs as before. Reviewed mods stay indexed and listed. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(themes): keep palette pages with no reviewed theme out of the index A palette page of unreviewed themes alone offers nothing to install. It is now noindex, follow and leaves the sitemap; the page still loads. One helper, reviewedPalettePages, now feeds the sitemap and both llms files, so the three can't disagree about which palette pages count. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(gallery): stop listing numbered gallery pages in the sitemap /?page=N repeats the home page's listings. The sitemap no longer lists those pages, and sitemapResponse loses its pageCount parameter. The pages still load and keep their self-canonical. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(ui): keep related cards out of a page's search snippet PageSection takes a nosnippet flag that puts data-nosnippet on its section. More status lines, Related mods and More like this pass it, so cards describing other pages no longer write this page's snippet. Nothing visitors see changes. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(gallery): say a facet page is in the sitemap only when indexable Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(adr): record the unreviewed-mods pilot's early end in ADRs 0011 and 0014 The group /mods/unreviewed/* had 0 Google impressions in 18 days and Google crawled none of its pages. Every unreviewed page, and every palette page of unreviewed themes alone, leaves search and stays up. deploy.md no longer says a hidden unreviewed page drops a sitemap line. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: give the real reason in the new noindex comments Comparison and theme plugin pages share most of their text with each other; a palette page of unreviewed themes alone describes code nobody here read (ADR 0014). Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * docs(verify): add a search indexing feature and correct the themes sitemap line The verify map had no feature for what search engines are told about each page, and themes.md still said theme packs are in the sitemap (#358 made them noindex). Driven on the shared branch on 2026-11-30. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <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.
Why
Ticket #353, part of spec #351. Live mod titles end mid-phrase, as in "Context Meter mod: Know when" and "Session HUD mod: Notice when Claude Code is". When the headline doesn't fit in 60 characters,
modPageTitlecut it at the last phrase break. A cut at a word like "to" or "on" leaves a sentence that stops partway through.What changed
modPageTitle(src/mods/page-meta.ts) no longer cuts a headline. If<Name> <lead>: <headline>doesn't fit in 60 characters (with or without the brand), the title falls back to the plain title, such asContext Meter — Claude Code mod | statuslin.es. Theme plugins fall back to their own wording (— Claude Code Themes,— Claude Desktop Theme, and so on).leadingPhrasesandPHRASE_BREAKare deleted.src/content/page-copy-prompt.ts) asks for a headline that says in plain words what the mod does, and for FAQ questions a reader would have. It no longer asks for "the words someone would search". Existing copy is not regenerated.CLAUDE.md's note on mod copy and the comments inpage-meta.tsandsrc/content/types.tsnow say the same.Scope
Only titles whose headline was cut change: 41 of the 94 live mod and theme plugin pages (12 mods, 29 theme plugins). The other 53 are byte-identical.
og:titlereads the same function, so it changes on the same 41 pages.The 41 changed titles
/mods/ascii-wallpapers/mods/backdrops/mods/brie-mine/mods/catppuccin/mods/cc-looks/mods/chat-sidecar/mods/context-meter/mods/dracula-theme/mods/enso/mods/flightdeck/mods/forge/mods/gotham-night/mods/holo-damascus/mods/kindling/mods/leitstand/mods/look-gruvbox/mods/look-gruvbox-light/mods/look-nord/mods/look-nord-snow/mods/look-one-dark/mods/look-rose-pine/mods/mod-gallery/mods/multiverse/mods/neon-city/mods/nk-claude-themes/mods/one-dark/mods/pinboard/mods/pink-and-cute/mods/prismantis/mods/prompt-rail/mods/rainy-window/mods/sakura-petals/mods/session-hud/mods/solarized/mods/spazio-tema/mods/stark-lab/mods/time-machine/mods/token-weather-usage/mods/tokyo-night/mods/usage-band/mods/vagueTradeoffs
Blast Radius
modPageTitlefeeds the<title>andog:titleof/mods/<slug>only. Status line titles, theme preview pages and/themesdon't use it. The prompt change affects copy generated from now on.Verification
test/mods/page-meta.test.ts: the fallback for a mod (Context Meter, Session HUD, Cache Tax), a terminal theme plugin and a Desktop theme, plus a headline that fills exactly 60 characters and stays whole. Planted breaks:<for<=on the unbranded fit turns the 60-character test red, and<= 61turns the fallback test red. Reverting the fix turns both fallback tests red./mods/<slug>page in/sitemap.xmland/marketplace.json(94) from production, took the H1 as the name and the subtitle as the headline, and confirmed the oldmodPageTitlereproduces all 94 live titles exactly (0 unmatched). Then ran the new one on the same inputs. The table above is its output./mods/context-meterwith the headline "Know when to /compact a Claude Code session" serves<title>Context Meter — Claude Code mod | statuslin.es</title>and the sameog:title, with the headline still under the H1./mods/cache-taxwith "Keep Claude Code's prompt cache warm" keepsCache Tax mod: Keep Claude Code's prompt cache warm.bun run check: 438 test files passed, 3 skipped (4268 tests passed, 13 skipped), lint and typecheck clean, exit 0. After it, two comments changed (no code); typecheck, lint and the title and content tests (117) passed again.🤖 Generated with Claude Code