Merge upstream/main into appview
Merge 362 commits from bluesky-social/social-app upstream/main into the blacksky.community fork. Conflict resolution strategy (matching prior merges 0e9c3beee/cd3c42f7a): - Cat A (take ours): branding, Logo/Logotype, Stripe support pages, AI Preferences, Assembly embed, hide-button, gatekeeper integration, fork-only OAuth surface, profile-enrichment, microcosm-fallback, custom Topic feed, Settings.tsx accent overrides, MessagesList - Cat B (manual merge): App.{web,native}.tsx (drop policy/AA/Geo providers, keep OAuth callback flow), session/agent.ts (drop age-gate restrictChatSettings), session/__tests__/session-test.ts, Login/index.tsx, Conversation.tsx, ChatList.tsx, Settings, Moderation, ProfileMenu, AccountSettings, persisted/schema.ts - Cat C (ours + upstream constants): package.json (Blacksky name + upstream version 1.122.0; preserve OAuth + Stripe deps), lib constants, embed-player.ts (assembly + bandcamp), env/common.ts - Cat D (take theirs): components routinely refactored upstream - Cat E (accept then delete): src/ageAssurance/, src/geolocation/, src/components/{ageAssurance,PolicyUpdateOverlay,dialogs/nuxs}/, src/components/dialogs/DeviceLocationRequestDialog.tsx, src/state/birthdate.ts, plus restrictChatSettings.ts Preserved Blacksky customizations: - Branding constants: BSKY_SERVICE=blacksky.app, BSKY_APP_HOST= blacksky.community, IFRAME_HOST=blacksky.community, toNiceDomain "Blacksky Algorithms", utm_source=blacksky, google play id community.blacksky.app - OAuth surface: handle-only LoginForm, oauth-{agent,web-client, telemetry}.ts, hasOAuthCallbackParams, localhost->127.0.0.1 redirect - AI Preferences screen + record schema + Experimental badge - Stripe support page, Bandcamp + Streamplace + Assembly embeds - HideButton replaces hide-post-for-me menu items (commit f9c39fb8e) - Gatekeeper integration for Blacksky PDS app password operations - Profile enrichment + embed fallback queries - Custom Topic screen with Blacksky topics API Stripped age-gate guards from carried chat code per user direction: keep the chat changes, drop useAgeAssurance imports and conditional gating in ChatList, Conversation, Settings, MessagesList, ShareMenuItems, BottomBar{,Web}, LeftNav, AccountSettings, Moderation. Dependency adjustments: - Pin @tanstack/* back to 5.25.0 (upstream bumped to 5.96, but the fork's useQueryWithFallback.ts targets the 5.25 generic shape) - Restore PERSISTED_QUERY_ROOT/GCTIME exports from state/queries - Keep build-submit-{ios,android}.yml + bundle-deploy-eas-update.yml unchanged (Blacksky has no native apps yet) - Patch @discord/bottom-sheet useStableCallback for React 19 useRef via patch-package - Migrate 23 files from deprecated @lingui/macro to @lingui/core/macro + @lingui/react/macro (Lingui v5) - Migrate 17 files from default React import to named imports - Drop loading prop from expo-image callsites (removed in v3) - Update PostMenuItems to upstream useTranslate API; drop the forceGoogleTranslate prop chain (translation moved into useTranslate({key: post.uri})) Comment out OAuth telemetry addEventListener hooks in oauth-web-client because @atproto/oauth-client-browser ^0.3 removed the EventTarget surface; restore once an equivalent observer lands upstream. Verification (all pass locally): - yarn lint: 0 errors - yarn lockfile-lint: clean - yarn prettier --check .: clean - yarn intl:build: clean - yarn typecheck: clean - NODE_ENV=test yarn test --forceExit: 477 passed, 28 todo, 0 failing - bskyweb go vet ./... && go test ./...: clean