about summary refs log tree commit diff
path: root/src/state
Commit message (Collapse)AuthorAgeFilesLines
...
* Improved list and feed errors (#1798)Paul Frazee2023-11-032-7/+52
| | | | | | | | | * Fix error-state rendering of ProfileList * Unsave/unpin lists on delete * Improve handling of failing feedgens * Only show 'remove' btn on feed DNE
* Replace draglist due to upstream errors (#1795)Paul Frazee2023-11-021-7/+3
| | | | | | | | | | | * Replace draggable flatlist with simple sort buttons * Remove react-native-draggable-flatlist dep * Fix hitslops * Update lockfile * Remove bad flex:1
* Store saved feeds on the root store so we can load on init (#1793)Paul Frazee2023-11-013-1/+19
|
* Lists updates: curate lists and blocklists (#1689)Paul Frazee2023-11-0114-418/+684
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lists screen * Update Lists screen and List create/edit modal to support curate lists * Rework the ProfileList screen and add curatelist support * More ProfileList progress * Update list modals * Rename mutelists to modlists * Layout updates/fixes * More layout fixes * Modal fixes * List list screen updates * Update feed page to give more info * Layout fixes to ListAddUser modal * Layout fixes to FlatList and Feed on desktop * Layout fix to LoadLatestBtn on Web * Handle did resolution before showing the ProfileList screen * Rename the CustomFeed routes to ProfileFeed for consistency * Fix layout issues with the pager and feeds * Factor out some common code * Fix UIs for mobile * Fix user list rendering * Fix: dont bubble custom feed errors in the merge feed * Refactor feed models to reduce usage of the SavedFeeds model * Replace CustomFeedModel with FeedSourceModel which abstracts feed-generators and lists * Add the ability to pin lists * Add pinned lists to mobile * Remove dead code * Rework the ProfileScreenHeader to create more real-estate for action buttons * Improve layout behavior on web mobile breakpoints * Refactor feed & list pages to use new Tabs layout component * Refactor to ProfileSubpageHeader * Implement modlist block and mute * Switch to new api and just modify state on modlist actions * Fix some UI overflows * Fix: dont show edit buttons on lists you dont own * Fix alignment issue on long titles * Improve loading and error states for feeds & lists * Update list dropdown icons for ios * Fetch feed display names in the mergefeed * Improve rendering off offline feeds in the feed-listing page * Update Feeds listing UI to react to changes in saved/pinned state * Refresh list and feed on posts tab press * Fix pinned feed ordering UI * Fixes to list pinning * Remove view=simple qp * Add list to feed tuners * Render richtext * Add list href * Add 'view avatar' * Remove unused import * Fix missing import * Correctly reflect block by list state * Replace the <Tabs> component with the more effective <PagerWithHeader> component * Improve the responsiveness of the PagerWithHeader * Fix visual jank in the feed loading state * Improve performance of the PagerWithHeader * Fix a case that would cause the header to animate too aggressively * Add the ability to scroll to top by tapping the selected tab * Fix unit test runner * Update modlists test * Add curatelist tests * Fix: remove link behavior in ListAddUser modal * Fix some layout jank in the PagerWithHeader on iOS * Simplify ListItems header rendering * Wait for the appview to recognize the list before proceeding with list creation * Fix glitch in the onPageSelecting index of the Pager * Fix until() * Copy fix Co-authored-by: Eric Bailey <git@esb.lol> --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Update Analytics (#1743)Ansh2023-10-261-6/+8
|
* Update testrunner to use new dev-env [WIP] (#1575)Paul Frazee2023-10-101-0/+24
| | | | | | | | | | | | | | | * Update testrunner to use new dev-env * Fix label testcase * Vendor the dev-infra scripts from the atproto repo for the dev-env server runner * Bump detox to fix the ios sim control issue * Use iphone 15 pro for tests * Ensure the reminders never trigger during tests * Skip the shell tests due to a crash bug with detox and the drawer
* Fix: fetch follows on desktop search for typeahead (#1660)Paul Frazee2023-10-101-2/+3
|
* Only prompt users once to verify email (according to local storage) close ↵Paul Frazee2023-10-101-6/+6
| | | | #1657 (#1658)
* Revert "Fix invite codes flash on desktop, use loading placeholder (#1591)" ↵Paul Frazee2023-10-101-5/+3
| | | | | (#1656) This reverts commit 9278822088d212c9bee6a40a6a8b773bc482242d.
* Fix typo in image.ts (#1638)Muneyuki Noguchi2023-10-091-1/+1
|
* Fix bug that prevents unfollowing (#1633)Paul Frazee2023-10-061-2/+2
|
* Improve typeahead search with inclusion of followed users (temporary ↵Paul Frazee2023-10-0512-113/+159
| | | | | | | | | | | solution) (#1612) * Update follows cache to maintain some user info * Prioritize follows in composer autocomplete * Clean up logic and add new autocomplete to search * Update follow hook
* Fix invite codes flash on desktop, use loading placeholder (#1591)Patroll2023-10-041-3/+5
| | | | | * Fix invite codes flashing untrue value before loaded * Add loading placeholder for right nav invites
* Onboarding & feed fixes (#1602)Paul Frazee2023-10-044-34/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix: improve the 'end of feed' detection condition * Fix the feeds link on mobile in the empty state * Align the following empty state better on web * Dont autofocus the search input in the search tab * Fix the error boundary render * Add 'end of feed' CTA to following feed * Reduce the default feeds to discover now that we have feed-selection during onboarding * Fix case where loading spinner fails to stop rendering in bottom of feed * Fix: dont show loading spinner at footer of feed when refreshing * Fix: dont fire reminders during onboarding * Optimize adding feeds and update to mirror the api behaviors more closely * Use the lock in preferences to avoid clobbering in-flight updates * Refresh the feed after onboarding to ensure content is visible * Remove the now-incorrect comment * Tune copy
* Fix: only use scroll-positioning control on thread when looking at replies ↵Paul Frazee2023-10-031-0/+8
| | | | (#1587)
* Warn the user on links that dont match their text (#1573)Paul Frazee2023-10-021-0/+7
| | | | | | | | | | | | | | | | | | | * Add link warning modal when URLs do not match their text * Simplify the misleading link case for clarity * Fix typecheck * fix dark mode * Give a stronger visual indication of the root domain in the link warning * More rigorous URL mismatch logic * Remove debug --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* Account quick switch modal (#1567)Paul Frazee2023-09-281-0/+5
| | | | | | | | | | | | | | | * quick switch menu * Some small tweaks and fixes to the account switch modal * Factor out the account switcher logic to a hook * Add haptic feedback on account switcher open * Fix bad merge --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Email verification and change flows (#1560)Paul Frazee2023-09-284-0/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix 'Reposted by' text overflow * Add email verification flow * Implement change email flow * Add verify email reminder on load * Bump @atproto/api@0.6.20 * Trim the inputs * Accessibility fixes * Fix typo * Fix: include the day in the sharding check * Update auto behaviors * Update yarn.lock * Temporary error message --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Improve image cropping on android and introduce aspect ratio field (#1525)Paul Frazee2023-09-271-4/+9
| | | | | * Fix image cropping on android * Store and use aspect ratio field in post images (close #1392)
* Trim whitespace on invite code (#1517)Paul Frazee2023-09-221-1/+1
|
* 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
| |