about summary refs log tree commit diff
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* [🐴] Embed backwards compat (#4302)Eric Bailey2024-05-311-1/+3
|
* [🐴] Add labels to chats (#4293)Eric Bailey2024-05-312-44/+67
| | | | | | | | | | | * Add labels to chat list * Add to convo header * Prevent click through on PostAlert buttons * Fix space * Fix alignment
* [🐴] Option to share via chat in post dropdown (#4231)Samuel Newman2024-05-317-344/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add send via chat button to post dropdown (cherry picked from commit d8458c0bc344f993266f7bc7e325d47e40619648) * let usePostQuery take uris with DIDs (cherry picked from commit 16b577ce749fd07e1d5f8461e8ca71c5b874a936) * add embed preview in composer (cherry picked from commit 795ceb98d55b6a3ab5b83187a582f9656d71db69) * rm log (cherry picked from commit 374d6b8869459f08d8442a3a47d67149e8d9ddd4) * remove params properly, or at least as close to (cherry picked from commit c20e0062c2ca4d9c2b28324eee5e713a1a3ab251) * show images in preview (cherry picked from commit 5bb617a3ce00f67bfc79784b2f81ef8dcb5bfc25) * Register embed immediately (cherry picked from commit ee120d5438a2c91c8980288665576d6a29b4c7e7) * Add hover to match embeds (cherry picked from commit 5297a5b06e499f46a9f6da510124610005db2448) * Update post dropdown copy (cherry picked from commit bc7e9f6a4303926a53c5c889f1f1b136faf20491) * Embed preview style tweaks (cherry picked from commit 9e3ccb0f25ac2f3ce6af538bb29112a3e96e01b1) * use hydrated posts from API and just use postembed component (cherry picked from commit cc0b84db87ca812d76cc69f46170ae84cfdde4ef) * fix type error (cherry picked from commit 9c49b940e1248e8a7c3b64190c5cb20750043619) * undo needless export (cherry picked from commit 1186701c997c50c0b29a809637cb9bc061b8c0a0) * fix overflow (cherry picked from commit 8868d5075062d0199c8ef6946fabde27e46ea378) --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [🐴] Record message (#4230)Samuel Newman2024-05-314-49/+198
| | | | | | | | | | | | | | | | | | | | | | | * send record via link in text * re-trim text after removing link * record message * only show copy text if message + add translate * reduce padding * adjust padding * Tweak spacing * Stop clickthrough for hidden content * Update bg to show labels --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Use new icons on notifications screen (#4299)Samuel Newman2024-05-312-1/+5
| | | | | | | * use new icons on notif screen * replace placeholder icon too * cull unused legacy icons
* Composer - fix modals, and other tweaks (#4298)Samuel Newman2024-05-313-41/+46
| | | | | | | | | | | | | | | | | | | * fix depreciated import * add animations to old dropdown * wrap modals in fullwindowoverlay * move errors inside header * add background to bottom bar and stop overlap * nest dialogs on android * fix android (wrap in gesturehandlerrootview) * make borders all the same color * revert threadgate button back to solid
* Change many border widths from `1` to `hairlineWidth` (#4294)Hailey2024-05-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feed items * update some more * moar * profile card * composer and notifications * settings screen * remove border from first item in feeds * remove border from first item in feeds * more removal of top border * fix flatlist rendering * oops * scroll to top fab * a.border * centeredview/list * placeholder * web sidebar * search posts * feeds list * user lists * list header * account list width 1 * hide top border feedgens * same for lists * fix tab bar web desktop * wait... * show the border on desktop web * fix lists * fix lists * round
* Add follow button to feed item avatar (#3560)Samuel Newman2024-05-315-14/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add follow button to feed item avatar * remove confirmation * add confirmation (just system alert) * Shrink the avi follow indicator a smidge * gate the follow button * remove from your own posts * add to post thread item * hide the follow button locally to component * Use native dropdown * Add follow btn to notifications and search * UI tweaks * Hide on PWI * Add toast for confirmation * Check gate last * compiler * Rm unused * Use names --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Reduce Threadgate button size (#4287)dan2024-05-301-1/+5
|
* Post controls update followup (#4276)Samuel Newman2024-05-301-1/+1
| | | | | | | | | * rm legacy repost modal * make repost button transparent * reduce gap between post and ctrls * remove old repost modal on web
* Interpret 'hide' setting as ALWAYS hiding from thread replies (#4263)Paul Frazee2024-05-301-1/+4
|
* Improve the visual clarity of labels on profiles and posts (#4262)Paul Frazee2024-05-302-15/+53
| | | | | * Update PostAlerts rendering to show the avi of the labeler rather than the display name; also add size variations * Update ProfileHeaderAlerts to match PostAlerts behavior
* Use ALF for post controls (#3400)Samuel Newman2024-05-303-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * alf the repost dropdown on web + import icons * alf like icon * convert other post controls * add missing padding to share button * refine buttons and use better icons * revert buttonicon changes * remove ButtonIcon and ButtonText from repost dialog * use 15px font size when not big * reduce size and use contrast_25 * add hover state to logged out view * add `userSelect: 'none'` to buttons * use width rather than height * fix quote close behaviour * prettier * Fix Esc on repost * Use new icons for placeholder * Fix placeholder --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Replace getAgent() with reading agent (#4243)dan2024-05-284-10/+10
| | | | | * Replace getAgent() with agent * Replace {agent} with agent
* [🐴] Don't submit the message on return press when on a phone (web input) ↵Hailey2024-05-231-2/+1
| | | | | | | | | | | | | | | (#4203) move this to the `onKeyDown` prop Revert "do the same for tablets" This reverts commit 47c709e2734f2acf34f89dd5aca42a75a2b56270. do the same for tablets don't submit message if the device is a phone on web move `onTouchStart` to `browser.ts` globals
* Improve moderation behaviors: show alert/inform sources and improve UX ↵Paul Frazee2024-05-243-30/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | around threads (#3677) * Dont show account or profile alerts and informs on posts * Sort threads to put blurred items at bottom * Group blurred replies under a single 'show hidden replies' control * Distinguish between muted and hidden replies in the thread view * Fix types * Modify the label alerts with some minor aesthetic updates and to show the source of a label * Tune when an account-level alert is shown on a post * Revert: show account-level alerts on posts again * Rm unused import * Fix to showing hidden replies when viewing a blurred item * Go ahead and uncover replies when 'show hidden posts' is clicked --------- Co-authored-by: dan <dan.abramov@gmail.com>
* [🐴] Overfetch follow for default new dialog state (#4205)Eric Bailey2024-05-231-3/+1
|
* Add padding to dialogs when keyboard is open on Android (#4182)Hailey2024-05-236-3/+50
| | | | | | | | | * add keyboard padding to android dialogs * missing `keyboardDismissMode` for `ScrollableInner` * add to `MutedWords` * add to `LabelsOnMe`
* Remove added radius, add to specific location (#4160)Eric Bailey2024-05-212-2/+2
|