about summary refs log tree commit diff
path: root/src/state
Commit message (Collapse)AuthorAgeFilesLines
* Show feedback for Follow button in interstitials (#4738)dan2024-07-051-2/+17
| | | | | * Fix Follow in interstitials * Show feedback in toast
* [D1X] Use user action and viewing history to inform suggested follows (#4727)Eric Bailey2024-07-044-3/+110
| | | | | | | | | | | | | * Use user action and viewing history to inform suggested follows * Remove dynamic spreads * Track more info about seen posts * Add ranking --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Fix responsiveness of dismissing the progress guide (#4729)Paul Frazee2024-07-041-8/+7
|
* Fix feed feedback (#4730)dan2024-07-041-7/+5
|
* [D1X] Pull out follow-backs for higher signal (#4719)Eric Bailey2024-07-043-6/+25
| | | | | | | | | | | * Pull out follow-backs for higher signal * Gate it * Fix early gate check --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* New user progress guides (#4716)Paul Frazee2024-07-044-0/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add the animated checkmark svg * Add progress guide list and task components * Add ProgressGuide Toast component * Implement progress-guide controller * Add 7 follows to the progress guide * Wire up action captures * Wire up progress-guide persistence * Trigger progress guide on account creation * Clear the progress guide from storage on complete * Add progress guide interstitial, put behind gate * Fix: read progress guide state from prefs * Some defensive type checks * Create separate toast for completion * List tweaks * Only show on Discover * Spacing and progress tweaks * Completely hide when complete * Capture the progress guide in local state, and only render toasts while guide is active * Fix: ensure persisted hydrates into local state * Gate --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Add starter pack embeds to posts (#4699)Hailey2024-07-041-0/+33
| | | | | | | | | | | | | | | | | | | | | | | * starter pack embeds * revert test code * Types * add `BaseLink` * precache on click * rm log * add a comment * loading state * top margin --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Handle pushing to starterpack screen when unauthed (#4692)Hailey2024-06-272-25/+15
|
* Handle pressing all go.bsky.app links in-app w/ resolution (#4680)Hailey2024-06-272-0/+44
|
* Remove reposts from the Replies tab (#4669)dan2024-06-271-0/+6
|
* [Starter Packs] Posts tab (#4660)dan2024-06-272-3/+30
| | | | | * [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
|
* Composer - replace threadgate modal with alf dialog (#4329)Samuel Newman2024-06-241-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * replace threadgate modal with alf dialog * add accessibility to selectable * add aria * hide spinner once fetched * add `hasOpenDialogs` value to context * remove state * Rm loading state * Update the threadgate dialog button theming * Factor out the threadgate editor and add editing to post views * Mark messages for localization * Use colors from mute dialog * Remove unnecessary effect * Reset state on dialog dismiss * Clearer CTA * Fix bugs * Scope keyboard fix * Rm getAreDialogsActive (no longer needed) --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* 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-2116-61/+659
| | | | | | | 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
|
* [Statsig] Send Discover aggregate interactions (#4599)dan2024-06-221-1/+106
|
* 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
* [Session] Logging (#4476)dan2024-06-203-6/+178
| | | | | | | * Add session logging (console.log) * Hook it up for real * Send type separately
* Add a11y context (#4586)Eric Bailey2024-06-201-0/+65
| | | | | * Add a11y context * Feedback
* Option for large alt badges (#4571)Samuel Newman2024-06-205-11/+67
| | | | | | | | | | | | | * add pref for large alt badge * add to settings * do the large badge bit * Tweak wording --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [Session] Convert account to session data explicitly (#4446)dan2024-06-192-17/+24
| | | | | | | * Extract a variable * Extract sessionAccountToSession * Convert account to session data on assignment
* 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>
* Verify email reminders (#4510)Eric Bailey2024-06-183-25/+40
| | | | | | | | | | | | | | | | | | | | | | | | | * Clarify intent * Increase email reminder period to once per day * Fallback * Snooze immediately after account creation, prevent showing right after signup * Fix e2e test exports * Remove redundant check * Better simple date generation * Replace in DateField * Use non-string comparison * Revert change to unrelated code * Also parse * Remove side effect
* Migrate local thread mutes (#4523)Samuel Newman2024-06-193-4/+58
| | | | | | | | | | | | | | | * 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-183-2/+36
| | | | | | | * 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-186-119/+115
| | | | | | | | | | | * 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-142-2/+32
|
* 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
|
* Stringify path error (#4379)Eric Bailey2024-06-111-1/+1
|
* 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
* Revert to old modal on android (#4458)Samuel Newman2024-06-112-5/+8
| | | | | | | | | | | | | | | | | * revert to old modal on android * close alf dialogs before closing composer * Try to fix white area * Use hook * Fix Back button * oops --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* 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>
* Only validate persisted data for existing users (#4465)Eric Bailey2024-06-101-0/+6
|
* 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
|
* Fix prettier (#4392)dan2024-06-061-1/+6
|
* cancel animations before updating value for min-shell animation (#4386)Hailey2024-06-061-1/+3
| | | | | * cancel animations before updating value * comment
* Switch to withSpring to work around Reanimated regression (#4391)dan2024-06-061-9/+3
|
* [🙅] Integrate deactivate (#4308)Eric Bailey2024-06-053-5/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update types (cherry picked from commit 27deac1f367825771ba76fa098ec1b0a62dcf64a) * Integrate into deactivate dialog (cherry picked from commit 84f299a447259cc1fbfc7be607e28197779e4ec1) * Integrate into Deactivated screen (cherry picked from commit 29193f34822ecdf11e2a407197fa230285dfe846) * Bump api sdk (cherry picked from commit 738c622d3e5a23bfbb0d3bdce3a6bdf01e54ca60) * Update permalink (cherry picked from commit c10bf5c071d76c3054bc4ce9d313c10b1820f038) * Bump sdk pkg * Update types to match backend * Loosen types for forwards compat * Hydrate status from persisted data * Refresh session when re-activating, clear query cache * Show app password error * Refactor dialog to clear state when closed * Add app password error to Deactivated screen
* Report persisted schema validation failures (#4358)Eric Bailey2024-06-041-2/+13
| | | | | * Report persisted schema validation failures * Make it safer