about summary refs log tree commit diff
path: root/src/view/com
Commit message (Collapse)AuthorAgeFilesLines
...
* Date input improvements (#7639)Samuel Newman2025-02-032-181/+0
| | | | | | | | | * add max date, use modern field for birthday input * rm legacy date input * handle simplifying to simpleDateString internally * update jsdoc
* env var tweaks (#7457)Hailey2025-01-262-1/+10
| | | | | | | | | | | | | * add new events * Discard changes to package.json * Discard changes to src/lib/constants.ts * Discard changes to src/state/feed-feedback.tsx * Discard changes to yarn.lock * remove unused event
* fix deprecation warning (#7540)Samuel Newman2025-01-221-1/+1
|
* Add videos tab to profile (#7517)Eric Bailey2025-01-221-12/+27
| | | | | | | | | | | | | | | * Add videos tab to profile * Modify sourceContext for author feeds * Use actual typecast, better name for feedUri * Make EOF conditional * Clearer condition --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Update hashtag menu to use `Menu`, convert to native link for additional ↵Eric Bailey2025-01-211-1/+1
| | | | | | | | | | | | | | | a11y and click handling (#7529) * Make tag a normal link on web * Replace old TagMenu with new RichTextTag component, expand and improve click utils * Clarify intents * Ensure we're passing down hint * ope * DRY
* move indicatorStyle to `List` (#7526)Samuel Newman2025-01-214-7/+1
|
* show video feeds from posts even if they are replies (#7516)Chris Kanich2025-01-211-1/+3
| | | | | * show video feeds from posts even if they are replies * only show feed post in VideoFeed
* Replace hackfix for gestures with upstream fix (#7503)dan2025-01-201-40/+2
| | | | | | | | | | | * Bump pager * Revert "[Android] Try to disambiguate taps from swipes (#7448)" This reverts commit 96054f4addb63994b3d2f5fe1d288f4dd3c246c2. --------- Co-authored-by: gpp-0 <gpp.cat.io@gmail.com>
* Fix tabbar swipe conflicting with drawer (#7501)dan2025-01-201-48/+51
|
* Fix Discover posts showing up in Following with no explanation (#7500)dan2025-01-201-10/+14
|
* yolo (#7499)Hailey2025-01-195-81/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tweaks to constants (#7478) * add did * use correct did * typo * tweak * Prevent Drawer gesture conflicting with Suggestions scroll (#7468) * Extract BlockDrawerGeesture * Block drawer when scrolling interstitials (cherry picked from commit 9e3f2f43745eed9c71cb985e48135b7363d91aa9) * yolo interstitial * yolo mode * right swipe * fix nav gesture * vibe controls * collapsible post text * rm blurview, cover for tall videos * smarter video source handling * use thumbnails, improve perf significantly * better android loading * improve aspect ratio * optimize source changes * rm spinner on ios * whoops, remove debug `false` * FIX WRONG VIDEOS SHOWING UP * don't spring on way down * release video players when leaving screen * remove jank animation * Add grid * improve contract, fix double tap * Filter out posts without videos * Only do grid on native * Pipe through feedSourceUri and link to feed * Handle passed through params * Partial revert, just filter posts to start at index * Clean up cards, remove entry interstitial * Tweak handle * Change constant name * Rename some things * Make types legit * Clean up more naming * Add placeholder for grid view * Handle web, set up new organization * Begin work on Header * Replace types * Squashed commit of the following: commit 3d1be4c0f19789dd3c5a3572ec1acd744a2edb80 Author: Samuel Newman <mozzius@protonmail.com> Date: Fri Jan 17 01:08:05 2025 +0000 extend animation commit c9f199413b018efcbd9d8d2a58dd05eb41e7acb7 Author: Samuel Newman <mozzius@protonmail.com> Date: Fri Jan 17 01:01:24 2025 +0000 fix gap commit 22e520795f50efda176f21a5e967cb27d0cdd907 Author: Samuel Newman <mozzius@protonmail.com> Date: Fri Jan 17 00:50:16 2025 +0000 thinner bar, format time commit c32427f21405294ed3567545629a2964c4af59fe Author: Samuel Newman <mozzius@protonmail.com> Date: Fri Jan 17 00:47:57 2025 +0000 fix 2 in 3 screens commit cbf84c08d64ca0a08ba9070ef5db918f89aa4296 Author: Samuel Newman <mozzius@protonmail.com> Date: Fri Jan 17 00:45:46 2025 +0000 rm unneeded var commit 7e0e100177bb1cd0e64c0841bb7685c7f1eb857f Author: Samuel Newman <mozzius@protonmail.com> Date: Fri Jan 17 00:41:18 2025 +0000 scrubberrrrr * use white with opacity rather than gray * Simultaneous gesture * cleanup attempt * fix jank * link to profile on press * fix jitter fr this time * mostly fix android flicker * Maybe fix row generation * Add content hider to video card * emoji in post text * reduce update rate * fix type error * Fix grid layout trailing single item * Add Discover interstitial, settings, includes pin for now * Explore interstitial, handle dimissal, pinning, compact card * Only use grid placeholder on native * Update events * Add feature gate * android nav bar fixes + lower update speed * fix interval + decel rate on interstitials * attempt to fix broken scrub on android (not working) * follow button * Part out the interstitials for perf, add view more * Remove prod web route * Wrap interstitials with BlockDrawerGesture * Bring video cropping in line with images (#7462) * Mimic image cropping for videos on web * Same on native * Rename variables for clarity * Fix Android scrubbing * Add FeedFeedbackProvider * Remove swipe gesture * fix light status bar behaviour * bump * feedback * Copy pasta to new location * Copy pasta part deux * Filter only videos * Make whole text clickable to expand (cherry picked from commit 4cf31120779f4e06eb4c296b3d4b53814d432b07) * move scrubber to own file * end card * add icon to end card * add min view time to viewability config * play haptic on like * tweak feedback * tweak feedback again * Moderation (cherry picked from commit 6b6b471cfb363031284b3e7a1f6e0ade3ac4ae47) * remove bad check * fix feedback for new video grid * change prop name to items as well * Simplify logic * Fix mod footer * Give scrubber more space on android * Add subtle track behind scrubber, adjust opacity * wire in feed context again... * Add better a11y desc to card * Fix key issue * Update a11y copy * Fix scrubber height * improve scrubber animation * Make follow button more obvious * Make header back button more clear * Disable interactions with actual video el * keep content away from the bottom safe area * fix blur * fix moderation issue * improve contrast on mod screen * Make moderation static per item * Memoize rows * Optimizations * Take video moderation into account * Only blur titles for list blur * Change copy * Bump blur radius * animate text in both directions * Rm unused field * Filter by root early * Refactor for clarity * add compose prompt to scrubber * rm log * tweak gradient * Bump SDK, use contentMode to power video feed * Ensure ProfileFeed view also supports video feed * improve scrubber on android * rm border from footer * Update prod video feed did * Separate caches * Add lil hover to View More * Fix undefined logic, remove header for interstitial * Ungate * Fix stuckness * remove extra useless map * Fix effect cleanup * Send seen without cleanup * Simplify react stuff * Earlier early return to avoid loading flash * remove scrubber placeholder * Remove opacity hack * Render useEvent conditionally * Fix Android flash --------- Co-authored-by: dan <dan.abramov@gmail.com> Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Revert "[Android] Fix taps triggering while swiping (#7459)" (#7498)dan2025-01-201-2/+40
| | | This reverts commit 5130d19ebdb3267f58e2b6407eb5c4f95107887c.
* Bring video cropping in line with images (#7462)Eric Bailey2025-01-183-55/+113
| | | | | * Mimic image cropping for videos on web * Same on native
* [Android] Fix taps triggering while swiping (#7459)gpp2025-01-171-40/+2
| | | | | | | | | | | | | | | * [Android] Fix taps triggering while swiping * Revert "[Android] Try to disambiguate taps from swipes (#7448)" This reverts commit 96054f4addb63994b3d2f5fe1d288f4dd3c246c2. * Update patch to match callstack/react-native-pager-view#961 * Make it symmetrical --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [Android] Try to disambiguate taps from swipes (#7448)dan2025-01-151-2/+40
|
* Remove unnecessary addEventListener call for video (#7433)Islam Rustamov2025-01-141-3/+0
|
* Fix web crash (#7426)dan2025-01-101-1/+1
|
* Fix Android composer padding: Director's Cut (#7412)Samuel Newman2025-01-091-7/+15
| | | | | | | * fix android 15 composer padding * while I'm here, alf some bits and pieces * add comments
* Fix avatar shape in Account switch menu (#7388)Samuel Newman2025-01-092-3/+17
|
* [ELI5] Tweaks to hosting provider (#6935)Samuel Newman2025-01-081-10/+32
| | | | | | | | | | | | | | | * minimal hosting provider * change wording and move back up * first time user nudge * move tip * reexport ticket svg * fix ticket fr this time * text tweak + add minHeight
* Add key to invalidate spinner when theme changes (#7351)Roland Crosby2025-01-081-0/+1
|
* Add loading state to new trending interstitial (#7332)dan2025-01-021-1/+1
|
* Localize lang selectors according to the app language (#6207)Stanislas Signoud2024-12-314-33/+48
| | | | | * Localize lang selectors according to the app language * Explicitly ignore RangeError when translating locale names
* Rework discover-feed trending interstitial (#7314)Paul Frazee2024-12-311-14/+13
| | | | | | | | | | | | | * Rework discover-feed trending interstitial to take one row * Fix loading state * Try putting it at the top * Color consistency * Tweak some spacing * Show trending when progress guide is there
* Unlock orientation when lightbox is open (#7257)Samuel Newman2024-12-241-4/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | * unlock orientation when lightbox is open * rm outer safe area view, make sure alt text is safe * restore safe area view for android 14 and below * lock orientation on launch for android * set system ui background to black when lightbox is open * reset state on relayout * catch async functions with noops * rm superfluous catches * Delay unlock until after animation * Simplify how key is determined * Make landscape backdrop opaque --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Apply avatar moderation to quote post (#7229)Christian Schmidt2024-12-202-4/+2
|
* fix lightbox on android 15 (#7221)Samuel Newman2024-12-202-8/+4
|
* add default empty state text (#7212)Samuel Newman2024-12-201-12/+22
|
* Fix Emoji picker focus (#7217)Eric Bailey2024-12-202-37/+59
| | | | | | | | | | | | | | | | | | | * Only portal the emoji picker where needed * Add optional portal prop to emoji picker * Use FocusScope to our advantage * Pare back, add guards, fix focus trap * Don't return focus to emoji button * Set DM input position on emoji insert * Let the caller determine next focus node --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Don't add unused keydown listeners (#7218)dan2024-12-201-0/+4
|
* Moderate composer quote (#7213)Samuel Newman2024-12-201-5/+7
| | | | | * moderate composer quote * consistency with other uses
* Bump clamp max value (#7198)dan2024-12-191-1/+1
|
* Proper fix for iOS cropper being stuck (#7194)dan2024-12-192-10/+2
| | | | | | | * Revert "Add iOS hack to fix cropper failing to show (#7191)" This reverts commit 25d20c6395a093a6cfc6aed4d08469f7f128f358. * Proper fix
* Add iOS hack to fix cropper failing to show (#7191)dan2024-12-192-2/+10
| | | | | * Add iOS hack to fix cropper failing to show * Make it 800
* Remove deactivate dialog link from delete modal (#7167)Eric Bailey2024-12-181-20/+1
| | | | | * Rm closeModal * rm link
* Add reply sorting in-thread (#7156)dan2024-12-181-12/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add button * Extract component * Make it work * Extract and use RadioCircle * Add tree/list setting * Prefer local state * Factor out threadViewPrefs * Fix optimistic stuff * Revert RadioButton changes * Tweak radio styles, add Menu.LabelText * Labels * Margins * Update copy --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Better list empty state (#7157)Samuel Newman2024-12-182-21/+18
| | | | | | | | | | | | | * render header conditionally, use modern footer * move add button to empty state if empty * center align empty state * Tweak add people btn --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Remove header subtitle from list-related screens (#7154)Samuel Newman2024-12-182-25/+47
| | | | | | | | | | | | | | | * rm subtitle, add admonition * rm top border from empty state * Minimal approach * Revert uneeded change * Even more minimal --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Web sticky headers for most screens (#7153)Samuel Newman2024-12-181-16/+19
| | | | | | | | | | | * web sticky headers, with opt-out for notifs * rm from postthread * Fix jump --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Trending (Beta) (#7144)Eric Bailey2024-12-171-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add WIP UIs for trending topics and suggested starterpacks * Disable SPs for now * Improve explore treatment a bit, add some polish to cards * Add tiny option in RightNav * Add persisted option to hide trending from sidebar * Add to settings, abstract state, not updating in tab * Fix up hide/show toggle state, WITH broadcast hacK * Clean up persisted code, add new setting * Add new interstitial to Discover * Exploration * First hack at mute words * Wire up interstitial and Explore page * Align components * Some skeleton UI * Handle service config, enablement, load states, update lex contract * Centralize mute word handling * Stale time to 30m * Cache enabled value for reloads, use real data for service config * Remove broadcast hack * Remove titleChild * Gate settings too * Update package, rm langs * Add feature gate * Only english during beta period * Hook up real data * Tweak config * Straight passthrough links * Hook up prod agent * Fix no-show logic * Up config query to 5 min * Remove old file * Remove comment * Remove stray flex_1 * Make trending setting global * Quick placeholder state * Limit # in sidebar, tweak spacing * Tweak gaps * Handle hide/show of sidebar * Simplify messages * Remove interstitial * Revert "Remove interstitial" This reverts commit 1358ad47fdf7e633749340c410933b508af46c10. * Only show interstitial on mobile * Fix gap * Add explore page recommendations * [topics] add topic screen (#7149) * add topic screen * decode * fix search query * decode * add server route * Fix potential bad destructure (undefined) --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Hailey <me@haileyok.com>
* Fix emoji picker position (#7146)Eric Bailey2024-12-171-34/+37
|
* New progress guide - 10 follows (#7128)Samuel Newman2024-12-173-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * new follow-10 progress guide * find follows dialog * wip tabs * flatlist version with search * hardcode out jake gold * lazy load followup suggestions * Update src/components/ProgressGuide/FollowDialog.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * comment out replacing, enable paging * rm autofocus * find shadow profiles in paginated search * clear search when press tabs * better tab a11y * fix label * adjust scroll indicator insets * do the same scroll indicator adjustment for searchable people list * hardcode jake to just be 'tech' * Retain state on close/reopen * only change follow btn color when not followed * add guide to inside dialog * fix task alignment * Enable contextual suggestions * WIP: show multiple suggestions * Rework so it animates well * Show more items * remove card style * move tabs to own component * split out header top * scroll active tab into view * rm log * Improve perf a bit * boost popular interests over alphabetical ones * scroll active tab into view * revert back to round buttons * Fix overrenders of the tab bar items * Fix unintended animation * Scroll initial into view if needed * Unlift state, the dialog thing breaks lifting * Persist simply * Fix empty state * Fix incorrect gate exposure * Fix another bad useGate * Nit --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Fix notifications borders (#7140)dan2024-12-172-2/+2
|
* Refetch empty feed on focus (#7139)dan2024-12-171-10/+9
|
* alf error screen (#7135)Samuel Newman2024-12-171-82/+55
|
* Adjust gates (#7132)dan2024-12-161-3/+4
| | | | | | | * Remove dead gate * Adjust gates * No need to disable exposures
* disable automaticallAdjustsScrollIndicatorInsets (#7131)Samuel Newman2024-12-161-0/+4
|
* [Experiment] Remove "Load Latest" button (#7120)dan2024-12-152-0/+14
| | | | | | | | | | | | | * Remove "show latest" behind the gate * Add HomeBadgeProvider * Update provider state from home feed tabs * Add Home badge to native * Add Home badge to mobile web * Add Home badge to desktop web
* Fix z-indexes to make tabbar scroll on Android (#7102)dan2024-12-142-15/+15
|
* Tweak ProfileList design (#7100)dan2024-12-132-19/+50
| | | | | | | | | * Remove "No description" * Move Lists about into header * Remove pager with one tab * Layout tweaks