about summary refs log tree commit diff
path: root/src/components/dms/ActionsWrapper.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Port post embeds to new arch (#7408)Eric Bailey2025-06-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [DMs] Emoji reaction picker (#8023)Samuel Newman2025-03-281-23/+1
|
* New `ContextMenu` menu type for DM messages (#8014)Samuel Newman2025-03-211-78/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * get context menu somewhat working ish * take screenshot rather than double rendering * get animations somewhat working * get transform animation working * rm log * upwards safe area * get working on android * get android working once and for all * fix positioning on both platforms * use dark blur on ios always, fix dark mode * allow closing with hardware back press * try and fix type error * add note about ts-ignore * round post * add image capture error handling * extract magic numbers * set explicit embed width, rm top margin * Message embed width tweaks * Format * fix position of embeds * same as above for web --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Use compiler-safe Reanimated get/set APIs (#6391)dan2024-11-171-7/+9
| | | | | | | | | | | | | | | | | | | | | * Convert lightbox to get/set * Work around software-mansion/react-native-reanimated#6613 * Use get/set in more places * Port MainScrollProvider to get/set * Port more to get/set * Port composer to get/set * Remove unnecessary thread hops in composer * Port more things to get/set * Convert more to get/set, remove redundant runOnJS * Convert remaining cases to get/set
* Improve chat performance (#6157)Samuel Newman2024-11-081-1/+2
| | | | | * fix worklet funcs on gestures * don't access .value in render
* Sort imports (#6009)dan2024-10-291-2/+2
| | | | | * Mark import sort/order/style rules as error * npm run lint -- --fix
* [🐴] Screenreader accessibility actions for individual chat items (#4116)Hailey2024-05-201-1/+9
| | | | | | | | | | | | | * add accessibility tap to messages * add a label for the accessibility action * improve accessibility actions on chat list items * adjust types * more consistent wording * make the strings localizable
* [🐴] Fully implement keyboard controller (#4106)Hailey2024-05-191-36/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "[🐴] Ensure keyboard gets dismissed when leaving screen (#4104)" This reverts commit 3ca671d9aacb6137e10e2cf3cd9bc170af798389. * getting somewhere * remove some now nuneeded code * fully implement keyboard controller * onStartReached check * fix new messages pill alignment * scroll to end on press * simplify pill scroll logic * update comment * adjust logic on when to hide the pill * fix backgrounding jank * improve look of deleting messages * add double tap on messages * better onStartReached logic * nit * add hit slop to the gesture * better gestures for press and hold * nits
* [🐴] Tweak list on mobile web (#3958)Hailey2024-05-151-1/+1
| | | | | | | | | | | | | * mobile web tweaks chat screen * revert a change * remove unnecessary prop * Spacing tweaks --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [🐴] Swap in new package, update usages (#3992)Eric Bailey2024-05-141-1/+1
| | | | | | | * Swap in new package, update usages * Remove uneccessary patch * Override type in safe place
* bump max width of message (#3955)Hailey2024-05-101-1/+1
|
* [🐴] Adjust press and hold delay on messages (#3918)Hailey2024-05-081-5/+7
| | | | | * adjust press and hold delay on messages * adjust hit slop
* [🐴] Improve message pressing (#3864)Samuel Newman2024-05-051-1/+2
| | | | | | | | | | | * allow tapping message when keyboard open * dismiss keyboard on open msg menu * show message info on press * Revert "show message info on press" This reverts commit 61d039a7024c27583aed7d1e9f1ff5b919dc7d30.
* [Clipclops] Message actions for native and web (#3807)Hailey2024-05-021-0/+82
* haptic on long press * add animation to press and hold * eslint disable for now * adjust styles * dont trigger if animation is cancelled * organize * add a delete menu * reset scale automatically * message actions dialog cleanup center the trigger handle focus/unfocus better make triggers accessible weg dropdown menu add a wep specific wrapper decrease press delay add report button improve shrink logic use `self_end` instead of `margin: auto` rm extra `?` move `MessageItem` to `components` add delete button * rm some padding * update after merge * fix merge * web only types * fix crash * add an explanation * fix web types --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>