Commit Graph

40 Commits

Author SHA1 Message Date
Fedor Indutny 698c7a7739
Fix click handling for stories 2022-09-27 13:24:21 -07:00
Jamie Kyle 0086216c9d
Add eqeqeq rule but require == for null 2022-09-14 14:40:44 -07:00
jamiebuilds-signal 5a8f484a03
Enable brace-style eslint rules 2022-09-13 14:48:09 -07:00
Alvaro 134265496b
Fixed positioning of emoji popper - avoids range error 2022-09-09 11:15:28 -07:00
Evan Hahn aa86d8bf82
Lint .d.ts files 2022-09-06 13:51:34 -07:00
Alvaro bb9a7113f1
Made the emoji autocomplete aligned with the :word 2022-08-18 09:02:13 -06:00
Fedor Indutny 9568d5792e
Allow adding to a group by phone number 2022-04-04 17:38:22 -07:00
Scott Nonnenberg 5774fdef9f
getTextAndMentionsFromOps: Trim start of first op if it's a string 2022-03-09 11:27:49 -08:00
Evan Hahn e4b4a0cd1e
Clean up `Element#scrollIntoViewIfNeeded` type 2022-02-25 15:35:53 -08:00
Evan Hahn 4dd9232c36
Add badges to @-mentions picker 2021-11-17 19:38:52 +01:00
Evan Hahn ede34ecee3
Enable `noImplicitOverride` TypeScript compiler option 2021-11-12 15:44:20 -08:00
Evan Hahn 5619eeca83
Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
Scott Nonnenberg 52ceb40d16
Don't show emoji chooser unless entered search text is 3+ characters 2021-11-11 16:59:18 +01:00
Evan Hahn 74fde10ff5
Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
Josh Perez b32d068e83
Affordances for really tall messages 2021-10-20 15:46:42 -05:00
Quentin Hibon 756af78d57 Make emoji text matching case-insensitive
See [#5186][5186].

[5186]: https://github.com/signalapp/Signal-Desktop/pull/5186
2021-09-17 11:21:33 -05:00
Fedor Indutny 0cb340fd1e
Set `contenteditable` earlier in mentions blot 2021-09-01 15:42:12 -05:00
Evan Hahn ed83061651
Improve @mentions tokenization 2021-08-17 13:55:25 -05:00
Evan Hahn 3b476fb60d
Fix tooltip placement bugs by upgrading Popper 2021-08-03 12:04:49 -05:00
Evan Hahn d28678dbf9
Make it more difficult to blur avatars 2021-05-07 17:21:10 -05:00
Fedor Indutny c4dc3f3bcb Make mention blot non-contenteditable 2021-03-19 16:53:51 -04:00
Jacob Pyke d93e66813d
Updated emoji completion to allow capital letters
Signed-off-by: JPyke3 <pyke.jacob1@gmail.com>
2021-02-04 14:40:26 -08:00
Evan Hahn 8a72607fa7 Prefer `type` to `interface` and add an ESLint rule 2021-01-25 18:29:00 -08:00
Josh Perez 7543d8b60d
Ensures emoji index does not exceed bounds on results change 2021-01-07 13:39:17 -08:00
Scott Nonnenberg 26884432a2 Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
Chris Svenningsen 24b70e6edd
CompositionInput: Proper RTL support 2020-11-20 16:03:16 -08:00
Sidney Keese 4d09b71972
Composition: Only try to convert html from text/signal 2020-11-19 09:38:25 -08:00
Sidney Keese 34be0744d2
Trim the whole of a message's text
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
2020-11-13 11:54:11 -08:00
Sidney Keese 7af2284c6b
Composition area: Only paste HTML that originated in Signal
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
2020-11-11 17:01:45 -08:00
Chris Svenningsen 98da8746e8
Trim trailing newlines from outgoing messages 2020-11-11 14:56:20 -08:00
Chris Svenningsen fef8c5b2f1
Ensure emoji completion always takes effect 2020-11-11 14:54:23 -08:00
Sidney Keese 5c810c65cc
Fix mention blot to enable native keyboard navigation
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
2020-11-10 09:51:24 -08:00
Sidney Keese 91beef7797
Improve emoji blot and override clipboard behavior 2020-11-06 12:11:18 -08:00
Chris Svenningsen fe298444fb
Bring up picker on backspace into mention 2020-11-05 13:18:42 -08:00
Chris Svenningsen 4def45b86a
Remove fuzzy @mention search 2020-11-04 14:04:48 -08:00
Chris Svenningsen 158ed4e455 Fix several composer bugs 2020-11-04 13:03:13 -06:00
Chris Svenningsen 53c89aa40f Send @mentions 2020-11-04 13:03:13 -06:00
Evan Hahn 8bfaf598af Add license headers across the project 2020-11-04 13:03:13 -06:00
Chris Svenningsen 6a026c6439 Fix emoji completion; don't show when typing times
* Do not pop picker in timestamps
* Fix timestamp triggering emoji picker

Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-11-04 13:00:41 -06:00
Sidney Keese fbf93374c1 Replace Draft with Quill for composition area
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-11-04 13:00:40 -06:00