From b0130a66eaa8a07f00a54e92c27e737db1a7979e Mon Sep 17 00:00:00 2001 From: Chad Curtis Date: Sun, 24 May 2026 21:27:38 -0500 Subject: [PATCH] Unify author display on the discovery-page cards Groups, Pledges, and Campaigns each shipped a different author treatment in their card footers: groups used a raw with no fallback, campaigns had no avatar at all, and pledges localized the 'by X' string while the others left it as a hardcoded English literal. Extract AuthorByline as the canonical author element. It uses the shadcn Avatar primitive (initials fallback), resolves the display name through the centralized getDisplayName helper, and links to the author's profile via useProfileUrl. The 'by Name' label is sourced from the shared common.byAuthor i18n key so every surface ships the same translated string in every locale. Inside a card, the byline renders as a