about summary refs log tree commit diff
path: root/src/state
Commit message (Collapse)AuthorAgeFilesLines
* Move home feed and thread preferences to server (#1507)Paul Frazee2023-09-212-132/+146
| | | | | | | | | | | * Move home feed and thread preferences to server * Fix thread usage of prefs * Remove log * Bump @atproto/api@0.6.16 * Improve type usage
* Language settings updates, new primary language setting (#1471)Eric Bailey2023-09-211-0/+15
| | | | | | | | | | | | | | | * move content languages to screen * add dropdown library, style primary lang select * update settings button * show selected langauges in button * use primary language in translator link * update copy * lint
* Prefilter the mergefeed to ensure a better mix of following and custom feeds ↵Paul Frazee2023-09-202-51/+59
| | | | | | | | | | | | | | | (#1498) * Prefilter the mergefeed to ensure a better mix of following and custom feeds * Test suite improvements & tests for the mergefeed (#1499) * Disable invite codes test for now * Update test sim to latest iphone * Introduce TestCtrls driver * Add mergefeed tests
* Feeds tab fixes (#1486)Paul Frazee2023-09-191-1/+7
| | | | | | | | | | | | | * Bold the saved feeds on mobile * Improve the saved feeds loading state * Add soft reset handler to feeds page * Show feed descriptions in profile listing * Add an 'about this feed' modal * Fix type assertion
* Tree view threads experiment (#1480)Paul Frazee2023-09-191-1/+14
| | | | | | | | | | | | | * Add tree-view experiment to threads * Fix typo * Remove extra minimalshellmode call * Fix to parent line rendering * Fix extra border * Some ui cleanup
* Onboarding recommended follows (#1457)Ansh2023-09-202-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upgrade api package * add RecommendedFollows as a step in onboarding * add list of recommended follows from suggested actor model * remove dead code * hoist suggestedActors into onboarding model * add comments * load more suggested follows on follow * styling changes * add animation * tweak animations * adjust styling slightly * adjust styles on mobile * styling improvements for web * fix text alignment in RecommendedFollows * dedupe inserted suggestions * fix animation duration * Minor spacing tweak --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> and Eric Bailey <git@esb.lol>
* Add thread sort settings (#1475)Paul Frazee2023-09-192-7/+60
| | | | | | | | | * Add thread sorting preferences * UI tweaks * Tweak settings * Tune the copy
* Various release fixes (#1470)Paul Frazee2023-09-181-12/+16
| | | | | | | | | * Fix error state for recommended feeds * Handle failure to set default feeds more safely * Dont return undefined within react-query * Update yarn.lock
* Feed UI update working branch [WIP] (#1420)Paul Frazee2023-09-187-351/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Feeds navigation on right side of desktop (#1403) * Remove home feed header on desktop * Add feeds to right sidebar * Add simple non-moving header to desktop * Improve loading state of custom feed header * Remove log Co-authored-by: Eric Bailey <git@esb.lol> * Remove dead comment --------- Co-authored-by: Eric Bailey <git@esb.lol> * Redesign feeds tab (#1439) * consolidate saved feeds and discover into one screen * Add hoverStyle behavior to <Link> * More UI work on SavedFeeds * Replace satellite icon with a hashtag * Tune My Feeds mobile ui * Handle no results in my feeds * Remove old DiscoverFeeds screen * Remove multifeed * Remove DiscoverFeeds from router * Improve loading placeholders * Small fixes * Fix types * Fix overflow issue on firefox * Add icons prompting to open feeds --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> * Merge feed prototype [WIP] (#1398) * POC WIP for the mergefeed * Add feed API wrapper and move mergefeed into it * Show feed source in mergefeed * Add lodash.random dep * Improve mergefeed sampling and reliability * Tune source ui element * Improve mergefeed edge condition handling * Remove in-place update of feeds for performance * Fix link on native * Fix bad ref * Improve variety in mergefeed sampling * Fix types * Fix rebase error * Add missing source field (got dropped in merge) * Update find more link * Simplify the right hand feeds nav * Bring back load latest button on desktop & unify impl * Add 'From' to source * Add simple headers to desktop home & notifications * Fix thread view jumping around horizontally * Add unread indicators to desktop headers * Add home feed preference for enabling the mergefeed * Add a preference for showing replies among followed users only (#1448) * Add a preference for showing replies among followed users only * Simplify the reply filter UI * Fix typo * Simplified custom feed header * Add soft reset to custom feed screen * Drop all the in-post translate links except when expanded (#1455) * Update mobile feed settings links to match desktop * Fixes to feeds screen loading states * Bolder active state of feeds tab on mobile web * Fix dark mode issue --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Ansh <anshnanda10@gmail.com>
* share mute list link with did not handle (#1438)Ansh2023-09-121-0/+4
|
* Add birth date gating to moderation settings (#1435)Paul Frazee2023-09-113-0/+21
| | | | | | | * Add birth date preference, modal to set, link in settings, and age gate in moderation * Styling fixes for android * Fix types
* Separate list deletion into chunks (close #1430) (#1431)Paul Frazee2023-09-111-6/+12
|
* Set crop mode to None by default (#1415)dan2023-09-081-1/+1
| | | | | | | Fixes #1263 Previously, opening the crop tool had 1:1 selected by default. So if you opened it and pressed Done without changing anything, it would format the image as 1:1. After this change, None is selected by default. So if you open the crop tool and press Done without changing anything, nothing will change.
* Updates to use dynamic/responsive styles on web (#1351)Paul Frazee2023-09-051-1/+2
| | | | | | | | | | | | | | | | | | | * Move most responsive queries to the hook * Fix invalid CSS value * Fixes to tablet render of post thread * Fix overflow issues on web * Fix search header on tablet * Fix QP margin in web composer * Fix: only apply double gutter once to flatlist (close #1368) * Fix styles on discover feeds header * Fix double discover links in multifeed
* Sort thread replies by likes (#1356)Paul Frazee2023-09-011-1/+5
| | | | | * Sort replies by likes * Types fix
* refresh when empty (#1354)Ansh2023-08-311-0/+7
|
* Improvements to UI in web logged-out views (#1341)Paul Frazee2023-08-301-7/+2
| | | | | | | * Add LoggedOutLayout for desktop/tablet web * Avoid screen flash in the transition to onboarding * Fix comment
* Merge branch 'ansh/app-812-add-custom-feed-discovery-to-onboarding' into mainPaul Frazee2023-08-305-9/+115
|\
| * Rework web onboardingPaul Frazee2023-08-291-0/+13
| |
| * Move onboarding to the withAuthRequired HOCPaul Frazee2023-08-291-7/+0
| |
| * fix onboarding on webAnsh Nanda2023-08-291-0/+7
| |
| * add more trackingAnsh Nanda2023-08-281-2/+3
| |
| * start onboarding only for new account creationsAnsh Nanda2023-08-283-20/+17
| |
| * simplify onboarding model function namingAnsh Nanda2023-08-281-2/+7
| |
| * track onboarding stepsAnsh Nanda2023-08-281-0/+2
| |
| * fix onboarding stuck on welcomeAnsh Nanda2023-08-281-6/+11
| |
| * add custom feed discovery to onboardingAnsh Nanda2023-08-281-13/+16
| |
| * remove logsAnsh Nanda2023-08-281-1/+0
| |
| * move onboarding to screensAnsh Nanda2023-08-281-23/+35
| |
| * create onboarding modelAnsh Nanda2023-08-252-0/+69
| |
* | Move `PreferencesHomeFeed` to a screen instead of a modal (#1335)Ansh2023-08-301-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * move `PreferencesHomeFeed` to a screen instead of a modal * add web route for home feed preferences * upgrade `@miblanchard/react-native-slider` to fix lint * fix web route naming * fix desktop web styling * add `react-native-slider` mock
* | Moderation settings fixes (#1336)Paul Frazee2023-08-301-180/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Default isAdultContentEnabled to false on all devices. The original intent of setting the default based on the device was to make the maximally-permissive choice. It turns out this was a mistake as it created sync issues between devices; users would be confused by the lack of congruity between them. We have to go with false by default to ensure sync is retained. * Update preferences model to use new sdk api * Delete dead code * Dont show the iOS adult content warning in content filtering settings if adult content is enabled * Bump @atproto/api@0.6.8 * Codebase style consistency
* | Improvements to feed assembly to avoid possible state issues (#1318)Paul Frazee2023-08-281-1/+12
|/ | | | | * Avoid potential dropped posts due to pruning when checking for latest * Add a sanity check to ensure dup react keys never occur (close #1315)
* defer loading of feeds until visible (#1271)Eric Bailey2023-08-241-1/+1
| | | | | | | | | | | * defer loading of feeds until visible * Fix: use existing hasLoaded * Fix: dont query for latest during initial load --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* setup `isAuthenticatedUser` in profileUiModel inside an action (#1272)Ansh2023-08-241-3/+5
|
* [APP-786] Native notifications (#1095)Ansh2023-08-232-89/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move `notifee.ts` to notifications folder * install expo notifications * add UIBackgroundMode `remote-notifications` to app.json * fix notifee import in Debug.tsx * add `google-services.json` * add `development-device` class to eas.json * Add `notifications.ts` for native notification handling * send push token to server * update `@atproto/api` * fix putting notif token to server * fix how push token is uploaded * fix lint * enable debug appview proxy header on all platforms * setup `notifications.ts` to work with app view notifs * clean up notification handler * add comments * update packages to correct versions * remove notifee * clean up code a lil * rename push token endpoint * remove unnecessary comments * fix comments * Remove old background scheduler * Fixes to push notifications API use * Bump @atproto/api@0.6.6 --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Improve handling of unselecting languanges in composer language menu (#1093)Eric Bailey2023-08-231-14/+61
| | | | | | | | | | | | | | | | | | | | | | | * allow toggling off/on multiple from main composer lang menu * fix dropdown styles for long labels * udpate model to use new string field * update language UI * save langs to history on submit * remove edit * clean up use new fields * default to deviceLocales * fix default valu * feedback * use radio icon
* fix bad reference on nativeEric Bailey2023-08-231-1/+2
|
* Fix: update posts rendered in notifs on refresh (close #1196) (#1243)Paul Frazee2023-08-221-4/+16
|
* Add likes tab (#1227)Eric Bailey2023-08-222-25/+57
| | | | | | | | | | | | | | | | | * add likes tab (cherry picked from commit 6c5ffd964ca0b185ddfc37088d82712a006a1163) * only show Likes tab to authenticated user (cherry picked from commit ecc1254411d760158b6d7a4c5f05d940db872dfc) * Bump @atproto/api@0.6.5 * fix types --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* add title attr to text text links (#1228)Eric Bailey2023-08-221-1/+8
| | | | | | | | | | | | | | | * add title attr to text text links * Revert "add title attr to text text links" This reverts commit c028cd184efd3b2788d8f46134eecf521e5d7b07. * use css tooltips * add to expanded post state * handle theming * add to bskyweb
* [APP-834] Allow @ing someone in post directly from profile (#1241)Ansh2023-08-221-0/+1
| | | | | * setup `initMention` for mobile * setup creating post with profile tagged on web
* do not thread author media filtered feed (#1253)Eric Bailey2023-08-222-6/+27
|
* Dont suggest users that are muted or blocked (close #1185) (#1209)Paul Frazee2023-08-172-6/+28
|
* A set of composer fixes (#1187)Paul Frazee2023-08-161-0/+1
| | | | | | | * Don't insert a newline on cmd+entrl (close #1173) * Don't linkify selected text on url-paste (close #1149) * Disable the adult content controls if there is no media on the post (close #1169)
* Fix to "Load new posts" showing sometimes when there's nothing new to show ↵Paul Frazee2023-08-161-1/+10
| | | | | | | (#1191) * Fix to feed item react key value (hopefully) * Fix false-firing of load more (close #1028)
* use greater of indexedAt or machine clock (#1182)Eric Bailey2023-08-151-5/+16
| | | | | * use greater of indexedAt or machine clock * correct mobx usage
* :sparkles: Repurpose report post modal and re-use for list reporting (#1070)Foysal Ahamed2023-08-152-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | * :sparkles: Repupose report post modal and re-use for list reporting * :sparkles: Allow reporting a feed generator * :sparkles: :recycle: Refactor report modal into one shared component for reporting different collections * :white_check_mark: Adjust report option selector in tests * :white_check_mark: Add test for list reporting * :recycle: :sparkles: Refactor reason options and add options for list and feedgen * :broom: Cleanup remaining todo * Fix to mutelist react keys * Fix regression from rebase * Improve customfeed mobile header --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Clear caches on session change (#1179)Paul Frazee2023-08-151-0/+2
|
* Fix to feeds view in profiles (#1171)Paul Frazee2023-08-151-15/+8
| | | | | * Fix load of feeds tab * Add e2e test for profile feeds