about summary refs log tree commit diff
path: root/src/components/dms/MessageMenu.tsx
Commit message (Collapse)AuthorAgeFilesLines
* New `ContextMenu` menu type for DM messages (#8014)Samuel Newman2025-03-211-161/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Add context for toast messages (#7902)Minseo Lee2025-03-061-1/+3
| | | | | * add context for toast * add
* Post-report menu (#7446)Samuel Newman2025-01-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * post-report block/delete dialog * fix * default checked * web styles * add icon to send button * wire everything up * optimisically leave convo * hide pending-leave convos * Capitalize action labels * Code style --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* use IAB for translate (#6421)Samuel Newman2024-11-161-1/+1
|
* Present in-app browser as sheet (#5718)Samuel Newman2024-10-111-1/+1
| | | | | | | * use page sheet presentation * move to its own file rather than sitting in prefs * whoops, missed one
* [Sheets] [Pt. 1] Root PR (#5557)Hailey2024-10-041-5/+5
| | | | | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: dan <dan.abramov@gmail.com> Co-authored-by: Hailey <me@haileyok.com>
* Use appropriate icons for toasts (#4803)Samuel Newman2024-07-231-1/+1
| | | | | | | | | | | | | * use appropriate icons for toasts * use info for session expiry * tweak size * message -> safeMessage --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [🐴] Record message (#4230)Samuel Newman2024-05-311-11/+36
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* Make generic convo report dialog (#4085)Eric Bailey2024-05-171-2/+5
|
* Fix delete message error (#4065)Eric Bailey2024-05-161-14/+2
|
* [🐴] Copy tweaks (#4042)Hailey2024-05-161-1/+1
| | | | | | | | | * `notifications` -> `conversation` * `users` -> `people` * `other participants` -> `the other participant` * rename
* [🐴] Tweak list on mobile web (#3958)Hailey2024-05-151-1/+0
| | | | | | | | | | | | | * mobile web tweaks chat screen * revert a change * remove unnecessary prop * Spacing tweaks --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [🐴] Make status checks easier, fix load state (#4010)Eric Bailey2024-05-141-5/+2
| | | | | | | | | * Make status checks easier, fix load state * Make naming more clear * Split up types for easier re-use * Replace hacky usage
* [🐴] Swap in new package, update usages (#3992)Eric Bailey2024-05-141-2/+1
| | | | | | | * Swap in new package, update usages * Remove uneccessary patch * Override type in safe place
* [🐴] Report message dialog (#3941)Samuel Newman2024-05-101-9/+16
| | | | | | | | | | | | | | | * message report dialog * report chat prompt * typo * 100% height sheet on android * messages-specific report options * restore unwanted sexual content * chat -> conversation
* [🐴] Add hover context menu for convo list on web (#3923)Hailey2024-05-091-4/+3
| | | | | | | | | | | | | | | | | | | | | * remove some unnecessary props * add hover trigger on web for convo list * lint * use `UserAvatar` to not affect accessibility * remove extra wrapper * add `label` * always show on mobile * adjust size of dots * make the message trigger dots the same size * ❓
* [🐴] Reorg convo files (#3909)Eric Bailey2024-05-071-6/+6
| | | | | * Remove unused prop * Reorganize
* [Clipclops] Delete message in dialog (#3849)Hailey2024-05-051-3/+24
| | | | | | | | | | | | | * delete and copy * add retry dialog if message send fails * add layout animation * fix `nextMessage` being incorrect --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Assorted clipclop fixes (#3853)Samuel Newman2024-05-041-2/+23
| | | | | | | | | | | | | | | * empty state for new chat dialog * use terniary * dark mode pending state * copy message text option * fix service url input (scrollview ftw) * whoops, fix equality * slightly reduce horizontal message padding
* [Clipclops] Message actions for native and web (#3807)Hailey2024-05-021-0/+99
* 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>