about summary refs log tree commit diff
path: root/src/screens/Messages/Conversation/MessageInput.web.tsx
Commit message (Collapse)AuthorAgeFilesLines
* [🐴] Option to share via chat in post dropdown (#4231)Samuel Newman2024-05-311-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [🐴] send record via link in text (Record DMs - base PR) (#4227)Samuel Newman2024-05-311-1/+1
| | | | | * send record via link in text * re-trim text after removing link
* [🐴] Don't submit the message on return press when on a phone (web input) ↵Hailey2024-05-231-3/+7
| | | | | | | | | | | | | | | (#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
* [🐴] Fix Firefox send button positioning (#4201)Hailey2024-05-231-2/+4
| | | | | | | | | | | | | | | * use `align_center` * revert * account for firefox textarea size differences set to `38` remove some extra stuff equal height on all platforms * use atom
* Decrease thickness of border on message input (#4196)Hailey2024-05-231-1/+1
|
* implement a safari hack for ime (#4186)Hailey2024-05-231-0/+20
| | | | | | | | | remove debug logs use a better hack implement a safari hack extract `isSafari` and `isFirefox` to a global variable
* [🐴] Support Japanese (et al.) IME in message input on web (#4159)Hailey2024-05-211-1/+10
| | | | | | | * support japanese et al. IME * update comment * nit
* [🐴] 🤞 This should be the final message list change - Use ↵Hailey2024-05-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `dispatchCommand` so we don't need to know the content height (#4090) * handle keyboard scroll more elegantly simplify missing `runOnUI` better naming to avoid confusion nit remove unused function use `dispatchCommand` in `onContentSizeChanged` as well use `dispatchCommand` so we don't need to know the content height remove `isMomentumScrolling` * better timing * nit * another nit * handle message input resizes better too * account for other size changes like emoji keyboard opening * one last nit * just adding comments * account for dragging * make it easier to read * add a comment * 🤦‍♀️ * remove a little bit of that padding at the top
* [🐴] Input hover and focus styles (#4064)Hailey2024-05-161-5/+21
| | | | | | | * styles for native input * web focus/hover * nit
* [🐴] Tweak padding of web input (#4033)Hailey2024-05-161-3/+8
| | | | | * tweak more * nit
* [🐴] Message drafts (#3993)Samuel Newman2024-05-141-2/+10
| | | | | | | | | | | * drafts * don't throw if no convo ID * Remove labs package --------- Co-authored-by: Eric Bailey <git@esb.lol>
* dont send message if >1000 graphemes (#3995)Samuel Newman2024-05-131-1/+8
|
* Clipclop tweaks (#3851)Hailey2024-05-031-1/+1
| | | | | | | * scroll on input resize * add back the padding 🙊 * fix timestamps
* [Clipclops] Refactor message list (#3832)Hailey2024-05-031-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | * rework the list for accessibility * Reverse reverse * progress * good to start testing * memo `MessageItem` * small hack * use our custom `List` impl * use `ScrollProvider` for `onScroll` event * remove use of `runOnJS` * actually, let's keep it * add some comments --------- Co-authored-by: Eric Bailey <git@esb.lol>
* visually align icon (#3831)Samuel Newman2024-05-031-1/+1
|
* [Clipclops] Minor web tweaks (#3822)Samuel Newman2024-05-021-1/+4
| | | | | * add a11y + onPress to web send button * only adjust leading on web, due to overflow issue
* [Clipclop] Input polish (#3819)Samuel Newman2024-05-021-39/+40
| | | | | * tweak input styles + add min-shell mode * android tweaks + hitslop
* [Clipclops] Replace 🐴 with real icon (#3802)Samuel Newman2024-05-011-2/+2
| | | | | * replace 🐴 with paper plane icon * replace envelope with plus
* [Clipclops] Dynamic input height (#3778)Hailey2024-05-011-0/+91
* input max height/scrollability * remove unused imports * add a web-specific version * enter and shift enter for web * missing onSubmit for native * missing attributes * improve layout of input on web * use the correct text color in the input * trim messages * remove `onSubmit` * move prop up * trim message on web * remove extra function call --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>