about summary refs log tree commit diff
path: root/src/view/com/lists
Commit message (Collapse)AuthorAgeFilesLines
* Change many border widths from `1` to `hairlineWidth` (#4294)Hailey2024-05-313-22/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feed items * update some more * moar * profile card * composer and notifications * settings screen * remove border from first item in feeds * remove border from first item in feeds * more removal of top border * fix flatlist rendering * oops * scroll to top fab * a.border * centeredview/list * placeholder * web sidebar * search posts * feeds list * user lists * list header * account list width 1 * hide top border feedgens * same for lists * fix tab bar web desktop * wait... * show the border on desktop web * fix lists * fix lists * round
* Make bio area scrollable on iOS (#2931)Hailey2024-04-111-14/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix dampen logic prevent ghost presses handle refreshes, animations, and clamps handle most cases for cancelling the scroll animation handle animations save point simplify remove unnecessary context readme apply offset on pan find the RCTScrollView send props, add native gesture recognizer get the react tag wrap the profile in context create module * fix swiping to go back * remove debug * use `findNodeHandle` * create an expo module view * port most of it to expo modules * finish most of expomodules impl * experiments * remove refresh ability for now * remove rn module * changes * cleanup a few issues allow swipe back gesture clean up types always run animation if the final offset is < 0 separate logic update patch readme get the `RCTRefreshControl` working nicely * gate new header * organize
* Swap `RichText` (#2934)Eric Bailey2024-02-201-3/+4
| | | | | | | | | | | | | * Switch to new RT * Allow early exit from links * Build in tracking to text atoms * Clean up FeedSourceCard * Clean up leading after new default * Add deprecated notice
* add padding to user's lists/feeds scrollviews (#2675)Hailey2024-01-301-4/+4
| | | | | * add padding to user's lists/feeds scrollviews * always use the header offset for padding
* Clean up some sentry logs (#2630)Eric Bailey2024-01-253-5/+5
| | | | | | | * Change prop name for sentry ingestion * Fix test * Add default object
* feat: show muted/blocked status on list card (#2523)Mary2024-01-151-5/+13
|
* Internationalize more strings (#2440)Stanislas Signoud2024-01-093-13/+33
| | | Co-authored-by: Ansh <anshnanda10@gmail.com>
* Fix some account filtering behaviors (#2290)Paul Frazee2023-12-231-0/+1
| | | | | * Fix: don't filter ProfileCards out of certain lists * Fix: don't filter ProfileCards and autocomplete based on mutes
* Consolidate List props a bit (#2216)dan2023-12-213-58/+52
|
* Make scroll handling contextual (#2200)dan2023-12-133-36/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add an intermediate List component * Fix type * Add onScrolledDownChange * Port pager to use onScrolledDownChange * Fix on mobile * Don't pass down onScroll (replacement TBD) * Remove resetMainScroll * Replace onMainScroll with MainScrollProvider * Hook ScrollProvider to pager * Fix the remaining special case * Optimize a bit * Enforce that onScroll cannot be passed * Keep value updated even if no handler * Also memo it
* Double the footer on the list members flatlistPaul Frazee2023-12-111-1/+1
|
* Fix scroll on native (#2170)dan2023-12-111-2/+2
|
* Fix scroll on profile lists/feeds (#2168)dan2023-12-111-2/+2
|
* Disable animation on scrollToTop for web (#2137)Paul Frazee2023-12-071-1/+5
|
* Add missing translations and fix react key error in `MyLists.tsx` (#2103)Ansh2023-12-051-2/+5
| | | | | | | * add missing translations * fix key errors in MyLists * Update UserAddRemoveLists.tsx
* E2E 🟢 (#2092)Eric Bailey2023-12-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add logged out e2e ctrl, fix login test * Fix log handling via env vars in expo * Fix create account test * Upgrade dev-env * Fix home screen tests * Fix composer tests * Fix curate-lists tests, split in two * Fix invite codes test * Fix curate-lists tests * Give up on mergefeed test * Fix mod lists * Fix app view url * Fix profile tests * Fix profile test with hack * Keep using globals * Fix two more * Fix thread view * Better skip for merge feed * Revert debug code
* Eric/profile feeds list (#2049)Eric Bailey2023-11-301-7/+2
| | | | | | | * Fix profile feedgens view * Fix profile lists view * Translate
* Two fixes to react-key generation (#2004)Paul Frazee2023-11-271-1/+1
| | | | | * Fix missing react keys in ListMembers * Fix react key construction for the posts feed
* Implement "scroll to top" for profile tabs (#1973)dan2023-11-221-157/+183
| | | | | | | | | * Hook up scroll to top handlers * Scroll and invalidate Feeds/Lists * Fix index calc due to conditional tabs * Reorder lines for clarity
* Shadow refactoring and improvements (#1959)dan2023-11-211-3/+0
| | | | | | | | | | | | | | | * Make shadow a type-only concept * Prevent unnecessary init state recalc * Use derived state instead of effects * Batch emitter updates * Use object first seen time instead of dataUpdatedAt * Stop threading dataUpdatedAt through * Use same value consistently
* Fix some key errors (#1951)Eric Bailey2023-11-171-1/+6
|
* Update Muted and Blocked accounts screens (react-query refactor) (#1892)Paul Frazee2023-11-131-0/+3
| | | | | | | * Add my-blocked-accounts and my-muted-accounts queries * Update ProfileCard to use the profile shadow cache and useModerationOpts * Update blocked accounts and muted accounts screens
* Profile cleanup (react-query refactor) (#1891)Paul Frazee2023-11-131-1/+4
| | | | | | | | | * Only fetch profile tab content when focused * Fix keys * Add missing behaviors to post tabs * Delete old profile mobx model
* More profile refactor updates (#1886)Paul Frazee2023-11-132-15/+203
| | | | | | | | | | | * Update the profile avatar lightbox * Update profile editor * Add dynamic likes tab * Add dynamic feeds and lists tabs * Implement lists listing on profiles
* Refactor lists to use new queries (#1875)Paul Frazee2023-11-123-96/+74
| | | | | | | | | | | | | | | | | | | | | | | | | * Refactor lists queries to react-query * Delete old lists-list model * Implement list, list-members, and list-memberships react-queries * Update CreateOrEditList modal * First pass at my-follows and actor-autocomplete queries * Update ListAddUserModal to use new queries, change to ListAddRemoveUsersModal * Update UserAddRemoveLists modal * Remove old TODO * Fix indent, autocomplete query * Add a todo --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Use min height for pager lists and increase it (#1869)dan2023-11-101-1/+1
|
* Scroll sync in the pager without jumps (#1863)dan2023-11-101-2/+4
|
* Push useAnimatedScrollHandler down everywhere to work around bugs (#1866)dan2023-11-101-3/+5
| | | | | | | * Move useOnMainScroll handlers to leaves * Force Feed to always take handlers * Pass handlers from the pager
* Internationalization & localization (#1822)Ansh2023-11-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * install and setup lingui * setup dynamic locale activation and async loading * first pass of automated replacement of text messages * add some more documentaton * fix nits * add `es` and `hi`locales for testing purposes * make accessibilityLabel localized * compile and extract new messages * fix merge conflicts * fix eslint warning * change instructions from sending email to opening PR * fix comments
* Add modal state provider, replace usage except methods (#1833)Eric Bailey2023-11-081-4/+4
| | | | | | | | | | | | | * Add modal state provider, replace usage except methods * Replace easy spots * Fix sticky spots * Replace final usages * Memorize context objects * Add more warnings
* Fix minor list layout bugs (#1810)dan2023-11-061-1/+1
| | | | | * Fix accidental border on mobile * Fix lists list to take full screen
* Replace all logs with new loggerEric Bailey2023-11-042-4/+6
|
* Fix immediate TS errorsEric Bailey2023-11-042-4/+4
|
* Lists updates: curate lists and blocklists (#1689)Paul Frazee2023-11-014-391/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fix a mobx complaint about mutations (#1500)Paul Frazee2023-09-201-1/+4
|
* Give explicit names to MobX observer components (#1413)dan2023-09-072-445/+438
| | | | | | | | | * 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-7/+5
| | | | | | | | | | | | | | | | | | | * 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 link color in dark mode (close #1170) (#1184)Paul Frazee2023-08-151-0/+1
|
* :sparkles: Repurpose report post modal and re-use for list reporting (#1070)Foysal Ahamed2023-08-152-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | * :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>
* wait for list memberships to load before becoming interactive (#1140)Eric Bailey2023-08-091-14/+0
| | | | | | | * wait for list memberships to load before becoming interactive * add spinner * remove secondary spinner
* [APP-782] Support invalid handles correctly (#1049)Paul Frazee2023-07-272-4/+8
| | | | | | | | | | | | | | | | | | | * 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-718] Improvements and fixes to language handling (#931)Paul Frazee2023-06-302-1/+2
| | | | | | | | | | | * Add locale helpers for narrowing languages * Add a translate link to posts in a different language * Update language filtering to use narrowing when multiple declared * Fix a few more RTL layout cases * Fix types
* Simulator fixes (#918)Paul Frazee2023-06-271-6/+8
| | | | | | | | | * Update the mock server to use the dev-env to manage the server * Fix list testIDs * Fix the invite test construction * Remove leftover test hardcode
* [APP-657] Add share list functionality (#863)Ansh2023-06-264-53/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * replace delete list button text with icon * fix mute list styling on desktop * add share button to nav bar on a list * fix styling when on profile * bug: add key to ImageHorzList * clean up code & refactor * fix styling for ListItems * create a reusable ListActions component for actions on a list * remove dead styles * add keys to ListActions * add helpers to set list embed * render list embeds * fix list sharing on web * make style prop optional in ListCard * update `@atproto/api` to `0.3.13`
* [APP-511] metrics overhaul: frontend work (#506)Ansh2023-06-152-2/+2
| | | | | | | | | | | | | | | | | | | | | * WIP * fix types and update imports * wip * tagged events that should be server side * remove server-side analytics * remove useless import * add additional profile header events * remove useless import * track follow/unfollow clicks * add missing types
* Add list-type avatarPaul Frazee2023-05-182-2/+2
|
* a11y cleanup for mute lists (#614)Ollie H2023-05-111-6/+6
|
* [APP-635] Mutelists (#601)Paul Frazee2023-05-113-0/+782
* Add lists and profilelist screens * Implement lists screen and lists-list in profiles * Add empty states to the lists screen * Switch (mostly) from blocklists to mutelists * Rework: create a new moderation screen and move everything related under it * Fix moderation screen on desktop web * Tune the empty state code * Change content moderation modal to content filtering * Add CreateMuteList modal * Implement mutelist creation * Add lists listings * Add the ability to create new mutelists * Add 'add to list' tool * Satisfy the hashtag hyphen haters * Add update/delete/subscribe/unsubscribe to lists * Show which list caused a mute * Add list un/subscribe * Add the mute override when viewing a profile's posts * Update to latest backend * Add simulation tests and tune some behaviors * Fix lint * Bump deps * Fix list refresh after creation * Mute list subscriptions -> Mute lists