Commit Graph

7317 Commits

Author SHA1 Message Date
Eric Bailey ee8d866b72 [APP-2160] Drop manual memoization in StandardSiteEmbed
React Compiler handles this; the explicit useMemo on themeColors was
also missing t in its deps, causing stale colors on theme toggle.
2026-05-22 17:13:55 -05:00
Eric Bailey 281ce95850 Rm not-null assert 2026-05-22 17:13:55 -05:00
Eric Bailey 785fc26ec4 [APP-2160] Extract StandardSiteEmbed type guards into utils.ts
Move isStandardSiteEmbed alongside a new isStandardSitePublicationEmbed
helper. The publication check now requires at least one publication ref
and zero document refs, replacing a tautological condition that also
returned true for empty associatedRefs arrays.
2026-05-22 17:13:55 -05:00
Eric Bailey 726c5b9a2d Improve byline linking and interaction states 2026-05-22 17:13:55 -05:00
Eric Bailey 4fc548eb17 Split out components, link byline 2026-05-22 17:13:55 -05:00
Eric Bailey 11636ed58f Update theming 2026-05-22 17:13:55 -05:00
Eric Bailey 988c6d324f Fix types 2026-05-22 17:13:55 -05:00
Eric Bailey 21c9e5c38a UI work 2026-05-22 17:13:54 -05:00
vineyardbovines 1adfdb4a15 [APP-2160] Address /grill review: move logger.error to useEffect; guard readingTime > 0
- PublicationFooter: profile-resolve error was logged during render, causing
  duplicate Sentry events on every re-render of an errored card. Move to
  useEffect keyed on the error transition.
- MetaRow: render reading-time chip only when readingTime > 0. Guards against
  pathological appview responses where the field is 0 or negative.
2026-05-22 17:13:41 -05:00
vineyardbovines c418f7a3df [APP-2160] Flush divider; move footer vertical padding to py_md
Previously the divider's own py_md wrapper plus the footer's py_sm
double-counted the spacing and pushed the footer further from the
divider than Figma. Make the divider flush against the article block
and the footer, and bump the footer to py_md so the 12px gap below
the divider line is owned by the footer itself.
2026-05-22 17:13:40 -05:00
vineyardbovines b636597b38 [APP-2160] Apply Figma typography + spacing tweaks to PublicationEmbed
PublicationFooter:
- Avatar to text gap: 10
- Title to author gap: 2
- Title weight medium (500) instead of semi-bold (600)

PublicationEmbed content block:
- Description to meta-row gap: 6 (was 8)
- Divider gets 12px vertical padding wrapper
2026-05-22 17:13:40 -05:00
vineyardbovines 3df3b7bf49 [APP-2160] Fix PublicationEmbed hero image width on web
The inner View inside the article-region Link was missing `a.w_full`, so on
web (where Link renders as an inline <a>) it shrink-wrapped to the Image's
intrinsic width. Images with small intrinsic dimensions (Leaflet thumbnails)
rendered tiny, while large ones (PCKT) rendered correctly by accident.

