about summary refs log tree commit diff
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* feat: update ProfileCard.Avatar to take size propCaidan Williams2025-07-291-3/+11
|
* feat(ui): add dropshadow to suggested profile cardCaidan Williams2025-07-291-1/+3
|
* feat(ui): replace suggested profiles interstital icon with link "See all"Caidan Williams2025-07-291-2/+3
|
* feat(ui): updated suggested profiles interstitial "Suggested for you" text colorCaidan Williams2025-07-291-1/+1
|
* feat(ui): update suggested profiles interstitial top padding 16 -> 12Caidan Williams2025-07-291-3/+3
|
* [APP-1157] disable searches for logged out users, prompt them to sign in (#8697)Chenyu2025-07-241-0/+45
|
* fix(lint): remove unused importCaidan Williams2025-07-241-1/+0
|
* feat(ui): increase the trending videos card sizeCaidan Williams2025-07-241-1/+1
|
* feat(ui): update TrendingVideos dismiss button styleCaidan Williams2025-07-241-3/+3
| | | | | | Changed the TrendingVideos dismiss button to use solid variant and square shape for improved visibility. Also set ButtonIcon size to "sm" for better alignment with the new button style.
* feat(ui): remove the header iconCaidan Williams2025-07-241-6/+3
| | | | | Replace the header's flex row with a single bold text element for "Trending Videos", removing the Graph icon and extra container.
* fix(ui): adjust TrendingVideos padding and gap sizesCaidan Williams2025-07-241-3/+3
| | | | | | Reduced top padding from large to small and updated horizontal padding handling for the TrendingVideos component. Increased card gap and snap interval from small to medium.
* feat(ui): add border to video post and trending cardsCaidan Williams2025-07-242-0/+10
| | | | | | Added a border and low contrast border color to CompactVideoPostCard, CompactVideoPostCardPlaceholder, and TrendingVideos card components for improved visual separation.
* feat(ui): add shadow to video post trending cardsCaidan Williams2025-07-242-1/+3
| | | | | | | Added a small shadow (shadow_sm) to the CompactVideoPostCard and the "View more" card in TrendingVideos for improved visual depth and consistency. This enhances the card appearance and aligns with the design system.
* fix(ui): overflow for TrendingVideos scroll containerCaidan Williams2025-07-241-1/+3
| | | | | | | Added overflow_hidden to the main container and set overflow_visible on the FlatList to ensure proper display of horizontally scrolling cards. This resolves clipping issues and improves the visual layout of trending videos.
* style(ui): use larger border radius on video post cardCaidan Williams2025-07-242-4/+4
| | | | | Updated CompactVideoPostCard to use a larger border radius by replacing rounded_md with rounded_lg.
* fix: general profile component layout fixes, and ability to disable the ↵Elijah Seed-Arita2025-07-241-6/+10
| | | | inset border for UserAvatar (#8711)
* Replace `resumeSession` with `getSession` in the email check (#8670)Samuel Newman2025-07-233-59/+26
| | | | | | | | | | | | | * replace resumeSession with getSession * copy lil type tweak from the other PR * Add partialRefreshSession to session API context, use session state to infer state further down tree * Review --------- Co-authored-by: Eric Bailey <git@esb.lol>
* feat(ui): remove like count from trending videos (#8689)Caidan2025-07-221-29/+34
| | | | | | | | | | | | | | | | * feat(ui): add showLikeCount flag to CompactVideoPostCard Introduced a showLikeCount flag to control the display of like count in the CompactVideoPostCard component. The like count is now only shown if both likeCount > 0 and showLikeCount are true. This allows for more flexible UI configurations and easier toggling of like count visibility. * fix(ui): hide gradient shadow when hiding like count * fix(ui): increase trending video profile pic size from 20 -> 24 * fix(ui): add small drop shadow to trending video profile pic * fix(ui): a.shadow_sm -> t.atoms.shadow_sm based on PR feedback
* add `action` context for `Repost` string in RepostButton.web.tsx (#8427)surfdude292025-07-211-2/+8
|
* fix emoji popup scroll (#8636)Samuel Newman2025-07-211-4/+6
|
* Age assurance tweaks (#8671)Eric Bailey2025-07-181-6/+57
| | | | | | | * Refetch state while in pending status * Add success state to redirect, just have user close, nicer experience * Stop refetching after pending
* Handle missed error branch (#8663)Eric Bailey2025-07-181-7/+13
|
* Update copy (#8664)Eric Bailey2025-07-182-4/+7
|
* Fix checkmark overflow in profile card (#8612)Samuel Newman2025-07-171-3/+9
|
* Age assurance fast-follows (#8656)Eric Bailey2025-07-1710-122/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add feed banner * Comment * Update nux name * Handle did error * Hide mod settings if underage or age restricted * Add metrics * Remove DEV override * Copy suggestion * Small copy edits * useState * Fix bug * Update src/components/ageAssurance/useAgeAssuranceCopy.ts Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Get rid of debug button --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Update copy and link in reporting flow (#8583)Eric Bailey2025-07-172-4/+8
| | | | | | | | | | | * Update copy and link * fix prettier * Update link --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* UI for age assurance compliance (#8652)Eric Bailey2025-07-1616-20/+1357
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add geo prop * Add prelim fetch * Add geo debug * Pass in assurance state to notifications registration * Comments * Bump git index * Add some component utils, no design, gate chat * Disable mod prefs buttons, does not yet edit mod prefs * Add initial prompt component * Refine logic for showing prompt * Add send email dialog * Hook up dialog to fake mutation * Fix geo debug bug * Move provider inside query provider * Slightly better screen gater * Ok decent fallback with isExempt * Reorg * Wrap prompt in new logic * Override mod prefs * Use real endpoints, optimistic state * Add persistent card, add time-ago, warning to dialog * Add comment * No undefined query values * Fix case in import * Wait for AA to load before registering push * Override prefs in all locations * Small refactor of notifications registration * Register push after aa state * Add retries * Update blocked screens UI * Strengthen email validation * Add intent dialog * Do service auth for init * Rug refreshJwt * Update copy * Some mobile styles, add dev mode option * Fix links on native * Clean up intent dialog on native * Don't mutate existing session, only copy * Handle email validation error from server * Clarity is better * Moar clear * Fixes * Tweaks * Add country code * Gate it * Refresh state after redirect * Re-check on window focus * Remove todo * Enable in dev * Check for did match on redirect * Add blocked state * Add appeal dialog * Copy tweaks * Inset in blue well * Nux the prompt * Copy updates * Refetch just in case * Uppercase country code * Align copy, add notice to chat screens * Tweak copy * Add test code * Add debug code * Refactor AccountCard * Big refactor * Delay post-feed queries instead * Debug code * Clean up state * Reorg * Clean up copy * Comments * Reorg * UPdate URL * Cleanup * Remove todo * Update debug code * revert unneeded changes * UPdate nux name * Revert unneeded change * Updaet storage schema * Checkpoint: cleanup * Checkpoint: almost there * isLoaded -> isReady * Rename useAgeAssurance * isUnderage -> isDeclaredUnderage * Decompose, add docblocks * Refactor * UPdate debug * Apply suggestion from @surfdude29 Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Apply suggestion from @surfdude29 Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Apply suggestion from @surfdude29 Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Apply suggestion from @surfdude29 Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Apply suggestion from @surfdude29 Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Apply suggestion from @surfdude29 Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Drop including Bluesky * Apply suggestion from @surfdude29 Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Apply suggestion from @surfdude29 Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Remove todo * Gate debug * Revert unneeded change * Fail closed * Comments * Comment * Comment * fix prettier * rm viewheader * bump sdk * prevent overlap in admonition * add age assurance intent route * Just meow Co-authored-by: Samuel Newman <mozzius@protonmail.com> * Nix callback * Fix spelling of dismissible lol * Don't compare translated string * Better KWS link labels * Hide DMs send options in menu * Add button * Fix order * Use only supported languages * Rm button * best-effort language mapping * improve typing --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Fix perf issue on web - restore pop behaviour to tabs (#8620)Samuel Newman2025-07-152-2/+1
|
* fix who can reply icon (#8625)Samuel Newman2025-07-141-1/+3
|
* Fix quote+list card padding (#8623)Samuel Newman2025-07-097-104/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix quote padding not being pressable * fix list padding not being pressable * Fix unnecessary loading of feeds (#8578) * stop layout shifts in feed loading * don't load feed data if we already have it * adjust styles, alf stuff * remove unused button, massively simplify * fix layout shifting in notifs * use feedcard for feed post embeds * use bold text to match other style * use Link component rather than jank Pressable * prevent nested anchors in notifs * match following text size * add space between content hider * Better dead feed handling (#8579) * add space between content hider * add handling for feeds that fail to load * cleanError, in case of network funkiness * handle deleted lists * split out missingfeed
* Move NUX date (#8603)Samuel Newman2025-07-031-1/+1
|
* Activity notification settings (#8485)Samuel Newman2025-07-0110-63/+732
| | | | | | Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: hailey <me@haileyok.com>
* Improve post spacing (#8589)Samuel Newman2025-07-011-1/+8
|
* feat: use t.gifs cdn for tenor search results (#8574)hailey2025-06-301-4/+5
|
* tweak who can reply dialog (#8573)Samuel Newman2025-06-281-8/+23
|
* android paper text input padding (#8570)Samuel Newman2025-06-261-1/+2
|
* Tooltip (#8555)Eric Bailey2025-06-245-0/+554
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Working overlay, WIP * Ok working with no overlay and global gesture handler * Ok pretty good on native * Cleanup * Cleanup * add animation * add transform origin to animation * Some a11y * Improve colors * Explicitly wrap gesture handler * Add easier abstraction * Web * Fix animation * Cleanup and remove provider * Include demo for now * Ok diff interface to avoid collapsed views * Use dimensions hook * Adjust overlap, clarify intent of consts * Revert testing edits --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Upgrade prettier to 3.6 (#8558)Samuel Newman2025-06-2318-104/+107
| | | | | | | * upgrade prettier * run prettier * more files
* Ignore common video errors (#8548)Samuel Newman2025-06-201-3/+16
|
* fix prefetch returning undefined (#8538)Samuel Newman2025-06-191-4/+9
|
* Fix anchor text overflow in threads v2 (#8530)Eric Bailey2025-06-182-3/+5
|
* Fix select text color if system theme mismatches app theme (#8523)Eric Bailey2025-06-181-0/+1
|
* Fix linking to specific search results (#8520)Samuel Newman2025-06-181-7/+36
| | | | | | | * fix linking to bsky.app/search?q=xyz * add name to comment * skip if notfound
* Modernise link warning dialog (#8243)Samuel Newman2025-06-183-11/+190
| | | | | | | | | * add link warning dialog * add copy for if sharing * delete old modal * get web working
* Delete some old dialogs (#8512)Eric Bailey2025-06-172-619/+0
| | | | | * Delete old EditProfile dialog * Delete old email verification dialogs
* Granular notification settings (#8484)Samuel Newman2025-06-174-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add mockup screen * add notification index screen * add redirect screen * upgrade sdk * new icons * add new screens * make router typesafe, finish adding screens * add routes to go server * load settings * push notif settings * improve web * fix lockfile lint * no $type on preferences * prompt to enable push notifications * fix reply prefs * space out options * fix copy error * Update RepostsOnRepostsNotificationSettings.tsx * only send minimal diff to putPrefs * fix yarn.lock * Update Navigation.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/screens/Settings/NotificationSettings/index.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * add description to `syncOthers` --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Fix long-press loophole for disabled quote posts (#8502)Samuel Newman2025-06-161-2/+13
| | | | | * fix loophole for disabled quote posts * show dialog instead
* Use Button instead of TextLink for show more button (#8480)Samuel Newman2025-06-1313-24/+90
| | | | | | | | | | | | | * use button instead of TextLink for show more * Match post text size, provide interaction feedback * Move to new Post components dir * Prettier --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Hover card on anchor displayName/handle (#8479)Samuel Newman2025-06-132-6/+5
| | | | | | | | | | | * add hover to anchor display name / handle * use newer link component * Wrap using a single hover element --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Port post embeds to new arch (#7408)Eric Bailey2025-06-1336-22/+3754
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Direct port of embeds to new arch (cherry picked from commit cc3fa1f6cea396dd9222486c633a508bfee1ecd6) * Re-org * Split out ListEmbed and FeedEmbed * Split out ImageEmbed * DRY up a bit * Port over ExternalLinkEmbed * Port over Player and Gif embeds * Migrate ComposerReplyTo * Replace other usages of old post-embeds * Migrate view contexts * Copy pasta VideoEmbed * Copy pasta GifEmbed * Swap in new file location * Clean up * Fix up native * Add back in correct moderation on List and Feed embeds * Format * Prettier * delete old video utils * move bandwidth-estimate.ts * Remove log * Add LazyQuoteEmbed for composer use * Clean up unused things * Remove remaining items * Prettier * Fix imports * Handle nested quotes same as prod * Add back silenced error handling * Fix lint --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>