Commit graph

77 commits

Author SHA1 Message Date
Scott Nonnenberg
2532e8902a
CompositionArea: On paste, create emoji Op only if we have data 2023-08-28 18:31:24 +02:00
Fedor Indutny
3e7e8328f7 Fix aci value in mentions 2023-08-21 09:30:33 -07:00
Fedor Indutny
8b0da36caa Migrate schema to service ids 2023-08-21 09:30:33 -07:00
Scott Nonnenberg
ed6ffb695a Show mentions menu after pressing @, no further characters required 2023-08-21 09:30:32 -07:00
Scott Nonnenberg
c2ad69951f Eliminate extra newlines when pasting composer text back into composer 2023-08-21 09:30:32 -07:00
Fedor Indutny
366b875fd2 Introduce Service Id Types
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2023-08-21 09:30:32 -07:00
Scott Nonnenberg
e3ffc70389
Apply existing formatting to pasted content, preserve whitespace 2023-08-04 09:29:47 -07:00
Scott Nonnenberg
f597f15faf
Formatting menu: Show popup guide faster, fade in/out 2023-08-04 09:25:52 -07:00
Scott Nonnenberg
3f399b1329 getStringFromNode: Add parent/nextSibling for fewer newlines 2023-07-19 16:21:31 -07:00
Josh Perez
0b885d5feb
Update mentions regex to cover diacritics 2023-07-10 19:36:35 +02:00
Josh Perez
d2b06413f3
Removes diacritics from @mentions 2023-06-14 14:24:34 -07:00
Scott Nonnenberg
adc0fb9d0d
isNewlineOnlyOp: Fix regular expression to handle inconsistent deltas 2023-06-12 12:22:56 -07:00
Scott Nonnenberg
6e1916030d
Formatting: Expand exceptions to multi-newline ops, multiple ops 2023-06-08 14:50:44 -07:00
Scott Nonnenberg
adc8513f41
Implement cut/copy correctly for input/textarea elements 2023-06-06 12:06:58 -07:00
Scott Nonnenberg
9c325ea724
Fix cut/copy and paste from composer 2023-05-31 11:10:02 -07:00
Scott Nonnenberg
cc233fb980
Support clipboards with text/plain as well as file contents 2023-05-26 15:07:32 -07:00
Scott Nonnenberg
a31cf5645e
Better handling of formatting in pasted text 2023-05-23 15:00:05 -07:00
Scott Nonnenberg
afae6bc267
CompositionInput: Properly set cursor right after pasted data 2023-05-22 13:31:36 -07:00
Scott Nonnenberg
4404429ec2
Fix paste of images when focus is in the composer 2023-05-18 12:53:36 -07:00
Scott Nonnenberg
f42192fb5a
Improve paste handling of formatted data 2023-05-17 09:58:32 -07:00
Scott Nonnenberg
1c4213465b
Better handle multiline formatting 2023-05-12 13:48:14 -07:00
Scott Nonnenberg
995b207b48
Better handle newlines in content pasted into composer 2023-05-11 12:48:34 -07:00
Scott Nonnenberg
65be832569
Don't show formatting menu if formatting flag is disabled 2023-05-11 10:02:36 -07:00
Scott Nonnenberg
2177a79080
Formatting: A few more changes 2023-05-09 18:23:56 -07:00
Scott Nonnenberg
b4caf67bf9
Allow copy/paste of formatting and mentions 2023-05-09 17:40:19 -07:00
Jamie Kyle
0e490542a7
RTL 2023-04-20 10:03:43 -07:00
Scott Nonnenberg
5395741f11
Several text formatting fixes 2023-04-17 18:16:41 -07:00
Scott Nonnenberg
9bfbee464b
Support for sending formatting messages 2023-04-14 11:16:28 -07:00
Scott Nonnenberg
d9d820e72a
Support for receiving formatted messages
Co-authored-by: Alvaro Carrasco <alvaro@signal.org>
2023-04-10 09:31:45 -07:00
lamemakes
038f676b93 Added falsy check for ops 2023-03-06 12:10:22 -05:00
lamemakes
909daa4dc2 Fixed empty copying overwriting clipboard 2023-03-03 09:16:59 -05:00
Jamie Kyle
3705b959d6
Remove end year from licenses 2023-01-03 11:55:46 -08:00
Fedor Indutny
dec23725e5
Use ReadonlyArrays in conversation model and redux 2022-12-21 16:07:02 -08:00
Alvaro
3a246656e3
Narrowed down avatar sizes 2022-12-09 13:37:45 -07:00
Fedor Indutny
be6e988a95
Hydrate body ranges for story replies 2022-11-09 20:59:36 -08:00
Alvaro
0aa9351d4f
Exact prefix for 2-char emoji search, search short_names 2022-10-17 09:54:46 -07:00
Fedor Indutny
f64426fbe0
Fix outside click in story replies 2022-09-29 13:13:45 -07:00
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