Files
CatoandClaude 6e37a91c1d fix(articles): signing in to comment returns to the article, Tip shows only when the author can receive (#1709)
Measured on orangecat.ch (2026-11-12):
- On all 10 public articles, "Sign in to join the conversation" linked to
  /auth?from=/articles, so a reader who signed in to comment landed on the
  article list. The link was a 46x17 inline target.
- The footer offered Tip for authors with no wallet. The dialog promised
  "paid straight to their wallet", then said the author had not set one up.
- The Share button was 87x34 next to 44px links, and the comment box was
  announced as "Compose new post" under an article.

Now:
- ArticleDiscussion takes the article's path, and sign-in returns to
  /articles/<slug>#discussion-heading. The link is 44px tall.
- The article page asks getTipReceiveInfo once on the server and renders Tip
  only when the author can receive. getTipReceiveInfo takes
  { notifyDeadEnd: false } for this: a page view is not someone trying to
  tip, so it must not send the author the "someone tried to tip you" notice.
  The dialog keeps the default.
- Share is min-h-11. A composer under a post or article is labelled
  "Reply to <author>".

Claude-Session: https://claude.ai/code/session_019MDtmw3MnN44QwEv4M52CS

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 09:21:38 +01:00
..