about summary refs log tree commit diff
path: root/src/view/com
Commit message (Collapse)AuthorAgeFilesLines
...
* Create account tweaks (#2365)Paul Frazee2023-12-282-0/+10
| | | | | | | * Disable autocomplete, autocapitalize, and autocorrect in create account login * Add username textContentType to login to try to prompt password manager more regularly * Fix type
* Use memory caching for android lightbox (#2354)Paul Frazee2023-12-281-0/+1
|
* Disable BlurView on android (#2351)Paul Frazee2023-12-283-4/+35
| | | | | | | | | * A couple of small tweaks * Force the UI to re-render by setting a key * Disable to blurview on android * Remove hackfix
* Handle birth dates as UTC, handle locale formatting (#2363)Eric Bailey2023-12-283-3/+31
| | | | | | | | | | | | | | | | | * Enforce UTC for birthdate picker * Handle locales * Remove log * Add a second snap point to the date input in case text is zoomed * Guard against bad dates * Log message --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* minor search screen ux improvements (#2264)Hailey2023-12-281-1/+3
| | | | | | | | | | | | | | | | | * handle taps while keyboard is displayed * dismiss keyboard on drag when searching feeds * dismiss on drag and persist taps on suggested follows * add hitslop to clear button * add hitslop to cancel button * dismiss keyboard on drag when searching users * hit slop for feed search clear button * move import
* Web dropdowns (#2358)Eric Bailey2023-12-281-0/+241
| | | | | | | | | | | | | | | | | | | * Split out web dropdown * Remove unused * Remove unused style * Close on escape * Reduce chance of opening while scrolling * Tune web dropdown styles * Fix type --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Mark more text as translatable (#2284)Noritada Kobayashi2023-12-271-2/+2
|
* Fix missing avatar moderation in replies (#2325)Paul Frazee2023-12-272-1/+4
|
* Fix: only show appeal CW item on moderated posts (#2312)Paul Frazee2023-12-273-4/+19
| | | | | * Fix: only show appeal CW item on moderated posts * Add appeal cw control to feed view o fposts
* A couple notifications fixes (#2327)Paul Frazee2023-12-271-2/+16
| | | | | * Clear the app badge notif count on markallread * Fix like notifications on custom feeds
* Stop the user from posting before the link card finishes loading (#2328)Paul Frazee2023-12-271-2/+6
| | | | | * Stop the user from posting before the link card finishes loading * Add localization of error messages
* Hide posts tool (#2299)Eric Bailey2023-12-243-2/+31
| | | | | | | | | | | | | * Set up hidden posts persisted state * Wrap moderatePost * Integrate hidden posts into moderation * Complete hide-post behaviors --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix: dont incorrectly mark a feed empty based only on the first page (#2298)Paul Frazee2023-12-241-1/+4
|
* Bump react-native to 0.73.1, expo to 50 (#2214)Eric Bailey2023-12-234-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump to react-native@0.73, bump expo@next Includes bumps for all expo deps and dev dependencies. Updates react-native patch and others, and removes the babel-preset-expo patch. * Remove duplicate Splash ref * Bump more deps * Properly install expo-notifications * Bump webview dep * Bump packages according to expo fix; remove pager-view patch as it is no longer needed * Don't access expo-camera from Web * Fix crypto dep on web * Fix some type issues * Build esnext modules to support dynamic imports --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix some account filtering behaviors (#2290)Paul Frazee2023-12-232-1/+8
| | | | | * 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-2112-158/+118
|
* 3rd party embed player (#2217)Hailey2023-12-214-73/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Web composer improvements (#2257)Paul Frazee2023-12-202-2/+2
| | | | | * Keep the emoji picker in the tablet width (close #1880) * Support pressing tab to select a mention (close #1831)
* Fix the is13 check in account creation (close #2258) (#2259)Paul Frazee2023-12-201-1/+1
|
* Fix image is cropped in alt text modal (#1963)Kev2023-12-201-0/+1
|
* Restore autofocus on emoji drop down (#1821)Elie Michel2023-12-201-1/+1
|
* Try to fix scroll indicator on Feeds page (#2245)Eric Bailey2023-12-191-0/+1
| | | | | * Try to fix scroll indicator on Feeds page * Apply to List
* Move label appeal to post dropdown (#2236)Eric Bailey2023-12-183-11/+25
| | | | | | | | | | | * Move appeal from post to dropdown * Translate * Tweak copy on the appeal label modal --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add search button to logged out view (#2237)Eric Bailey2023-12-181-3/+44
|
* Set numberOfLines for Android text input (#2238)Eric Bailey2023-12-181-1/+7
| | | | | * Set numberOfLines for Android text input * Let's go with 4
* Fix 2231 Modal overlap on double modal open (#2239)Ansh2023-12-181-1/+1
| | | | | * add same multiple snapPoints to Confirm modal * snapToIndex instead of confirm
* fix Create Account metrics (#2242)Ansh2023-12-181-5/+1
|
* use `s.likeColor` everywhere (#2234)Samuel Newman2023-12-181-6/+3
|
* Fix `Logotype` fill for dark mode (#2230)Eric Bailey2023-12-182-2/+2
| | | | | * Fix fill of Logotype in dark mode * Update default Logotype fill
* Hide label appeal on self-labeled posts (#2232)Eric Bailey2023-12-182-2/+6
| | | | | * Hide appeal for self-labeled post, update copy * Use correct logic
* Update splash screen tagline, update translations, bump ios build numberPaul Frazee2023-12-171-1/+1
|
* Traffic reduction and tuned caching strats (#2215)Paul Frazee2023-12-152-5/+23
| | | | | | | | | | | | | * Update the feed to only check latest on focus after 30s, but to do a full reset on focus after 1 hour to avoid very stale data * Remove the isFeedPublic query * Fix: avoid double next-page fetches * Reduce some poll intervals to reduce server load * Guard against double-fires of fetchNextPage * Reduce polling on blurred screens
* Log post creation failures (#2205)Eric Bailey2023-12-141-0/+6
|
* 🤫 (#2211)Eric Bailey2023-12-143-23/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-146-36/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1319-154/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Feed bugfixes (#2204)Paul Frazee2023-12-131-2/+1
| | | | | * Dont show both an error and empty message in the feed * Add a sanity check when attempting to fill the first 30
* Add fallback to email reminder modal (#2193)Eric Bailey2023-12-121-0/+8
| | | | | * Add fallback to email reminder modal * Add more debug
* Clean up pager refs to fix crash (#2195)dan2023-12-121-12/+23
|
* Re-rendering improvements for like/unlike (#2180)dan2023-12-127-87/+160
| | | | | | | | | | | | | | | * Add a few memos * Memo PostDropdownBtn better * More memo * More granularity * Extract PostContent * Fix a usage I missed * oops
* disable modal profile popup android (#2188)Ansh2023-12-121-2/+2
|
* Double the footer on the list members flatlistPaul Frazee2023-12-111-1/+1
|
* Fix links in profiles (#2178)Eric Bailey2023-12-112-11/+35
| | | | | | | | | | | * Resolve links in profile bios * Improve solution * On mobile, dont disable pointer events on the bio richtext --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Hide the mobile reply control if outside the threadgate (#2177)Paul Frazee2023-12-111-1/+8
|
* Revise FeedSourceCard load state to allow deletion for failures (#2172)Eric Bailey2023-12-113-17/+79
| | | | | | | | | | | | | * Revise FeedSourceCard load state to allow deletion for failures * Translate * Remove test error feed * Fix missing uri param --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* dismiss keyboard when threadgate settings are opened (#2161)Ansh2023-12-111-1/+5
|
* Additional reductions in request traffic (#2169)Paul Frazee2023-12-111-17/+2
| | | | | | | * Dont poll for new content on profiles * Drop the whenAppReady query after new post to reduce traffic overhead * Reduce getPosts calls in notifs to only use them when needed
* Fix scroll on native (#2170)dan2023-12-115-10/+10
|
* Fix scroll on profile lists/feeds (#2168)dan2023-12-115-10/+10
|
* Reduce calls to getFeedGenerator and getFeed (#2166)Paul Frazee2023-12-112-7/+60
| | | | | | | | | | | * 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>