Skip to content

Morning text: opener plus labeled bullets; better link preview card - #16

Merged
pythonjeff merged 3 commits into
mainfrom
morning-bullets-and-preview
Oct 15, 2026
Merged

pythonjeff merged 3 commits into
mainfrom
morning-bullets-and-preview

Conversation

@pythonjeff

Copy link
Copy Markdown
Owner

What

  • Morning text is now one voiced opener, then - LABEL: text bullets (fixed labels: WEATHER, COMMUTE, NEARBY, SCORES, MARKETS, NEWS), a blank line, and the URL last and alone.
  • Format is enforced in code with one redraft; length is capped at a line boundary; a user with nothing loaded still gets a plain greeting.
  • smstext._sms_clean keeps a bullet only when an ALL-CAPS label follows, so send_sms doesn't delete them. All other leading -/* are still stripped.
  • Link preview: og:title is "Name's morning", og:description leads with weather, og:site_name is Palmer, and /icon.png serves a favicon / apple-touch-icon (cards.render_icon).
  • CLAUDE.md and README updated.

Why ASCII labels, not bold

SMS has no markup. Unicode math-bold forces UCS-2 (70 chars/segment), reads letter by letter in screen readers, and shows boxes on some carriers.

Status

Already deployed to Heroku (v170, b61a76d) for live testing. Merging brings GitHub main level with production. 1436 tests pass.

Conflict note

#13/#14/#15 touch the same files (package move, test consolidation, CLAUDE.md split). Merge this first, then rebase the stack; the new CLAUDE.md sections belong in docs/design/ after #15.

Still to verify on a real phone

Whether the preview card draws automatically for SMS from a non-contact number, and the fallback URL once APP_URL is on a short custom domain.

🤖 Generated with Claude Code

pythonjeff and others added 3 commits October 14, 2026 19:34
- morning: one voiced opener, then "- LABEL: text" bullets (fixed label set),
  enforced with one redraft; trimmed at line boundaries; URL still last, alone
- smstext: _sms_clean keeps "- ALLCAPS:" bullets, strips all others
- page: og:title "Name's morning", weather-first og:description, og:site_name,
  favicon/apple-touch-icon via /icon.png (cards.render_icon)
- tests and docs updated

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@pythonjeff
pythonjeff merged commit 6ec0a0c into main Oct 15, 2026
1 check passed
@pythonjeff
pythonjeff deleted the morning-bullets-and-preview branch October 15, 2026 00:56
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