Skip to content

feat(signup): let subscribers choose the weekly SCOTUS update and the AI-cases feeds - #35

Merged
modelmirror merged 1 commit into
mainfrom
feat/signup-feed-choices
Oct 19, 2026
Merged

modelmirror merged 1 commit into
mainfrom
feat/signup-feed-choices

Conversation

@modelmirror-agent

Copy link
Copy Markdown

The signup form now lets a subscriber choose which updates they get. Each checkbox sends a tag to Buttondown's embed endpoint, and Buttondown attaches it to the subscription. The pipeline addresses each feed's drafts to its tag.

Closes #34

What changed

  • src/components/Signup.astro: below the email field, under "Release announcements, 2–4 a year, plus:", there are three checkboxes:

    • Weekly Supreme Court update (weekly-scotus, on by default);
    • AI cases (ai-cases, marked starting later);
    • nested under it, …with the models' forecasts (ai-cases-predictions).

    Release announcements go to everyone and need no box. The form is still plain HTML with no JavaScript, and nothing loads from Buttondown before submit. The default heading is now "Get FedCourtsAI updates by email"; the Results pages keep their own release-specific heading. The checkboxes use the brand accent.

  • src/pages/privacy.mdx: says the chosen updates are stored as tags, what each update sends (the weekly one generated from the public ledger and read by a person before sending; the AI-cases one linking to public court records, with forecasts only if asked for), and how to change choices.

Where to look on the preview: the home page signup, /about, /results, and /privacy#email-updates.

Checked: npm ci && npm run build passes (12 pages). I rendered the form at desktop and phone widths and fixed what that showed: on a phone the "(starting later)" note had split into its own column, and the checkboxes had used the browser's default blue.

Timing. Merge after the weekly update can actually send, i.e. once ModelMirrorAI/fedcourtsai#2477 is promoted to main and its first manual run produces a draft. Otherwise new subscribers would tick a box for an email that doesn't exist yet. The AI-cases boxes are labelled as starting later, so ticking them early is just a signal of interest (fedcourtsai #2452 is that feed). All three tags already exist in Buttondown and are subscriber-editable. The embed endpoint matches the tag values by name.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Wn5rjyY9Z7Vhoc9QyGXToG


Generated by Claude Code

… AI-cases feeds

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wn5rjyY9Z7Vhoc9QyGXToG
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Deploying fedcourtsai with  Cloudflare Pages  Cloudflare Pages

Latest commit: 73eb5f3
Status: ✅  Deploy successful!
Preview URL: https://1e22d6aa.fedcourtsai.pages.dev
Branch Preview URL: https://feat-signup-feed-choices.fedcourtsai.pages.dev

View logs

@modelmirror-agent
modelmirror-agent requested a review from a team October 16, 2026 14:39
modelmirror-agent pushed a commit that referenced this pull request Oct 19, 2026
…side the form change in #35

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LHtjbC4bUWTbubp3hm6GQy
@modelmirror
modelmirror merged commit 862e38e into main Oct 19, 2026
2 checks passed
@modelmirror
modelmirror deleted the feat/signup-feed-choices branch October 19, 2026 17:17
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.

signup: let subscribers choose the weekly SCOTUS update and the AI-cases feed

3 participants