about summary refs log tree commit diff
path: root/src/view/screens/CustomFeed.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Lists updates: curate lists and blocklists (#1689)Paul Frazee2023-11-011-495/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Accessibility fixes: add missing labels, dynamically scale home header (#1516)Paul Frazee2023-09-221-1/+5
| | | | | * Improve labels * Dynanically adjust home header to account for font scaling
* Feeds tab fixes (#1486)Paul Frazee2023-09-191-4/+29
| | | | | | | | | | | | | * 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
* Feed UI update working branch [WIP] (#1420)Paul Frazee2023-09-181-258/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Give explicit names to MobX observer components (#1413)dan2023-09-071-2/+5
| | | | | | | | | * Consider observer(...) as components * Add display names to MobX observers * Temporarily suppress nested components * Suppress new false positives for react/prop-types
* Updates to use dynamic/responsive styles on web (#1351)Paul Frazee2023-09-051-5/+16
| | | | | | | | | | | | | | | | | | | * 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
* Fix mismatching button label for speech recognition (#1372)dan2023-09-051-1/+1
| | | | | * Fix mismatching a11y label * Update all new post button labels to match
* Fix feed empty state (close #1235) (#1239)Paul Frazee2023-08-221-2/+6
|
* :sparkles: Repurpose report post modal and re-use for list reporting (#1070)Foysal Ahamed2023-08-151-13/+65
| | | | | | | | | | | | | | | | | | | | | | | | | * :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>
* resolve did before loading feed (#1092)Eric Bailey2023-08-031-10/+98
| | | | | | | * resolve did before loading feed * add loader * wrap with authRequired, handle errors
* [APP-737] Accessible native dropdown menu (#988)Ansh2023-07-281-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix comments * add zeego package * get basic native dropdown working * add separator and icon components * refined native dropdown component * add android build properties to app.json * move `PostDropdownBtn` to its own component * fix selectors issue * move `PostDropdownBtn` to its own component * fix hitslop * fix post dropdown hitslop * fix android dropdown icons * move `UserAvatar.tsx` to native dropdown * use native dropdown in `ProfileHeader.tsx` * use native dropdown in `PostThreadItem.tsx` * use native dropdown in `UserBanner.tsx` * use native dropdown in `CustomFeed.tsx` * replace `testId` with `testID` (which is what is used everywhere) * move `Settings.tsx` to use native dropdown * create jest mocks for zeego * create jest mock for `zeego/dropdown-menu` * web styles for native dropdown * remove example native dropdown * adjust web styles * fix propagation * fix pressable in `Settings.tsx` * animate dropdown on web * add keyboard nav and hover styles * add hitslop to constants * add comments to NativeDropdown component * temporarily removed android icons * add testID to PostDropdownBtn * add testID back to all NativeDropdown button implementations * add postDropdownBtn testID * add testID to dropdown items * remove testID from dropdown menu item * refactor home-screen tests for native dropdown * refactor profile-screen tests for native dropdown * refactor thread-muting tests for native dropdown * refactor thread-screen tests for native dropdown * fix dropdown color for post dropdown button * remove icons from android dropdown menu * fix `create-account.test.ts` * fix `invite-codes.test.ts`
* [APP-782] Support invalid handles correctly (#1049)Paul Frazee2023-07-271-2/+7
| | | | | | | | | | | | | | | | | | | * Update profile link construction to support handle.invalid * Update list links to support using handles * Use did for isMe check to ensure invalid handles dont distort the check * Shift the red (error) colors away from the pink spectrum * Add ThemedText helper component * Add sanitizedHandle() helper to render invalid handles well * Fix regression: only show avatar in PostMeta when needed * Restore the color of likes * Remove users with invalid handles from default autosuggests
* [APP-705] Metrics revamp pt2 (#896)Ansh2023-06-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * export track function from analytics.tsx * fix create account tracking * fix tracking sign in * add custom feed events * fix type errors * refactor create post event * add profile follow & unfollow events * refactor PostsFeedSliceModel into its own file * refactor PostThreadItemModel into its own file * reorganize code a lil bit * refactor post-thread-item to use post-feed-item model under the hood * add post events * add post reply tracking * track custom feed load more * track list subscribe and unsubscribe
* add empty state for custom feedAnsh Nanda2023-05-251-0/+6
|
* fix type errors on Custom Feed screenAnsh Nanda2023-05-251-1/+5
|
* Add feed discovery pagePaul Frazee2023-05-241-1/+5
|
* Tune the custom feeds header a bit morePaul Frazee2023-05-241-31/+39
|
* Tune the custom feed headerPaul Frazee2023-05-241-24/+71
|
* Add compose fab to custom feed screenPaul Frazee2023-05-241-1/+15
|
* Refactor the scroll-to-top UXPaul Frazee2023-05-241-43/+27
|
* fix scrollToTop for webAnsh Nanda2023-05-241-17/+34
|
* show scroll to top button when scrolling stopsAnsh Nanda2023-05-231-2/+18
|
* update pinned feed from custom feed viewAnsh Nanda2023-05-221-12/+40
|
* add haptics to save, like, and pin actions on feedAnsh Nanda2023-05-221-0/+5
|
* fix dark mode color for creator handle on CustomFeed screenAnsh Nanda2023-05-191-0/+1
|
* Add feed sharingPaul Frazee2023-05-181-2/+33
|
* Fix custom feed header on desktop webPaul Frazee2023-05-181-26/+41
|
* Improve web titlesPaul Frazee2023-05-171-0/+3
|
* Add custom feed liked by screenPaul Frazee2023-05-171-0/+235
|
* Rework the UI for the custom feed viewPaul Frazee2023-05-171-164/+0
|
* Reorganize custom feeds in the view layerPaul Frazee2023-05-171-1/+1
|
* Add 'algo' variant of avatarsPaul Frazee2023-05-171-1/+5
|
* fix re-rendering issueAnsh Nanda2023-05-161-56/+58
|
* allow changing pinned feed order on webAnsh Nanda2023-05-161-2/+0
|
* use uri instead of rkey to get feed dataAnsh Nanda2023-05-161-3/+6
|
* fix routing on webAnsh Nanda2023-05-161-62/+71
|
* fix dark mode stylingAnsh Nanda2023-05-161-2/+1
|
* make sure state is being synced across componentsAnsh Nanda2023-05-161-4/+2
|
* allow for pinning saved feedsAnsh Nanda2023-05-161-1/+1
|
* link to user who created custom feed from previewAnsh Nanda2023-05-161-4/+8
|
* like/unlike improvements WIPAnsh Nanda2023-05-151-3/+11
|
* new design for custom feed previewAnsh Nanda2023-05-151-7/+96
|
* custom feed screenAnsh Nanda2023-05-151-0/+50