about summary refs log tree commit diff
path: root/src/state/models
Commit message (Collapse)AuthorAgeFilesLines
...
* Add keyboard shortcuts: new, escape, and hard break (#552)Ollie H2023-05-021-1/+2
| | | | | | | | | | | | | | | | | | | | | * Add keyboard shortcuts: new, escape, and hard break * Add preferences modal * Remove code accidentally re-added due to rebase * Fix incorrect copy and lint * Put stuff back so diffs are clearer * Re-add invite codes to settings * Address comments * Tune the copy --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Pre-web image changes refactor (#560)Ollie H2023-05-022-13/+4
| | | | | * Pre-web image changes refactor * Remove unneeded async behavior
* Image alt text view modal (#551)Ollie H2023-05-011-1/+7
| | | | | | | | | * Image alt text view modal * Minor style tweaks --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Implement blocks (#554)Paul Frazee2023-04-285-3/+207
| | | | | | | | | | | | | | | | | | | | | | | | | * Quick fix to prompt * Add blocked accounts screen * Add blocking tools to profile * Blur avis/banners of blocked users * Factor blocking state into moderation dsl * Filter post slices from the feed if any are hidden * Handle various block UIs * Filter in the client on blockedBy * Implement block list * Fix some copy * Bump deps * Fix lint
* Refactor moderation to apply to accounts, profiles, and posts correctly (#548)Paul Frazee2023-04-276-220/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ScreenHider component * Add blur attribute to UserAvatar and UserBanner * Remove dead suggested posts component and model * Bump @atproto/api@0.2.10 * Rework moderation tooling to give a more precise DSL * Add label mocks * Apply finer grained moderation controls * Refactor ProfileCard to just take the profile object * Apply moderation to user listings and banner * Apply moderation to notifications * Fix lint * Tune avatar & banner blur settings per platform * 1.24
* Load previous state in alt text modal (#546)Ollie Hsieh2023-04-272-2/+3
|
* Fix: dont request more than 25 posts at a time (close [APP-561]) (#534)Paul Frazee2023-04-251-4/+10
|
* [APP-562] Persist 'copied' state of invite codes (#535)Paul Frazee2023-04-251-1/+19
| | | | | * Persist 'copied' state of invite codes (close APP-562) * Dont show copied message if invite used
* If adding the user's post when empty, just refresh (#530)Paul Frazee2023-04-241-0/+3
|
* Rework how recently-created posts are added to the feed (repeat posts issue) ↵Paul Frazee2023-04-241-24/+23
| | | | | | | | | (#527) * Rework new-post behavior to just add the user's created post to the top * Only add post to top when not a reply * Fix: run update in action
* Update hardcoded suggested actors (#524)Paul Frazee2023-04-241-72/+11
| | | | | * Update the hardcoded suggested follows * Update the suggested actors to just use hardcoded list since there's now the foaf system
* Performance fixes with new getPosts (#525)Paul Frazee2023-04-243-73/+84
| | | | | | | | | * Update notifications to fetch in a batch using getPosts * Improve search perf with getPosts * Bump @atproto/api@0.2.9 * Just use post uri for key
* Feed fixes: repeat posts & nonreplies showing up in the wrong place (#516)Paul Frazee2023-04-221-6/+4
| | | | | * Fix the repeat posts issue on the home feed * Fix: replies no longer show up in the no-replies feed
* Android fixes (#515)Paul Frazee2023-04-221-0/+24
| | | | | | | | | * Fix profile screen performance on android and remove dead code * Correctly handle android hardware back btn * Fix EditProfile modal for android * Fix lint
* Fix link opening (#512)Paul Frazee2023-04-212-3/+9
|
* [APP-522] Create & revoke App Passwords within settings (#505)Ansh2023-04-212-2/+64
| | | | | | | | | | | | | | | | | | | | | | | * create and delete app passwords * add randomly generated name * Tweak copy and layout of app passwords * Improve app passwords on desktop web * Rearrange settings * Change app-passwords route and add to backend * Fix link * Fix some more desktop web * Remove log --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add alt text support and rework image layout (#503)Ollie Hsieh2023-04-213-8/+43
| | | | | | | | | | | | | | | | | | | | | | | | | * Add alt text support and rework image layout * Add additional BottomSheet implementation to account for nested Composer modal * Use mobile gallery layout on mobile web * Missing key * Fix lint * Move altimage modal into the standard modal system * Fix overflow wrapping of images * Fixes to the alt-image modal * Remove unnecessary switch * Restore old imagelayoutgrid code --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix profile link 404s on session change & handle change [APP 523] (#507)Paul Frazee2023-04-211-0/+2
| | | | | * Use DID to link to the user profile to gracefully handle... handle changes * Reset nav state on active profile change
* Improvements to notifications screen [APP-520] (#501)Paul Frazee2023-04-201-8/+6
| | | | | | | | | | | * Refresh or sync notifications when the tab is navigated to * Fix to bad textnode render * Speed up initial session load * Fix lint * Restore updateSessionState() on session resumption
* Thread muting [APP-29] (#500)Paul Frazee2023-04-206-11/+148
| | | | | | | * Implement thread muting * Apply filtering on background fetched notifs * Implement thread-muting tests
* Feed and notifs improvements (#498)Paul Frazee2023-04-193-121/+81
| | | | | | | | | | | | | | | | | * Reduce frequency of the notifications sync * Reduce frequency of home feed polling * Ensure loading spinner is visible in notifications * Render notifications loading spinner in the flatlist * Fixes and performance improvements to notifications * Render 30+ on notifications if at max * Fix issue with repeating posts in home feed * Dont check for unread notifs if we're already at max
* #420: add updateDataOptimistically utility to disallow like counter out of ↵Ansh2023-04-192-62/+86
| | | | | | | | | | | | | | | sync (#446) * add isLikedPressed flag to disallow like counter out of sync * create revertible helper for updateDataOptimistically * test implementation * Update updateDataOptimistically() and apply to reposts --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* [APP 513] Label tuning (#496)Paul Frazee2023-04-191-1/+3
| | | | | * Label updates: break out sexual into 3 categories; tune defaults; improve descriptions * Fix misapplication of warning in notifications
* Rework search suggestions for performance (#492)Paul Frazee2023-04-181-6/+10
|
* Split image cropping into secondary step (#473)Ollie Hsieh2023-04-175-14/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Split image cropping into secondary step * Use ImageModel and GalleryModel * Add fix for pasting image URLs * Move models to state folder * Fix things that broke after rebase * Latest -- has image display bug * Remove contentFit * Fix iOS display in gallery * Tuneup the api signatures and implement compress/resize on web * Fix await * Lint fix and remove unused function * Fix android image pathing * Fix external embed x button on android * Remove min-height from composer (no longer useful and was mispositioning the composer on android) * Fix e2e picker --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add first round of labeling tools (#467)Paul Frazee2023-04-125-140/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rework notifications to sync locally in full and give users better control * Fix positioning of load more btn on web * Improve behavior of load more notifications btn * Fix to post rendering * Fix notification fetch abort condition * Add start of post-hiding by labels * Create a standard postcontainer and improve show/hide UI on posts * Add content hiding to expanded post form * Improve label rendering to give more context to users when appropriate * Fix rendering bug * Add user/profile labeling * Implement content filtering preferences * Filter notifications by content prefs * Update test-pds config * Bump deps
* Fix: correctly track when profile state was last updatedPaul Frazee2023-04-071-0/+1
|
* Update AtUri import to use official package with fix for usernames that ↵Paul Frazee2023-04-074-4/+4
| | | | start with numbers (close #414) (#418)
* Small fix: run in actionPaul Frazee2023-04-071-1/+3
|
* Fix repost rendering (#405)Paul Frazee2023-04-061-1/+1
|
* Add user invite codes (#393)Paul Frazee2023-04-054-19/+154
| | | | | | | | | | | * Add mobile UIs for invite codes * Update invite code UIs for web * Finish implementing invite code behaviors (including notifications of invited users) * Bump deps * Update web right nav to use real data; also fix lint
* Analytics fixes (closes #386) (#387)Paul Frazee2023-04-051-0/+2
| | | | | | | * Only send analytics events when the user is logged in * Only send analytics events when the user is logged in (web) * Add analytics identify() call
* Rework the me.follows cache to reduce network load (#384)Paul Frazee2023-04-039-65/+70
|
* Improve "Load more" error handling in feeds (#379)Paul Frazee2023-04-032-17/+48
| | | | | | | * Add explicit load-more error handling to posts feed * Add explicit load-more error handling to notifications feed * Properly set hasMore to false after an error
* Reorganize state models for clarity (#378)Paul Frazee2023-04-0316-84/+88
|
* Lex refactor fixes (#368)Paul Frazee2023-04-024-3/+9
| | | | | | | | | | | | | * Fix: handle validation failures correctly in feed-view * Fix: convert the off-spec feed view to lex objects * Fix to fetching all follows during init * Bump @atproto/api@0.2.1 * Fix: properly group together like notifications * 1.12
* Lex refactor (#362)Paul Frazee2023-03-3124-444/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove the hackcheck for upgrades * Rename the PostEmbeds folder to match the codebase style * Updates to latest lex refactor * Update to use new bsky agent * Update to use api package's richtext library * Switch to upsertProfile * Add TextEncoder/TextDecoder polyfill * Add Intl.Segmenter polyfill * Update composer to calculate lengths by grapheme * Fix detox * Fix login in e2e * Create account e2e passing * Implement an e2e mocking framework * Don't use private methods on mobx models as mobx can't track them * Add tooling for e2e-specific builds and add e2e media-picker mock * Add some tests and fix some bugs around profile editing * Add shell tests * Add home screen tests * Add thread screen tests * Add tests for other user profile screens * Add search screen tests * Implement profile imagery change tools and tests * Update to new embed behaviors * Add post tests * Fix to profile-screen test * Fix session resumption * Update web composer to new api * 1.11.0 * Fix pagination cursor parameters * Add quote posts to notifications * Fix embed layouts * Remove youtube inline player and improve tap handling on link cards * Reset minimal shell mode on all screen loads and feed swipes (close #299) * Update podfile.lock * Improve post notfound UI (close #366) * Bump atproto packages
* Feed updates (Closes #344) (#356)Paul Frazee2023-03-221-56/+33
| | | | | | | | | * Rework feed polling to correctly detect when new content is available (close #344) * Tweak how the tuner works for consistency * Improve the feed-update behavior after posting * Load latest notifications when opening the tab
* Filter content by your device's configured languages (#354)Paul Frazee2023-03-223-1/+48
|
* Merge the suggested actors model with the general suggestion system (#343)Paul Frazee2023-03-211-2/+2
|
* Add fulltext search for posts and profiles (closes #340) (#342)Paul Frazee2023-03-211-0/+51
| | | | | | | | | | | | | | | * Refactor mobile search screen * Remove 'staleness' fetch trigger on search * Implement a temporary fulltext search solution * Add missing key from profile search result * A few UI & UX improvements to the search suggestions * Update web search suggestions * Implement search in web build
* Fix bug in checking for latestPaul Frazee2023-03-211-6/+1
|
* A few fixes to ensure threads show up as often as possiblePaul Frazee2023-03-211-1/+0
|
* Elide long threads in the feed (close #333)Paul Frazee2023-03-211-1/+2
|
* Introduce an image sizes cache to improve feed layouts (close #213) (#335)Paul Frazee2023-03-215-9/+48
| | | | | * Introduce an image sizes cache to improve feed layouts (close #213) * Clear out resolved promises from the image cache
* Fix: poll for unread notifications globally (close #303) (#330)Paul Frazee2023-03-201-0/+1
|
* Add custom feeds selector, rework search, simplify onboarding (#325)Paul Frazee2023-03-196-30/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Get home screen's swipable pager working with the drawer * Add tab bar to pager * Implement popular & following views on home screen * Visual tune-up * Move the feed selector to the footer * Fix to 'new posts' poll * Add the view header as a feed item * Use the native driver on the tabbar indicator to improve perf * Reduce home polling to the currently active page; also reuse some code * Add soft reset on tap selected in tab bar * Remove explicit 'onboarding' flow * Choose good stuff based on service * Add foaf-based follow discovery * Fall back to who to follow * Fix backgrounds * Switch to the off-spec goodstuff route * 1.8 * Fix for dev & staging * Swap the tab bar items and rename suggested to what's hot * Go to whats-hot by default if you have no follows * Implement pager and tabbar for desktop web * Pin deps to make expo happy * Add language filtering to goodstuff
* Refactor feed manipulation and rendering to be more robust (#297)Paul Frazee2023-03-162-230/+126
|
* Update team handles and fetch more data in discoveryPaul Frazee2023-03-151-0/+2
|
* Optimize and refactor profile rendering a bitPaul Frazee2023-03-151-0/+49
|