The legacy ExternalEmbed sets `a.w_full` on the equivalent View directly
inside the Link wrapper; matching that pattern here.
2026-05-22 17:13:40 -05:00
vineyardbovines 51c695d6f6 [APP-2160] Dispatch PublicationEmbed from composer link preview 2026-05-22 17:13:40 -05:00
vineyardbovines e3ce0a4c33 [APP-2160] Dispatch PublicationEmbed from MediaEmbed when source present 2026-05-22 17:13:40 -05:00
vineyardbovines 3d11904294 [APP-2160] Add PublicationEmbed card component 2026-05-22 17:13:40 -05:00
vineyardbovines 9ef53e3912 [APP-2160] Add PublicationFooter for PublicationEmbed 2026-05-22 17:13:40 -05:00
vineyardbovines 00ae488e7d [APP-2160] Add MetaRow with date + reading-time chips for PublicationEmbed 2026-05-22 17:13:40 -05:00
vineyardbovines ffa58f6cb2 [APP-2160] Add local PublicationViewExternal types + extend ResolvedExternalLink 2026-05-22 17:13:40 -05:00
vineyardbovines feb623520c [APP-2160] Add parseDidFromAtUri util for PublicationEmbed 2026-05-22 17:13:40 -05:00
DS Boyce 6159cd7777 Add loading state to message composer and input (#10595) 2026-05-22 13:57:19 -07:00
DS Boyce 0d14513939 Update appearance of blocked chat footer (#10597) 2026-05-22 13:56:51 -07:00
Samuel Newman 66d37f55b4 Fix autofocusing Emoji reaction picker search (#10599) 2026-05-22 23:07:47 +03:00
DS Boyce 96ae32b78e Fix chat message spacing and alignment (#10579) 2026-05-22 11:08:03 -07:00
DS Boyce 4bdedc55be Add Info Panel to direct chats (#10576) 2026-05-22 10:34:21 -07:00
DS Boyce f2e7028709 Update appearance of chat when blocked (#10582) 2026-05-22 09:46:57 -07:00
Samuel Newman 2a546bfd52 [Chat] Disable convo avatar in NSE (#10594) 2026-05-22 09:30:20 -07:00
Samuel Newman c21c031e74 [pnpm] Attempt to remove eas-cli from devDeps (#10589) 2026-05-22 09:17:12 -07:00
Samuel Newman 42d993a78f [Chat] Fix iOS group chat notifications rendering as direct messages (#10590)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 07:51:43 -07:00
DS Boyce 7c5a9ab40d Fix issue where suggested language prompt could not be dismissed (#10581) 2026-05-22 01:54:54 -07:00
Samuel Newman 2f4049e6e0 Bump atproto to latest (#10586) 2026-05-22 00:25:25 -07:00
DS Boyce 53df5e62bb Wrap group chat names when appropriate (#10583) 2026-05-21 23:47:41 -07:00
DS Boyce 4c73b171d6 Reduce the number of join requests per page to 20 (#10578) 2026-05-21 23:39:11 -07:00
pfrazee 6f0912346c Nightly source-language update 2026-05-22 03:19:03 +00:00
Samuel Newman 6fd81fe5dc ESM atproto packages (#10543) 2026-05-21 16:41:04 -05:00
DS Boyce e1e5f28e98 Display badges next to chat inviter's display name (#10451) 2026-05-21 12:54:37 -07:00
DS Boyce f653faab94 Fix word wrapping in image menu on Android (#10577) 2026-05-21 10:32:35 -07:00
Samuel Newman 7da3f385a8 Fix stuck tooltip bubble on Safari (#10560)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 09:49:58 -07:00
RetroSunstar 0858010a5d Fix Image Options not opening on web (#10544) 2026-05-21 09:32:29 -07:00
Samuel Newman 901b1a3a9e [Chat] Remove ChatEmptyPill (#10575) 2026-05-21 09:25:05 -07:00
Samuel Newman c0f7ffa728 [Chat] Make group header a link, fix behaviour with long text (#10572) 2026-05-21 09:21:06 -07:00
pfrazee 1b546c54db Nightly source-language update 2026-05-21 03:19:49 +00:00
Samuel Newman 7fe2f892f6 Revert "Skip installing expo cli in CI (#10566)" (#10568) 2026-05-20 21:30:53 +03:00
Samuel Newman b73f9110e5 Skip installing expo cli in CI (#10566) 2026-05-20 09:50:44 -07:00
Samuel Newman c4ecb007f3 [Chat] New post attachment style in composer (#10563) 2026-05-20 09:50:34 -07:00
Samuel Newman 3d4ba946b3 [pnpm] Fix CI attempt 5 (#10567) 2026-05-20 09:33:02 -07:00
Samuel Newman a2417e043e [Chat] Add embeds to the optimistic message (#10564) 2026-05-20 09:30:04 -07:00
Samuel Newman 21446b43af [Chat] MessageItem tweaks (#10562) 2026-05-20 09:26:24 -07:00
Samuel Newman 4908816253 [pnpm] Fix CI attempt 4 (#10565) 2026-05-20 08:58:55 -07:00
Samuel Newman c1817d3425 [Chat] Handle new chat notification reasons (#10530)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 08:20:35 -07:00
DS Boyce 9cad883ab8 Update appearance of chat list item states (#10556)
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
2026-05-20 07:17:25 -07:00