| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Split out NotificationsTab
* Remove unused route parameter
* Refine the split between components
* Hoist some logic out of NotificationFeed
* Remove unused option
* Add all|conversations to query, hardcode "all"
* Add a Conversations tab
* Rename to Mentions
* Bump packages
* Rename fields
* Fix oopsie
* Simplify header
* Track active tab
* Fix types
* Separate logic for tabs
* Better border for first unread
* Highlight unread for all only
* Fix spinner races
* Fix fetchPage races
* Fix bottom bar border being obscured by glimmer
* Remember last tab within the session
* One tab at a time
* Fix TS
* Handle all RQKEY usages
* Nit
|
|
|
|
|
|
|
| |
* Filter mute words from search
* Filter mute words from notifications
* Do no filter search if using from filter
|
|
|
|
| |
Co-authored-by: Hailey <me@haileyok.com>
|
| |
|
|
|
|
|
| |
* Fetch enough pages to fill a page's worth of items
* Add failsafe in case of appview bug
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* new settings screen
* bring back the spinner
* add experimental language
* fix typo, change leading
* integrate priority notifications API
* update package
* use refetch instead of invalidateQueries
* fix read-after-write issue by polling for update
* add spinner for initial load
* rm onmutate, it's overcomplicated
* set error state eagerly
* Change language in description
Co-authored-by: Hailey <me@haileyok.com>
* prettier
* add `Toggle.Platform`
* extract out mutation hook + error state
* rm useless cache mutation
* disambiguate isError and isPending
* rm unused isError
---------
Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
Co-authored-by: Hailey <me@haileyok.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* Pull out follow-backs for higher signal
* Gate it
* Fix early gate check
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
* update atproto/api
* move thread mutes to server side
* rm log
* move muted threads provider to inside did key
* use map instead of object
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
| |
* Replace getAgent() with agent
* Replace {agent} with agent
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix: correctly apply structural sharing to preferences object
* Move moderation opts into a context
* Fix import
* Remove log
* Pass userdid directly
* Pass moderationPrefs directly
|
|
|
|
|
|
|
|
|
|
|
| |
* Hook it up
* Memoize getAgent method
* Use one shared reference
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* Drill into notifications/util
(cherry picked from commit 84b535ed54f4fe93debcd198809bb184519c3507)
* Thread getAgent instead
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
|
|
|
|
|
|
| |
* Extract query key roots to constants
* Dedupe labelers-detailed-info
* Align naming
|
|
|
|
|
|
|
|
|
| |
* Revert "Prefer post over quote when finding cached post (#2935)"
This reverts commit da62a77f05258ce2b0609248cb5677c2406a4e63.
* Prefer full posts for post thread placeholder
* Clarify with a comment
|
|
|
|
|
| |
* Mark read on first notifs page fetch always; this is less optimal but it fixes a case where when the first full page's unreads are all filtered out
* Use the pre-filter indexedAt for updateSeen
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update the feed to only check latest on focus after 30s, but to do a full reset on focus after 1 hour to avoid very stale data
* Remove the isFeedPublic query
* Fix: avoid double next-page fetches
* Reduce some poll intervals to reduce server load
* Guard against double-fires of fetchNextPage
* Reduce polling on blurred screens
|
|
|
|
|
| |
* Dont show both an error and empty message in the feed
* Add a sanity check when attempting to fill the first 30
|
|
|
|
|
| |
* On mobile, never replace the notifs under the user due to focus events
* Use the server's seenAt response to calculate isRead state locally
|
|
|
|
|
|
|
| |
* Dont poll for new content on profiles
* Drop the whenAppReady query after new post to reduce traffic overhead
* Reduce getPosts calls in notifs to only use them when needed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Dont reset notifications feed on push notification event
* Dont separate notifications by read state to avoid jank
* On notifications screen focus, check latest and only rerender if not scrolled down
* Reuse the cached notifs page when its not stale
* Bump ios build number
* Improve comments
* Change the 'mark all read' condition to avoid firing too early
|
| |
|
|
|
|
|
|
|
| |
* Sanity check against cases where empty pages may occur
* Use the mergefeed as an emergency fallback to an empty feed
* Check for new posts on focus
|
|
|
|
|
|
|
|
|
|
|
| |
* Move moderatePost up to feed query
* Attemt to fill page up to 30
* Add the 'ensure full page' behavior to notifs
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Reset
* Associate shadows with the cache
* Use colocated helpers
* Fix types
* Reorder for clarity
* More types
* Copy paste logic for profile
* Hook up profile query
* Hook up suggested follows
* Hook up other profile things
* Fix shape
* Pass setShadow into the effect deps
* Include reply posts in the shadow cache search
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
|
|
|
|
|
|
|
| |
checks (#2017)
* Refactor the notifications to cache and reuse results from the unread-notifs checks
* Fix types
|
|
|
|
|
| |
* Get more rigorous about getAgent() consistency
* Update the feed wrapper API to use getAgent() directly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rework resolve-did and resolve-uri queries to be smarter about cache reuse
* Precache handle resolutions
* Remove old unused code
* Load placeholder threads from the post-feed and notifications-feed queries
* Remove logs
* Fix bad ref
* Add loading spinners to the cache-loading thread view
* Scroll replies into view when loading threads
* Add caching within a thread
* Fix: dont show bottom border when the child spinner is active
|
|
|
|
|
|
|
| |
* Dont use the stale cache for notifs-feed
* Add a delay to marking all read to avoid marking upcoming posts as read
* Trigger automatic notifications refresh when navigating to the tab, in certain conditions
|
| |
|
|
|
|
|
| |
* Tempfix profile load
* First pass at staleTime
|
|
* Move broadcast channel to lib
* Refactor view/com/post/Post and remove temporary 2 components
* Add useModerationOpts hook
* Refactor notifications to use react-query
* Fix: only trigger updates in useModerationOpts when the values have changed
* Implement unread notification tracking
* Add moderation filtering to notifications
* Handle native/push notifications
* Remove dead code
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|