about summary refs log tree commit diff
path: root/src/components/FeedInterstitials.tsx
Commit message (Collapse)AuthorAgeFilesLines
* use Link instead of manual navigation (#8930)Samuel Newman2025-08-281-7/+7
|
* feat(ui): redesign "See more" suggested profiles cardCaidan Williams2025-08-251-17/+20
| | | | | | | Refactored the "See more accounts you might like" card to use ButtonIcon and ButtonText for improved consistency and accessibility. Updated styles for better alignment, spacing, and visual hierarchy. Navigates to the Explore page when pressed.
* refactor(feed): rename Arrow to ArrowRight for clarityCaidan Williams2025-08-251-4/+4
|
* [APP-1357] profile header follow recommendations (#8784)Caidan2025-08-211-148/+138
|
* fix(ui): small bug where on small web views the final card was not full heightCaidan Williams2025-07-311-0/+1
|
* fix(ui): adjust padding for ProfileGrid layout consistencyCaidan Williams2025-07-311-6/+5
| | | | | Fixes the issue of the shadow being cutoff by the overflow, now will give proper spacing to the cards to display the shadow.
* feat(ui): add "See More Suggested Profiles" cardCaidan Williams2025-07-291-0/+28
|
* refactor(ui): adjust border styles in ProfileGrid cardCaidan Williams2025-07-291-3/+1
|
* feat(ui): improve suggested follow placeholder cardCaidan Williams2025-07-291-8/+23
| | | | | Now matches the same size and shape as the rendered card, which prevents content layout shift.
* refactor(ui): remove "Browse more accounts" card on mobile viewCaidan Williams2025-07-291-21/+0
|
* fix(ui): profile name and description overflowing on webCaidan Williams2025-07-291-1/+1
|
* fix(ui): placeholder web size and flex growCaidan Williams2025-07-291-1/+5
|
* refactor(feed): wrap placeholder description placeholder in full-width viewCaidan Williams2025-07-291-4/+3
|
* feat(feed): update suggested profiles link textCaidan Williams2025-07-291-2/+4
|
* refactor(ui): web profile cards maxLength 4 -> 3 with flex growCaidan Williams2025-07-291-2/+6
|
* refactor(ui): remove "Browse more suggestions" on web in favor of "See all"Caidan Williams2025-07-291-11/+1
|
* feat(ui): update SuggestedFollowPlaceholder to match new designCaidan Williams2025-07-291-6/+8
|
* refactor: replace magic 6px with dynamic a.gap_md/2Caidan Williams2025-07-291-2/+6
|
* fix(ui): suggested profile card grid on web sm -> mdCaidan Williams2025-07-291-1/+1
|
* fix(ui): follow button should always be pushed to the bottom on the profile cardCaidan Williams2025-07-291-1/+8
|
* refactor: update MOBILE_CARD_WIDTH instead of using inline widthCaidan Williams2025-07-291-2/+1
|
* refactor(ui): follow button and description to match designCaidan Williams2025-07-291-23/+34
|
* refactor(ui): swap ProfileCard.NameAndHandle for ProfileCard.NameCaidan Williams2025-07-291-1/+1
|
* feat(ui): update ProfileCard.Avatar size 40 -> 88Caidan Williams2025-07-291-0/+1
|
* refactor(ui): replace ProfileCard.Header with custom ViewCaidan Williams2025-07-291-2/+2
|
* feat(ui): force width on suggested profile cardCaidan Williams2025-07-291-0/+1
|
* feat(ui): update padding, border radius, and border on suggested profile cardCaidan Williams2025-07-291-2/+4
|
* 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
|
* Port post embeds to new arch (#7408)Eric Bailey2025-06-131-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fix suggested follows scrolling (#8036)Eric Bailey2025-04-011-28/+30
|
* `@atproto/api@next` integration (#7344)Eric Bailey2025-02-181-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump SDK * Use consistent type in profile query * Omit from constraint for profile shadow * Replace isRecord with isValidRecord in QuoteEmbed * Omit type from constraint for old ProfileCard * Omit type from constraint in profile queries where appropriate * Use correct type for update profile mutation * Conslidate and fix check for isValidRecord in Post.tsx * Replace isRecord with isValidRecord in PostThreadItem * Remove redundant cast in PostThreadFollowBtn * Ignore errors in DebugMod screen * Use matching type in ProfileFollows screen * Use matching type in ProfileFollowers screen * Migrate to isValidRecord in PostFeedItem * Use matching type if PostRepostedBy * Omit type from constraint in avatar props * Use matching types in NotificationFeedItem * Todo * Use isValidRecord in NotfyFeedItem * Improve MediaPreview types * Migrate another isValidRecord in NotificationFeedItem * Migrate to isValidView in queries/util * Migrate to isValidRecord in threadgate/util * Fix types in threadgates * Fix up types in starter-packs queries * Todo * Specify exact types in search-posts * Use internal type util to align types * Ditto last * Migrate postgate/index * Specify exact types in post-thread * Use correct type in post-quotes * FIX potential bug in post-thread * Use correct type in post-feed * Add correct type guards to notifications/feed * Migrate a guard in notifications/util * Migrate guard in Wizard/State * [@next] Profile handling, migrate `ProfileCard` (#7347) * Introduce new utils for profiles, migrate old ProfileCard * Rename, reorg * Add parseEmbed utils * Expand AnyProfileView to include chat profile view, update post shadow to reflect this * Cast for perf reasons * Tighten up types now that we have AnyProfileView * Add fastIsType util * Use `assertDid` Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Use util types * Comment * Use fastIsType where no validation was happening before * suggestions (#7382) * suggestions * Revert unneeded changes --------- Co-authored-by: Eric Bailey <git@esb.lol> * Use new util * Rename to dangerousIsType * Convert object shape * Use dangerous util * Use dangerous util * Use dangerous util, we can trust post records * Use dangerous util * Use AnyProfileVIew * Convert object shape * Clean up handling * Patch moderateProfile to accept known profile views, to discuss * Add AnyStarterPackView and related, implement in first usage * Remove validation, fix type, fix ref * Migrate over list-conversations * Clarify intent behind precacheProfile and its unstable query cache * Clean up unstable profile cache * Fix types during label creation in PwiOptOut (#7346) * Tighten types in queries/list * Chat: use correct profile views * Chat: fix log type check * Chat: construct lexically correct shape, even though it's only internal usage * Chat: use correct profile types * Chat: fix type check in logs * Starter: use correct profile types * Starter: use correct profile types * Starter: tighten types to match lex * Any profile type will work in blocked-and-muted * Use dangerous util * Use dangerousIsType * Update new ProfileCard to use AnyProfileView * Use dangerousIsType * Remove outdated todo * Use correct profile type * Use correct profile types * Tighten up types * Use dangerousIsType * Chat: more type fixes * Remove unused file * Add a few utils * Remove unused file * Ignore feedPost.__source * Clean up types, leave validation in critical path * Use dangerousIstype * Use ANyProfileView * Use isValidRecord * Use dangerousIsType * Fix types in ListCard * Fix FeedInterstitials types * Fix types in FeedCard * Fix types in dms ReportDialog * Fix types in SearchablePeopleList * Fix bad type in composer opts * Starter: ok these need to be loose too * Clarify docs Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Less code Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Use package exports Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Use package exports * Bump sdk, update $Typed imports * Format * Format * Fix weird TS error * Remove patch * Beter name * It's memo, can validate * Tighten up parseEmbed, dogfood * Bump sdk * Use asPredicate * Loosen types a bit * use asPredicate * Fix types * Use asPredicate * Use asPredicate * Use asPredicate * Clean up upsertProfile types * Use asPredicate * Use Un util * Fix types * Use new AnyProfileView * Use dangerousIsType * Use asPredicate * Use asPredicate * Add fallback content-type to pass typecheck * Clean up upsertProfile types * Align types * Use dangerousIsType * Use dangerousIsType * Use asPredicate * Align types * Convert findLast * Align types * Just ignore type errors and use findLast * Rename atproto -> bsky * Add validate util * Fix type error * Loosen types * Export post * rename atp bsky * Remove unused code * minor changes * Bump deps * Fix types * Tighten back up loose check * Tighten back up loose check * Fix small bug * Update comment * Revert change --------- Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> Co-authored-by: Matthieu Sieben <matthieu.sieben@gmail.com>
* env var tweaks (#7457)Hailey2025-01-261-2/+23
| | | | | | | | | | | | | * 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
* Prevent Drawer gesture conflicting with Suggestions scroll (#7468)dan2025-01-171-55/+63
| | | | | * Extract BlockDrawerGeesture * Block drawer when scrolling interstitials
* New progress guide - 10 follows (#7128)Samuel Newman2024-12-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 double border due to progress guide (#7084)dan2024-12-121-19/+3
|
* Suggested follows by actor (on profiles) updates (#5243)Eric Bailey2024-09-121-30/+34
| | | | | | | | | | | | | | | * If fallback, return nothing * Compress size a bit * Hide on own profile * Match load state * Remove gcTime * Filter out followed users * Feedback
* Set show_follow_suggestions_in_profile to true (#5205)dan2024-09-071-7/+1
|
* [Experiment] Suggest profiles in profile (#5030)dan2024-08-301-4/+56
| | | | | | | | | | | | | | | * Rename variable to disambiguate with parent scope * More variables where they are used * Inline variables * Add suggestions in profile * Gate it * rm space * Remove header suggestions under gate
* Include follow-based suggestions in interstitial (#4889)dan2024-08-081-2/+12
|
* Include popcluster in suggestion ranking (#4887)dan2024-08-081-4/+6
|
* Add label to profile card (#4843)Eric Bailey2024-07-251-3/+9
|
* Filter yourself out of follows interstitial (#4770)Eric Bailey2024-07-111-2/+6
|
* Show feedback for Follow button in interstitials (#4738)dan2024-07-051-0/+1
| | | | | * Fix Follow in interstitials * Show feedback in toast
* Feed interstitial snapping (#4737)Samuel Newman2024-07-051-3/+13
| | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [D1X] Use user action and viewing history to inform suggested follows (#4727)Eric Bailey2024-07-041-20/+85
| | | | | | | | | | | | | * Use user action and viewing history to inform suggested follows * Remove dynamic spreads * Track more info about seen posts * Add ranking --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* New user progress guides (#4716)Paul Frazee2024-07-041-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add the animated checkmark svg * Add progress guide list and task components * Add ProgressGuide Toast component * Implement progress-guide controller * Add 7 follows to the progress guide * Wire up action captures * Wire up progress-guide persistence * Trigger progress guide on account creation * Clear the progress guide from storage on complete * Add progress guide interstitial, put behind gate * Fix: read progress guide state from prefs * Some defensive type checks * Create separate toast for completion * List tweaks * Only show on Discover * Spacing and progress tweaks * Completely hide when complete * Capture the progress guide in local state, and only render toasts while guide is active * Fix: ensure persisted hydrates into local state * Gate --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [D1X] Integrate interstitials (#4698)Eric Bailey2024-07-031-4/+4
| | | | | | | | | | | | | | | * Use discriminated union * Integrate interstitials * Add gates and handling for variants * Only show interstitials for logged in accounts since flags are based on user ID * Nit --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>