about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
* Restore autofocus on emoji drop down (#1821)Elie Michel2023-12-201-1/+1
|
* Invalid handle autocomplete (#2251)Samuel Newman2023-12-202-2/+4
| | | | | * refactor invalid handle check from a previous PR to use util function * add invalid handle check to `prefixMatch`
* Try to fix scroll indicator on Feeds page (#2245)Eric Bailey2023-12-192-0/+2
| | | | | * Try to fix scroll indicator on Feeds page * Apply to List
* Use same source for pinned feeds on Home and tab/sidebars (#2235)Eric Bailey2023-12-181-4/+9
|
* 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-182-11/+5
|
* Fix `Logotype` fill for dark mode (#2230)Eric Bailey2023-12-185-6/+7
| | | | | * 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
* Fix: Some display issues (#2219)Hima2023-12-182-3/+2
| | | | | * Update LeftNav.tsx * Update RightNav.tsx
* 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-154-75/+44
| | | | | | | | | | | | | * 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
|
* Some brand, some pwi (#2212)Eric Bailey2023-12-146-151/+289
| | | | | | | | | | | | | | | * Add logo to left nav in logged out * Protect last routes * Hide links in left nav, hide nav * Replace bottom bar for pwi * Remove same links from drawer * Hide reply prompt * Allow search
* 🤫 (#2211)Eric Bailey2023-12-147-35/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1414-135/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1325-313/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Revert change to how notifications are loaded on mobilePaul Frazee2023-12-131-2/+2
|
* 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
* More notifications improvements (#2198)Paul Frazee2023-12-131-2/+2
| | | | | * On mobile, never replace the notifs under the user due to focus events * Use the server's seenAt response to calculate isRead state locally
* Rework the rightnav overflow behavior to not obscure the scroll region (#2199)Paul Frazee2023-12-131-67/+65
|
* 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
* add scrollview to moderation screen (#2187)Ansh2023-12-121-72/+75
|
* disable modal profile popup android (#2188)Ansh2023-12-121-2/+2
|
* Make right nav scrollable on short screens (#2186)Eric Bailey2023-12-121-60/+63
|
* i18n settings improvements (#2184)Eric Bailey2023-12-121-2/+3
| | | | | | | | | * Handle language selector * Improve type safety * Add a little more safety * Update comment
* 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-112-2/+11
|
* Revise FeedSourceCard load state to allow deletion for failures (#2172)Eric Bailey2023-12-114-25/+81
| | | | | | | | | | | | | * 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-112-18/+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-116-12/+12
|
* Fix scroll on profile lists/feeds (#2168)dan2023-12-116-12/+12
|
* 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>
* Add "Who can reply" controls [WIP] (#1954)Paul Frazee2023-12-1012-147/+641
| | | | | | | | | | | | | | | | | | | | | * 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
* Fix empty state width (#2157)Eric Bailey2023-12-092-0/+2
|
* Multiple notifications fixes (#2154)Paul Frazee2023-12-094-30/+17
| | | | | | | | | | | | | | | * 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
* Poll for new posts on app foreground (#2152)Paul Frazee2023-12-081-5/+17
|
* Use new filter for Posts tab on profile (#2150)Eric Bailey2023-12-082-2/+2
| | | | | | | * Use new filter for Posts tab on profile * Update deps * Remove log
* Tweak the PWI opt-out copy again (#2153)Paul Frazee2023-12-081-11/+11
| | | | | * Tweak the PWI ot-out copy again * Update .po files
* Fix quote post moderation check (#2149)Eric Bailey2023-12-081-1/+3
| | | | | | | | | | | * Fix quote post moderation check * Restore the ContentHider check * Apply the content hider to quote posts --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Close account switcher before logging out (#2148)Eric Bailey2023-12-081-2/+6
| | | | | * Close account switcher before logging out * Add comment
* Clear unused locales (#2147)Ansh2023-12-091-7/+7
| | | | | * add some missing intl strings * remove locales that are not used
* Various search fixes (#2145)Paul Frazee2023-12-071-31/+3
| | | | | | | * Add posts-search query to shadow cache search * Update user search to use correct endpoint * Fix: include cursor in post search