Commit Graph

5317 Commits

Author SHA1 Message Date
Eric Bailey f58dc57aac Use assertDid
Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com>
2025-01-08 11:37:18 -06:00
Eric Bailey e4b6972c05 Add fastIsType util 2025-01-08 11:37:18 -06:00
Eric Bailey e1a60bfa3c Tighten up types now that we have AnyProfileView 2025-01-08 11:37:18 -06:00
Eric Bailey a4e4e12d57 Cast for perf reasons 2025-01-08 11:37:18 -06:00
Eric Bailey 9e7d34a730 Expand AnyProfileView to include chat profile view, update post shadow to reflect this 2025-01-08 11:37:18 -06:00
Eric Bailey 55055c1cd0 Add parseEmbed utils 2025-01-08 11:37:18 -06:00
Eric Bailey e23ce16ff2 [@next] Profile handling, migrate ProfileCard (#7347)
* Introduce new utils for profiles, migrate old ProfileCard

* Rename, reorg
2025-01-08 11:37:18 -06:00
Eric Bailey 6c7cfc0047 Migrate guard in Wizard/State 2025-01-08 11:37:18 -06:00
Eric Bailey 4053b72416 Migrate a guard in notifications/util 2025-01-08 11:37:18 -06:00
Eric Bailey beb62f4961 Add correct type guards to notifications/feed 2025-01-08 11:37:18 -06:00
Eric Bailey aa18e81a1d Use correct type in post-feed 2025-01-08 11:37:18 -06:00
Eric Bailey 16addd8658 FIX potential bug in post-thread 2025-01-08 11:37:18 -06:00
Eric Bailey 0531cc7d89 Use correct type in post-quotes 2025-01-08 11:37:18 -06:00
Eric Bailey 46bf56e3e3 Specify exact types in post-thread 2025-01-08 11:37:18 -06:00
Eric Bailey f2a8c5c951 Migrate postgate/index 2025-01-08 11:37:18 -06:00
Eric Bailey 626cfc80eb Ditto last 2025-01-08 11:37:18 -06:00
Eric Bailey a5c1fd7554 Use internal type util to align types 2025-01-08 11:37:18 -06:00
Eric Bailey 3b3a5e0e13 Specify exact types in search-posts 2025-01-08 11:37:18 -06:00
Eric Bailey a7b0111155 Todo 2025-01-08 11:37:18 -06:00
Eric Bailey 876ce4af7f Fix up types in starter-packs queries 2025-01-08 11:37:18 -06:00
Eric Bailey 1e8823a507 Fix types in threadgates 2025-01-08 11:37:18 -06:00
Eric Bailey 68626a51e7 Migrate to isValidRecord in threadgate/util 2025-01-08 11:37:18 -06:00
Eric Bailey b0685612d0 Migrate to isValidView in queries/util 2025-01-08 11:37:18 -06:00
Eric Bailey 37c5329e4f Migrate another isValidRecord in NotificationFeedItem 2025-01-08 11:37:18 -06:00
Eric Bailey 9182a6a0fc Improve MediaPreview types 2025-01-08 11:37:18 -06:00
Eric Bailey 2c782d72ec Use isValidRecord in NotfyFeedItem 2025-01-08 11:37:18 -06:00
Eric Bailey a238666a96 Todo 2025-01-08 11:37:18 -06:00
Eric Bailey b7da85d2df Use matching types in NotificationFeedItem 2025-01-08 11:37:18 -06:00
Eric Bailey ac559171fc Omit type from constraint in avatar props 2025-01-08 11:37:18 -06:00
Eric Bailey aac65a8e0c Use matching type if PostRepostedBy 2025-01-08 11:37:18 -06:00
Eric Bailey b0d195aec4 Migrate to isValidRecord in PostFeedItem 2025-01-08 11:37:18 -06:00
Eric Bailey 3ea6ec14a0 Use matching type in ProfileFollowers screen 2025-01-08 11:37:18 -06:00
Eric Bailey 5c7e38eccf Use matching type in ProfileFollows screen 2025-01-08 11:37:18 -06:00
Eric Bailey f02f254de6 Ignore errors in DebugMod screen 2025-01-08 11:37:18 -06:00
Eric Bailey 05eae07098 Remove redundant cast in PostThreadFollowBtn 2025-01-08 11:37:18 -06:00
Eric Bailey c98a97ed20 Replace isRecord with isValidRecord in PostThreadItem 2025-01-08 11:37:18 -06:00
Eric Bailey cb4add1efd Conslidate and fix check for isValidRecord in Post.tsx 2025-01-08 11:37:18 -06:00
Eric Bailey ae48fdfac4 Use correct type for update profile mutation 2025-01-08 11:37:18 -06:00
Eric Bailey 1c956a2348 Omit type from constraint in profile queries where appropriate 2025-01-08 11:37:18 -06:00
Eric Bailey a9e6164d29 Omit type from constraint for old ProfileCard 2025-01-08 11:37:18 -06:00
Eric Bailey 8579fa99d2 Replace isRecord with isValidRecord in QuoteEmbed 2025-01-08 11:37:18 -06:00
Eric Bailey e47f7a13cb Omit from constraint for profile shadow 2025-01-08 11:37:18 -06:00
Eric Bailey f7ee3a576a Use consistent type in profile query 2025-01-08 11:37:18 -06:00
Eric Bailey 3375460a15 Bump SDK 2025-01-08 11:37:18 -06:00
Christian Schmidt aa3d8c5230 Preconnect to public.api.bsky.app (#7396) 2025-01-08 17:21:21 +00:00
Roland Crosby c564981405 Add key to invalidate spinner when theme changes (#7351) 2025-01-08 00:13:03 +00:00
Samuel Newman f61390fdf4 Hide menu button when search is focused (#7373)
* hide menu btn when cancel is shown

* remove useless ts-ignores
2025-01-07 22:21:58 +00:00
dan f3229d554b Bump version to 1.97.0 (#7386) 2025-01-07 21:14:14 +00:00
Dan Abramov 89353c6f22 Remove unused default argument 2025-01-07 21:07:06 +00:00
Jonathan Herbert cdd7d040b9 Fix moveToPermanentPath ext Default Missing '.' (#7281) 2025-01-07 19:13:01 +00:00