Skip to content

feat(site): answer-first lead above the long copy on /client and /client/zh - #116

Open
ivcained wants to merge 1 commit into
mainfrom
t_f82f8e41-answer-first-lead
Open

ivcained wants to merge 1 commit into
mainfrom
t_f82f8e41-answer-first-lead

Conversation

@ivcained

@ivcained ivcained commented Nov 9, 2026

Copy link
Copy Markdown
Owner

What

fiddy.fun/client and fiddy.fun/client/zh/ now open with one answer-first paragraph under the H1, before the long copy. A visitor who has never heard of Snapchain, and an answer engine that needs one citable sentence, both get the same thing first.

EN

In short: Fiddy is a Farcaster client you run yourself. Create a server, sync your own Snapchain node, then open the client in your browser at fiddy.fun. It is for people who want their own node and their own agent, with no API keys to sign up for. Hosted Farcaster apps are free; Fiddy asks for about 2 TB of disk and hours of sync first.

ZH

**简而言之:**Fiddy 是一个由你自己运行的 Farcaster 客户端。先准备一台机器,同步一个属于你的 Snapchain 节点,然后在浏览器里打开 fiddy.fun 就能用。它面向的是想要自己的节点、自己的 agent 的人,不必向任何人申请 API key。托管型 Farcaster 应用免费,现在就能用;Fiddy 先要你一块约 2 TB 的磁盘,再等上几个小时的同步。

Answers, in this order: what it is, where it runs, who it is for, how it compares to the hosted apps, and the honest cost of admission. No date stamp in the visible sentence (upstream quilcast stamps In short (November 9, 2026); a quoted sentence should not carry a date).

Design call worth reviewing

Upstream's shape is a bold paragraph. My first attempt boxed it in a .pane, and at 1440px that put two filled boxes either side of the headline (the summary on the left, the "Give it to your agent" card on the right), which read as a bolted-on component rather than part of the hero. The block is therefore plain type, not a new surface:

  • .answer-lead is colour plus spacing only: --ink, 18px, line-height 1.5, margin-top: 18px (hugs the headline tighter than the lede's 24px follows it), 16px under 680px.
  • No new colour, no new material, no new component, no JS. Sizes come from site/ui-policy.json (18 and 16 already listed) instead of widening the policy.
  • .lede is unchanged, directly under it as the positioning follow-up.

Verification

  • DOM order, rendered DOM at /client/ and /client/zh/: h1 → .answer-lead → .lede, block inside the hero region. Asserted on both pages.
  • Copy gate, 62 words of answer text (label excluded): contains "Farcaster", "your own", "no API keys"; contains none of revolutionary / next-gen / seamless / unleash; zero em dashes in the block and in every added line of the diff.
  • Screenshots at 1440x900 and 390x844, both languages, reviewed: no clipping, no overflow introduced. scrollWidth at 390px is 408 on this branch and on origin/main (pre-existing <pre> overflow, see below), 1440px is 1440 both.
  • Contrast: --ink #eef0e8 on --ground #161715 = 15.6:1.
  • lintapple: 218 findings on /client before, 218 after, identical rule distribution. /client/zh/ exits 0 before and after. All 218 are the stale-policy backlog on the redesigned EN page (h1 76px, brand 25px, handoff 27px are all off-scale), not this change.
  • ZH wrapping: no line starts with punctuation, Farcaster / Snapchain / fiddy.fun / API key stay whole, 2 TB kept on one line with &nbsp;.

Drive-by, one character

The Hetzner price in the "Give it to your agent" prompt rendered as the literal string \u20ac120/month on every visit, because an escape sequence ended up in the HTML text instead of the character. Now €120/month. Unrelated to the lead, same card, one character. Say the word and I will split it out.

Found, not fixed (pre-existing on origin/main)

  1. /client at 390px has 18px of horizontal overflow (scrollWidth 408). It is identical on origin/main and comes from <pre> content, not from this block. Worth its own pass.
  2. /client/zh/ still uses the pre-redesign layout: no header bar, no hand-off card, hero with a different .lede. The two locales currently do not look like the same site.
  3. The zh H1 wraps mid-word at 390px (客户 / 端。, 三条命 / 令。).

Attribution

Structural idea from quilcast af4341f5 (#263, MIT): an answer-first lead above the long copy on the public about page. No phrase is reused, so no verbatim credit is due; the idea is credited here and in the commit message.

Site deploy is separate (site/deploy/). Nothing here deploys.

…ent/zh

Both public pages opened straight into the technical lede, so a first-time
visitor (and an answer engine) had no single sentence to lift.

One paragraph now sits under the H1 and above the lede, in the order the
question is asked: what it is, where it runs, who it is for, how it compares
to the hosted apps, and the honest cost of admission (a server, about 2 TB of
disk, hours of sync). 62 words of answer text, no date stamp in the visible
sentence, no em dashes.

Structural idea from quilcast af4341f5 (#263, MIT): answer-first lead on the
public about page. The words are written fresh for Fiddy, not copied.

Typographic, not a new component: adding a second filled pane between the H1
and the lede put two boxes either side of the headline and read as bolted on,
so the block is plain type in --ink at 18px (16px under 680px), lede unchanged
below it. No new material, no new colour, sizes taken from site/ui-policy.json
so lintapple reports the same 218 findings before and after.

zh is rewritten, not machine-literal: 简而言之 leads, then the same five
answers in natural Chinese, with 2 TB kept on one line via &nbsp;.

Drive-by in the same card, one character: the Hetzner price in the agent
prompt rendered as a literal \u20ac instead of € on every visit. Fixed here
rather than left live, flagged so it can be split out if you would rather.
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1e48a396-bf88-4fdc-85ce-9c8136a5a789
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant