about summary refs log tree commit diff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* 3rd party embed player (#2217)Hailey2023-12-212-29/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement embed player for YT, spotify, and twitch * fix: handle blur event * fix: use video dimensions for twitch * fix: remove hack (?) * fix: remove origin whitelist (?) * fix: prevent ads from opening in browser * fix: handle embeds that don't have a thumb * feat: handle dark/light mode * fix: ts warning * fix: adjust height of no-thumb label * fix: adjust height of no-thumb label * fix: remove debug log, set collapsable to false for player view * fix: fix dimensions "flash" * chore: remove old youtube link test * tests: add tests * fix: thumbless embed position when loading * fix: remove background from webview * cleanup embeds (almost) * more refactoring - Use separate layers for player and overlay to prevent weird sizing issues - Be sure the image is not visible under the player - Clean up some * cleanup styles * parse youtube shorts urls * remove debug * add soundcloud tracks and sets (playlists) * move logic into `ExternalLinkEmbed` * border radius for yt player on native * fix styling on web * allow scrolling in webview on android * remove unnecessary check * autoplay yt on web * fix tests after adding autoplay * move `useNavigation` to top of component --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* fix Create Account metrics (#2242)Ansh2023-12-181-1/+0
|
* Log post creation failures (#2205)Eric Bailey2023-12-141-0/+6
|
* 🤫 (#2211)Eric Bailey2023-12-142-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add new assets * Add splashiness * Add butter icon, spread it * Cream together eggs, sugar, and vanilla * Hi, I'd like to place and order. Yeah, none pizza with left beef, plz. * test * Refine animation * tweak * tweak * tweak * Tweak * Simplify * Cleanup * Fix android logo --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* PWI behavior updates (#2207)Paul Frazee2023-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable PWI * Disable access to feeds on PWI * Remove feeds nav item from drawer when signed out * Replace discover feed on home with a CTA * Wire up the sign in and create account buttons to go straight to their respective screens * Give a custom ScreenHider interface for no-pwi * Add side borders on desktop to the screen hider * Filter accounts in the autocomplete according to mod settings * Trim replies in the post thread that are pwi opt-out * Show 'learn more' on the content hider when no-override is enabled * Apply the moderation filter on profile cards * Disable post search on logged-out view * Update locale files * Bump api pkg * Ensure feeds with no posts don't show as NSFPublic * Fix types --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Make scroll handling contextual (#2200)dan2023-12-132-125/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Memoize usePalette (#2201)dan2023-12-131-34/+38
|
* Go back to content-driven slice keys in feeds (#2190)Paul Frazee2023-12-122-11/+11
| | | | | * Go back to deterministic react keys * Quick fix to cases when custom feeds serve empty responses
* Fix View Full Thread (#2181)dan2023-12-121-5/+5
|
* Stub broadcast channel for unspported contexts (#2175)Eric Bailey2023-12-123-12/+15
|
* Fix scroll on native (#2170)dan2023-12-112-42/+41
|
* Fix scroll on profile lists/feeds (#2168)dan2023-12-112-41/+42
|
* Reduce calls to getFeedGenerator and getFeed (#2166)Paul Frazee2023-12-112-19/+11
| | | | | | | | | | | * Reduce calls to getFeedGenerator by the mergefeed * Dont run end-of-follows mergefeed requests until actually at the end of the feed * build AWS container --------- Co-authored-by: Jake Gold <jake@blueskyweb.xyz>
* Add "Who can reply" controls [WIP] (#1954)Paul Frazee2023-12-102-1/+52
| | | | | | | | | | | | | | | | | | | | | * Add threadgating * UI improvements * More ui work * Remove comment * Tweak colors * Add missing keys * Tweak sizing * Only show composer option on non-reply * Flex wrap fix * Move the threadgate control to the top of the composer
* Remove (#2156)Eric Bailey2023-12-092-6/+0
|
* Multiple notifications fixes (#2154)Paul Frazee2023-12-091-2/+1
| | | | | | | | | | | | | | | * Dont reset notifications feed on push notification event * Dont separate notifications by read state to avoid jank * On notifications screen focus, check latest and only rerender if not scrolled down * Reuse the cached notifs page when its not stale * Bump ios build number * Improve comments * Change the 'mark all read' condition to avoid firing too early
* Use new filter for Posts tab on profile (#2150)Eric Bailey2023-12-081-1/+1
| | | | | | | * Use new filter for Posts tab on profile * Update deps * Remove log
* Fixes issue with (#2119)Ansh2023-12-071-3/+3
| | | | | | | | | | | * Allow going directly to password input screen when switching accounts and password is required * Revise state handling * Handle logged out states, enable clearing requestedAccount --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Add more breadcrumbs (#2141)Eric Bailey2023-12-072-2/+13
|
* Grab-bag of post-feed improvements (#2140)Paul Frazee2023-12-071-2/+5
| | | | | | | * Sanity check against cases where empty pages may occur * Use the mergefeed as an emergency fallback to an empty feed * Check for new posts on focus
* Navigate Home on account switch (#2138)dan2023-12-071-12/+7
|
* Improve account switching on mobile (#2135)Eric Bailey2023-12-071-1/+9
| | | | | * Improve account switching on mobile * Clarify comment
* Fix: remove replies to deleted and blocked posts from feeds (#2130)Paul Frazee2023-12-071-0/+13
|
* Disable sentry in dev (#2128)Eric Bailey2023-12-071-1/+1
|
* Move analytics out of critical path (#2117)dan2023-12-063-88/+90
| | | | | | | | | * Remove analytics provider, simplify hook * Fix wrong import being used by feed * Remove early bind * Create client lazy on first use
* Move analytics out of init (#2115)dan2023-12-062-18/+23
| | | | | | | | | | | | | * Remove listenSessionLoaded from analytics * Move analytics init call to navigation ready * Remove zod dependency from analytics * Mirror changes on the web * Delete listenSessionLoaded * Only set up listeners once
* Split notification init, add cleanup (#2102)dan2023-12-061-84/+77
| | | | | | | | | | | | | | | | | | | * Inline never-imported export * Remove pretense at handling cleanup * Extract per-session listener to a function * Split notifications.init() from notifications.onSessionLoaded() * Tweak forked code to be more similar * Remove unnecessary guards * Split notifications.onSessionLoaded in two * Always use getAgent() * Remove dep on listenSessionLoaded, add cleanup
* Check Analytics (#2106)Ansh2023-12-061-7/+3
| | | | | | | | | | | * fix sign in event tracking * add missing analytics events * add more missing analytics * fix like and unrepost event tracking * reset onEndReachedThreshold
* Throttle non-critical Sentry messages (#2110)dan2023-12-061-0/+1
| | | | | * Throttle non-critical Sentry messages * Run all timers in tests
* Fix self-threads filter logic (#2091)Eric Bailey2023-12-051-2/+2
|
* Fix some typesPaul Frazee2023-12-051-1/+1
|
* Fix: correctly identify if the screen is focused when handling soft resets ↵Paul Frazee2023-12-051-0/+10
| | | | on post feeds (#2100)
* Fix: distinguish between post media and quotes with the moderation hider (#2075)Paul Frazee2023-12-041-1/+20
| | | | | * Fix: distinguish between post media and quotes with the moderation hider * Type fixes
* Add PWI build flag (#2082)Paul Frazee2023-12-041-0/+1
|
* Maintain some feed data to avoid needless glimmers (#2054)Paul Frazee2023-11-301-2/+3
|
* Fix scuffed web styles caused by overlapping viewport breakpoint boundaries ↵Cλctys2023-11-301-2/+2
| | | | | | | | | (#1985) * fixed lack of styles on 1300px web viewport width by adjusting tablet breakpoints * fixed lack of styles on 800px web viewport width by adjusting mobile breakpoints * changed `maxWidth` values in viewports to `n - 1` format
* Add enter/exit animations to modals on web (#2042)Samuel Newman2023-11-301-11/+11
| | | | | | | * add reanimated layout animations to modals * reorder imports * pass context to scroll handler patches
* Close modals if switching to unauthed account (#2039)Eric Bailey2023-11-291-0/+1
|
* Disable retrying globally (#2038)Eric Bailey2023-11-291-0/+5
|
* Merge branch '2011-link-in-feeds-tab-bar' of ↵Paul Frazee2023-11-291-2/+2
|\ | | | | | | https://github.com/CooperEdmunds/social-app into CooperEdmunds-2011-link-in-feeds-tab-bar
| * Stop adding whats-hot for new usersCooper Edmunds2023-11-291-2/+2
| |
* | Fix state lifecycle management with post-feed query, solving the duplicate ↵Paul Frazee2023-11-292-18/+21
| | | | | | | | | | | | | | key issue (#2034) * Assign keys to feed slices via a counter, to enable duplicate items in the feed if needed * Move post-feed query state into the query's page params to consistently bind their lifecycles
* | Fix infinite query reloading behavior (reset, not invalidate) (#2031)Paul Frazee2023-11-291-2/+2
| | | | | | | | | | * Reset, not invalidate, notification queries * Reset, not invalidate, feed queries
* | Show logged out view when adding accounts (#2020)Ansh2023-11-291-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | * show logged out view when adding accounts * Handle existing signed-in account * Show which account is currently logged in * Fix showing toasts --------- Co-authored-by: Eric Bailey <git@esb.lol>
* | Get more rigorous about getAgent() consistency (#2026)Paul Frazee2023-11-296-54/+35
|/ | | | | * Get more rigorous about getAgent() consistency * Update the feed wrapper API to use getAgent() directly
* Disable RQ structural sharing (#2022)dan2023-11-281-0/+4
|
* Full send Sentry (#2018)Eric Bailey2023-11-281-2/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update build profiles, sentry config * Enable sentry * Ok actually enable in dev * Remove debug * Add TF build * Fix typo * Remove debug * Remove unecessary config * Fix typo * Set env in Expo * Remove scripts * Clarify * Replace invalid character * Align on release/dist * Add build version * Just use package version * Align dist
* Two fixes to react-key generation (#2004)Paul Frazee2023-11-271-2/+3
| | | | | * Fix missing react keys in ListMembers * Fix react key construction for the posts feed
* Nav home after switch accounts (#2002)Eric Bailey2023-11-271-2/+14
|
* Fixes 1731, compare URLs case-insensitive (#1980)Eric Bailey2023-11-221-5/+20
|