about summary refs log tree commit diff
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* Refactor `ProfileCard` to be composable (#4622)Eric Bailey2024-06-271-59/+250
| | | | | | | | | | | | | * Break up new profile card for easier re-use * Break things up a bit more * Add round variant support and other button props * Handle blocks * Add Outer export * Tweak space
* [Starter Packs] Posts tab (#4660)dan2024-06-271-0/+51
| | | | | * [Starter Packs] Posts tab * oops
* Mark two starter pack strings for localization (#4655)surfdude292024-06-261-3/+5
|
* Add back pin action for feed cards (#4643)Eric Bailey2024-06-251-1/+5
|
* Fix typo in ThreadgateEditor.tsx (#4636)surfdude292024-06-251-1/+1
|
* Disable facets in `FeedCard.Description` component (#4620)Eric Bailey2024-06-241-8/+9
|
* tweak wording for own badge (#4631)Hailey2024-06-241-4/+20
|
* explicitly filter out labelers (#4629)Hailey2024-06-241-0/+1
|
* Newskie dialog tweaks (#4623)Eric Bailey2024-06-241-21/+34
|
* Composer - replace threadgate modal with alf dialog (#4329)Samuel Newman2024-06-244-69/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * replace threadgate modal with alf dialog * add accessibility to selectable * add aria * hide spinner once fetched * add `hasOpenDialogs` value to context * remove state * Rm loading state * Update the threadgate dialog button theming * Factor out the threadgate editor and add editing to post views * Mark messages for localization * Use colors from mute dialog * Remove unnecessary effect * Reset state on dialog dismiss * Clearer CTA * Fix bugs * Scope keyboard fix * Rm getAreDialogsActive (no longer needed) --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Couple of starter packs tweaks (#4604)Hailey2024-06-244-29/+35
|
* Remove the 'Who can reply' element except when viewing root, and add "edit" ↵Paul Frazee2024-06-241-0/+324
| | | | | | | (#4615) * Remove the 'Who can reply' element except when viewing root, and add the edit text to authors * Switch to icon
* Starter Packs (#4332)Hailey2024-06-2123-44/+1868
| | | | | | | Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Tweak feed card to prevent spinnerz when pushing to screen (#4600)Hailey2024-06-211-25/+77
|
* add flex shrink (#4597)Hailey2024-06-221-1/+1
|
* Pinned feeds cards (#4526)Eric Bailey2024-06-221-27/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lists support to FeedCard * Add useSavedFeeds query, similar to usePinnedFeedInfos * Integrate into Feeds screen * Fix alignment on mobile * Update usages * Add placeholder loading state * Handle no feeds state * Reuse previous data for placeholder * Staged loading * Improve staged loading * Use setQueryData approach to pre-caching * Add types for a little more safety * Fix precaching --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Merge #4492, fixes profile menu hover (#4580)Eric Bailey2024-06-201-1/+1
| | | | | | | | | | | | | | | | | * Fix button hover color (#4492) * Update ProfileMenu.tsx * Update Button.tsx * Update ProfileFeed.tsx * Update ProfileFeed.tsx * Re-add change post conflict --------- Co-authored-by: Minseo Lee <itoupluk427@gmail.com>
* Convert button to use forwardRef (#4576)Eric Bailey2024-06-191-306/+325
|
* fix for autofill covering border (#4573)Samuel Newman2024-06-201-0/+7
|
* Collection of moderation fixes (#4566)Paul Frazee2024-06-192-2/+12
| | | | | | | | | | | | | | | * Fix: dont blur parents in threads that embed blocks * After tapping 'Show hidden replies', show the individual hider cards * Add shape override to UserAvatar and fix the fallback avi for labelers * Fix precedence * Detect shape for DefaultAvatar --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Better handling of blocks in `KnownFollowers` (#4563)Eric Bailey2024-06-191-18/+49
| | | | | | | | | | | | | | | | | * Better handle nested conditionals, use renderable items to determine UI * Better translate * Fix translation and fix missing case in the process * Clarify naming * Add safeguard * Remove unneeded msg --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Disable newskie dialog tap in hover card web (#4562)Eric Bailey2024-06-182-1/+4
|
* Prevent unecessary calls (#4561)Eric Bailey2024-06-181-1/+1
| | | (cherry picked from commit ecb48797675c5be24508bf47141e930c64dac14e)
* Force callers of `getTimeAgo` to pass in the value for "now" (#4560)Eric Bailey2024-06-181-3/+4
| | | | | | | * Remove icky hook for now * Force callers of getTimeAgo to pass in the 'now' value * Update usage in Newskie dialog
* Is it "newskie" or "newsky" 🤔 (#4557)Eric Bailey2024-06-182-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add newskie icon (cherry picked from commit 152e074ee053e076bf644e368047e486a5ad127c) (cherry picked from commit 8d2326f115c9c9d32aa1c41259bb81936b3868aa) * add size prop (cherry picked from commit af09ae2d8f4fedf8a50993e94b76efc44a2ef4ea) (cherry picked from commit 38dd38451bcce8afcf302ad1180802640857722a) * add a dialog for newskies to profiles (cherry picked from commit fe16f55e9c5e8faef540b563662b0c0c9a1d2d77) (cherry picked from commit c5b9f1b16ace276f422832069db076a5360616fe) * move newskie to handle (cherry picked from commit 150f2635b278a92ed67dcec748333b428aacb670) (cherry picked from commit 1efaaf835380f4e76d2e4b7fe8b727a92731a794) * use "say hello" in newskie dialog (cherry picked from commit d9a286cfc823a9e697061de84dd317625741a862) (cherry picked from commit 018dd1739fee68906dec63e05519f5ca9ae73910) * tweaks (cherry picked from commit 070363c947600c48368b01c776ea34fbf422f81e) (cherry picked from commit c30855d4ff311e31fb6ae357a9d6cd1662b291d5) * Tweaks * Re-export newskie icon * Design tweaks * Tweaks * Add source icon * Remove unused file * Remove unneeded edits * Simplify logic * Update source * Moderate displayName, fix createdAt type --------- Co-authored-by: Hailey <me@haileyok.com>
* fix keyboard overlaying onboarding inputs (#4558)Hailey2024-06-181-2/+5
|
* Don't show "Pin/Add" button on feed card w/ no session (#4539)Hailey2024-06-171-0/+7
| | | | | * pt 1 * tweak
* fix native post meta (#4530)Hailey2024-06-161-1/+14
|
* Feed source card (#4512)Eric Bailey2024-06-143-8/+209
| | | | | | | | | | | | | | | * Pass event through click handlers * Add FeedCard, use in Feeds screen * Tweak space * Don't contrain rt height * Tweak space * Fix type errors, don't pass event to fns that don't expect it * Show unresolved RT prior to facet resolution
* Redo explore page (#4491)Eric Bailey2024-06-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Redo explore page, wip * Remove circle icons * Load more styling * Lower limit * Some styling tweaks * Abstract * Add tab, query, factor out * Revert unneeded change * Revert unneeded change v2 * Update copy * Load more styling * Header styles * The thin blue line * Make sure it's hairline * Update query keys * Border * Expand avis * Very load more copy
* Fix count again (#4516)Eric Bailey2024-06-141-1/+1
|
* KnownFollowers localization (#4494)Minseo Lee2024-06-131-22/+28
| | | | | | | * Update KnownFollowers.tsx * Update KnownFollowers.tsx * Update KnownFollowers.tsx
* Fix profile hover card blocked state (#4480)Eric Bailey2024-06-132-27/+65
| | | | | | | | | * Fix: mini profile on hover allows following a blocker/blocked user (#4423) (#4440) * Tweaks --------- Co-authored-by: Michał Gołda <michal.golda@hotmail.com>
* Show social proof in hovercards (#4502)dan2024-06-132-1/+22
| | | | | * Add social proof to hovercards * Close it more reliably
* Just use server count (#4499)Eric Bailey2024-06-121-9/+1
| | | | | * Just use server count * Fix count
* Add KnownFollowers component to standard profile header (#4420)Eric Bailey2024-06-111-0/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add KnownFollowers component to standard profile header * Prep for known followers screen * Add known followers screen * Tighten space * Add pressed state * Edit title * Vertically center * Don't show if no known followers * Bump sdk * Use actual followers.length to show * Updates to show logic, space * Prevent fresh data from applying to cached screens * Tighten space * Better label * Oxford comma * Fix count logic * Add bskyweb route * Useless ternary * Minor spacing tweak --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Only enable keyboard controller when necessary (#4483)Samuel Newman2024-06-117-10/+10
| | | | | | | | | | | | | | | | | | | * Only enable keyboard controller when necessary * make it screen only * rm keyboard padding * rm keyboardpadding file * revert using keyboard controller in composer * remove styles.outer (unnecessary for revert) * continue to use keyboard padding in the report dialog for dms --------- Co-authored-by: Hailey <me@haileyok.com>
* Move feeds screen into common navigator, handle usages (#4365)Eric Bailey2024-06-115-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move feeds screen into common navigator, handle usages * Add link to Feeds from home screen (#4366) * Add link to feeds to home screen header * Center logo * Replace icons * Tweak spacing * Tweak spacing * Swap icon, sizing * Buttonize, size * Make menu same alignment on all screens * Remove FeedsTab support, enable drawer swipe on MessagesTab * Add note * Vertically align header * Swap in Pin * Use hashtag icon * Remove png * Fix reference * Ensure alignment with home and other screens
* Revert "Fix undefined block (#4471)" (#4472)Eric Bailey2024-06-111-6/+3
| | | This reverts commit 7cac413f3b397fee95681033f075d51c7c4ee153.
* Fix undefined block (#4471)Eric Bailey2024-06-101-3/+6
| | | | | | | | | | | | | | | * Fix undefined block (#4378) * Fix undefined block * Changing text and handling all blocks. * Tweaks * Hide follow button in hover card if user blocked --------- Co-authored-by: Josh <hi@oracularhades.com>
* Add support for new-tab clicks on feeds (#4462)Paul Frazee2024-06-101-11/+3
|
* Split ShareViaChatDialog (#4383)dan2024-06-061-11/+22
|
* Fix descenders cutoff in new chat dialog (#4359)Eric Bailey2024-06-041-2/+4
|
* Use recent convos for share via dialog (#4352)Eric Bailey2024-06-042-10/+75
|
* allow nested quotes in DMs (#4345)Samuel Newman2024-06-041-1/+1
|
* Native `formSheet` for GIF select on iOS (#4328)Samuel Newman2024-06-043-49/+324
| | | | | | | | | * native formsheet for gif select * trigger confirm discard if have gif * give modal a background color * fix web top bar - unrelated but I cba to make a separate PR
* Composer - add animated bottom border (#4325)Samuel Newman2024-06-041-1/+1
| | | | | | | | | | | | | | | | | | | * start adding bottom border (wip) * add content change listener * add layout listener and move to hook * remove logs * use square-er image icon * visually align bottom bar icons * reduce keyboard vertical offset slightly * only add border to top/bottom * run worklet function on UI thread
* don't use flexBasis on web for message post embeds (#4303)Hailey2024-06-031-2/+2
| | | | | * don't use flexBasis on web * rm unnecessary style
* Revert "[🐴] Embed backwards compat (#4302)" (#4338)Eric Bailey2024-06-031-3/+1
| | | This reverts commit f868821cfcc87b62a320e5a1e11375fdb973adc1.
* [🐴] add emoji multiplier prop to RichText and bump it up for DMs (#4229)Samuel Newman2024-05-312-28/+36
| | | | | | | | | | | | | | | | | | | * add emoji multiplier prop to RichText and bump it up for DMs * remove background if only emoji * Handle more emoji * Adjust emoji regex and length * Fix bad merge conflict res * Fix logic * Revert to emoji specific regex --------- Co-authored-by: Eric Bailey <git@esb.lol>