about summary refs log tree commit diff
path: root/src/state/queries
Commit message (Collapse)AuthorAgeFilesLines
...
* Handle pressing all go.bsky.app links in-app w/ resolution (#4680)Hailey2024-06-271-0/+24
|
* [Starter Packs] Posts tab (#4660)dan2024-06-271-0/+2
| | | | | * [Starter Packs] Posts tab * oops
* Only add the URI to the record (#4639)Hailey2024-06-251-1/+1
|
* add rich text facets to description (#4619)Hailey2024-06-241-14/+36
|
* Fix crash in Feeds and Starter Packs (#4616)dan2024-06-241-16/+28
| | | | | | | * Remove useless check * Fix the bug by only adding resolved feeds/lists * Clarify the purpose of the count field
* Starter Packs (#4332)Hailey2024-06-2110-45/+577
| | | | | | | Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Tweak feed card to prevent spinnerz when pushing to screen (#4600)Hailey2024-06-211-1/+9
|
* Pinned feeds cards (#4526)Eric Bailey2024-06-222-1/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lists support to FeedCard * Add useSavedFeeds query, similar to usePinnedFeedInfos * Integrate into Feeds screen * Fix alignment on mobile * Update usages * Add placeholder loading state * Handle no feeds state * Reuse previous data for placeholder * Staged loading * Improve staged loading * Use setQueryData approach to pre-caching * Add types for a little more safety * Fix precaching --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Fetch more than 3 suggested follows after first load (#4595)Eric Bailey2024-06-211-2/+7
| | | | | * Fetch more than 3 sugg follows after first load * Preview handling via overfetching
* Fix undefined block (#4479)Eric Bailey2024-06-191-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | * Fix undefined block (#4378) * Fix undefined block * Changing text and handling all blocks. * Tweaks * Update copy, make non-interactive * Remove console * Clarify logic * Pass through parent blocked state for 3p blocks * Better translation --------- Co-authored-by: Josh <hi@oracularhades.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Migrate local thread mutes (#4523)Samuel Newman2024-06-191-2/+2
| | | | | | | | | | | | | | | * migrate thread mutes * don't try and clear if not logged in yet * migrate mutes one at a time * write before mutating * only migrate mutes of self posts * use /** @deprecated */ * shouldLike -> shouldMute
* Implement thread locking (#4545)Paul Frazee2024-06-182-1/+34
| | | | | | | * Add the ability to edit threadgates * Fix bottom border on mobile * Refresh thread after threadgate edit
* Fix: only apply self-thread load-more behavior on the outer edge of the ↡Paul Frazee2024-06-181-2/+11
| | | | reply tree (#4559)
* Server-side thread mutes (#4518)Samuel Newman2024-06-184-57/+71
| | | | | | | | | | | * update atproto/api * move thread mutes to server side * rm log * move muted threads provider to inside did key * use map instead of object
* Select, don't mutate (#4541)Eric Bailey2024-06-171-19/+21
|
* Redo explore page (#4491)Eric Bailey2024-06-142-6/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Redo explore page, wip * Remove circle icons * Load more styling * Lower limit * Some styling tweaks * Abstract * Add tab, query, factor out * Revert unneeded change * Revert unneeded change v2 * Update copy * Load more styling * Header styles * The thin blue line * Make sure it's hairline * Update query keys * Border * Expand avis * Very load more copy
* Add known followers to shadow cache (#4517)Eric Bailey2024-06-141-2/+30
|
* Reuse overfetching for popular feeds, add in existing filtering (#4501)Eric Bailey2024-06-141-5/+95
|
* Set profile hover prefetch stale time to 30s (#4417)Eric Bailey2024-06-131-0/+1
| | | | | | | * Set prefetch stale time to 30s * Run prefetch on mouseOver * Only prefetch once on mousemove
* Add KnownFollowers component to standard profile header (#4420)Eric Bailey2024-06-111-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add KnownFollowers component to standard profile header * Prep for known followers screen * Add known followers screen * Tighten space * Add pressed state * Edit title * Vertically center * Don't show if no known followers * Bump sdk * Use actual followers.length to show * Updates to show logic, space * Prevent fresh data from applying to cached screens * Tighten space * Better label * Oxford comma * Fix count logic * Add bskyweb route * Useless ternary * Minor spacing tweak --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix to thread load-more bug (#4488)Paul Frazee2024-06-111-3/+2
|
* Improve thread loading (#4402)Paul Frazee2024-06-111-2/+51
| | | | | | | * Increase the number of posts loaded when a self-thread is present * Increase depth to 10, detect cutoffs on self-threads and show continue link * Stacky the avis
* Sort profile feedgens by likes (#4380)Eric Bailey2024-06-111-1/+4
| | | | | | | | | | | | | | | * Sort profile feedgens by likes * Sort entire set as we get more pages * Nah This reverts commit 3b8714fd97bb113cfd8c588d5cdfd063d395f553. * Update profile-feedgens.ts --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Throttle instead of debounce (#4456)Samuel Newman2024-06-101-2/+6
| | | | | | | | | | | * throttle instead of debounce * trailing: true * Fix throttle call --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* debounce refetching listconvos (#4455)Samuel Newman2024-06-101-3/+16
|
* Use the proper logic on iOS to increment the badge (#4233)Hailey2024-06-071-2/+2
|
* Use recent convos for share via dialog (#4352)Eric Bailey2024-06-041-1/+6
|
* remove resolution from post thread (#4297)Hailey2024-06-035-32/+90
| | | | | | | | | | | | | | | | | | | | | * remove resolution from post thread nit completely remove did cache lookup move cache check for did to `usePostThreadQuery` remove resolution from post thread * helper function * simplify * simplify search too * fix missing check for root or parent quoted post 🀯 * fix thread traversal
* Fix filtering uris of fetchSubjects (#4324)Yoshihiro Sugi2024-06-031-1/+1
|
* [🐴] Option to share via chat in post dropdown (#4231)Samuel Newman2024-05-311-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add send via chat button to post dropdown (cherry picked from commit d8458c0bc344f993266f7bc7e325d47e40619648) * let usePostQuery take uris with DIDs (cherry picked from commit 16b577ce749fd07e1d5f8461e8ca71c5b874a936) * add embed preview in composer (cherry picked from commit 795ceb98d55b6a3ab5b83187a582f9656d71db69) * rm log (cherry picked from commit 374d6b8869459f08d8442a3a47d67149e8d9ddd4) * remove params properly, or at least as close to (cherry picked from commit c20e0062c2ca4d9c2b28324eee5e713a1a3ab251) * show images in preview (cherry picked from commit 5bb617a3ce00f67bfc79784b2f81ef8dcb5bfc25) * Register embed immediately (cherry picked from commit ee120d5438a2c91c8980288665576d6a29b4c7e7) * Add hover to match embeds (cherry picked from commit 5297a5b06e499f46a9f6da510124610005db2448) * Update post dropdown copy (cherry picked from commit bc7e9f6a4303926a53c5c889f1f1b136faf20491) * Embed preview style tweaks (cherry picked from commit 9e3ccb0f25ac2f3ce6af538bb29112a3e96e01b1) * use hydrated posts from API and just use postembed component (cherry picked from commit cc0b84db87ca812d76cc69f46170ae84cfdde4ef) * fix type error (cherry picked from commit 9c49b940e1248e8a7c3b64190c5cb20750043619) * undo needless export (cherry picked from commit 1186701c997c50c0b29a809637cb9bc061b8c0a0) * fix overflow (cherry picked from commit 8868d5075062d0199c8ef6946fabde27e46ea378) --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Shadows (#4265)Eric Bailey2024-05-314-5/+143
|
* Replace getAgent() with reading agent (#4243)dan2024-05-2838-265/+244
| | | | | * Replace getAgent() with agent * Replace {agent} with agent
* [🐴] update convo list from message bus (#4189)Samuel Newman2024-05-242-196/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | * update convo list from message bus * don't increase unread count if you're the sender * add refetch interval back * Fix deleted message state copy * only enable if `hasSession` * Fix logged out handling * increase refetch interval to 60s * request 10s interval when message screen active * use useAppState hook for convo resume/background * Combine forces * fix useFocusEffect logic --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Improve moderation behaviors: show alert/inform sources and improve UX ↡Paul Frazee2024-05-241-15/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | around threads (#3677) * Dont show account or profile alerts and informs on posts * Sort threads to put blurred items at bottom * Group blurred replies under a single 'show hidden replies' control * Distinguish between muted and hidden replies in the thread view * Fix types * Modify the label alerts with some minor aesthetic updates and to show the source of a label * Tune when an account-level alert is shown on a post * Revert: show account-level alerts on posts again * Rm unused import * Fix to showing hidden replies when viewing a blurred item * Go ahead and uncover replies when 'show hidden posts' is clicked --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Privileged app passwords (#4200)Samuel Newman2024-05-231-2/+3
| | | | | | | | | | | | | | | | | | | * add checkbox to create privileged app password * add indicator to privileged app pwds to list * bump api * oops missed the yarnlock * adjust modal padding * lowercase * one more lowercase --------- Co-authored-by: Hailey <me@haileyok.com>
* Remove `getProfile` calls when loading feed (#3881)Hailey2024-05-231-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove unnecessary `getProfile()` calls from feed load add comments ensure only if first simplify nit handle cases where the parent is removed add a comment remove unnecessary `getProfile()` calls from feed load limit only to the first post in the returned items move the logic out of the render and into the query add the grandparent properly update `FeedItem` bump package update `FeedItem` update `post-feed` query update `FeedSlice` * nit * simplify logic * always pass `parentAuthor` * oops! * update `DebugMod`
* [🐴] Invalidate list convos query on block (#4171)Samuel Newman2024-05-222-21/+25
| | | | | * more memoization * invalidate listconvos query on block
* Only fallback to Discover if Following is first pinned (#4146)dan2024-05-201-15/+14
|
* [Statsig] Fix exposure logging for reduced onboarding (#4131)dan2024-05-211-1/+7
| | | | | | | * Add dangerouslyDisableExposureLogging option * Rename onboarding gate to v2 * Disable exposure logging for onboarding in PostFeed query
* [🐴] Add new chat metrics (#4130)Hailey2024-05-201-1/+1
| | | | | | | | | | | | | | | * remove a comment * add types for event, add log to profile button * add `chat:open` * add to chat list items * fix types * oops * oops 2.0
* Ensure deleted chats don't count towards unread (#4129)Eric Bailey2024-05-201-1/+4
|
* [🐴] DM button on profile (#4097)Samuel Newman2024-05-201-1/+31
| | | | | | | | | | | | | * add profile button * separate out button to component * normalise subscribe to labeller button size * infinite staletime * use Link rather than Button and change icon * adjust icon position
* Disable badge incrementing for DMs (#4088)Hailey2024-05-172-14/+5
| | | | | | | | | | | * disable badge increments for dms * revert decrementing in js for dms * reset badge on read notifications * remove some other code * prevent duplicate notification events
* [🐴] New chat dialog refresh (#4071)Eric Bailey2024-05-172-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Checkpoint, header styled, empty * Checkpoint, styles * Show recent follows in initial state, finesse some styles * Add skeleton * Add some limits * Fix autofocus on web, use bottom sheet input on native * Ignore type * Clean up edits * Format * Tweak icon placement * Fix type * use prop for dismissing keyboard --------- Co-authored-by: Hailey <me@haileyok.com>
* Set chat declaration upon signup (#4084)Eric Bailey2024-05-171-2/+0
|
* [🐴] don't include blocked convos in unread count (#4082)Samuel Newman2024-05-171-3/+21
| | | | | | | | | | | | | * don't include blocked convos in unread count * Use moderateProfile * Handle blocked state in chat list * Fix logic formatting, add todo --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [🐴] NUX (#4062)Samuel Newman2024-05-171-1/+21
| | | | | | | | | | | | | | | | | | | | | | | * remove type assertion * DMs NUX * delete button for testing * tweak styles and copy * rm log * style tweaks * reduce amount of words * Fix not showing on first load * Spacing tweaks --------- Co-authored-by: Eric Bailey <git@esb.lol>
* 100% Real Dealβ„’ (#4070)Eric Bailey2024-05-161-1/+1
|
* Reset leave chat optimistic update if fails (#4058)Eric Bailey2024-05-161-1/+17
|
* Properly update badge for other unread notifications (#4052)Hailey2024-05-161-8/+2
| | | | | | | | | | | | | | | * decrement badge count for chats * handle decrement in `useMarkAsRead` * remove async * remove setting badge count * oops * update the number correctly * nit