Andy Balaam
3ad9a8fe3b
Revert "Add isLocation to ComposerEvent analytics events" ( #11190 )
...
This reverts commit 739a0c7afbcc6ab8fb0dd0ed0c5faba45a51259c.
2023-07-04 16:39:47 +00:00
Andy Balaam
54ffce9d20
Add isLocation to ComposerEvent analytics events ( #11187 )
2023-07-04 09:10:03 +00:00
Michael Telatynski
3ac9066e46
Only trap escape key for cancel reply if there is a reply ( #11140 )
...
fall through (to clear read marker) otherwise
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-06-28 10:10:45 +00:00
Michael Telatynski
280f6a9d93
Use MatrixClientPeg::safeGet in src/components/views/* ( #10987 )
2023-06-15 08:46:19 +01:00
Michael Telatynski
ba28174ac0
Prevent escape in threads from sending focus to main timeline composer ( #11061 )
2023-06-14 07:42:40 +00:00
Michael Telatynski
796ed35e75
Refactor SlashCommands to not use MatrixClientPeg ( #10905 )
2023-05-25 16:29:48 +01:00
许煜恒
8abe392294
Support `Insert from iPhone or iPad` in Safari ( #10851 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-05-25 12:00:15 +01:00
Michael Telatynski
30429df948
Eliminate the use of MatrixClientPeg in utils ( #10910 )
2023-05-23 16:24:12 +01:00
Michael Telatynski
6a3f59cc76
Make more of the codebase conform to strict types ( #10857 )
2023-05-16 14:25:43 +01:00
Michael Telatynski
08368860f4
Avoid calling prepareToEncrypt onKeyDown ( #10828 )
...
* Avoid calling prepareToEncrypt onKeyDown
* Iterate
2023-05-09 10:56:12 +00:00
Michael Telatynski
be5928cb64
Conform more of the codebase to strictNullChecks ( #10672 )
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Iterate
* Iterate
* Iterate
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Update record key
2023-04-21 11:50:42 +01:00
kenwuuu
dc4bb237d4
Replace hardcoded strings with MsgType constants ( #10604 )
...
* replace hardcoded strings with MsgType constants
* fix import and revert comments
Signed-off-by: Ken Wu kenqiwu@gmail.com
* fix import
Signed-off-by: Ken Wu kenqiwu@gmail.com
---------
Signed-off-by: Ken Wu kenqiwu@gmail.com
2023-04-17 09:37:29 +00:00
Patrick Cloke
e19127f8ad
Implement MSC3952: intentional mentions ( #9983 )
...
Implements the intentional mentions feature of MSC3952 (behind
a labs flag).
If enabled, this will send an org.matrix.msc3952.mentions property
on events that will contain the user IDs and/or whether the room is
being mentioned. These mentions also gets propagated via some
custom behaviour for replies and edits.
2023-03-23 11:47:40 +00:00
Andy Balaam
ba36d2cc01
Improve strictNullChecks support in right_panel ( #10415 )
2023-03-22 12:15:26 +00:00
Michael Telatynski
1c9ea423c9
Conform more code to `strictNullChecks` ( #10374 )
...
* Apply `strictNullChecks` to `src/components/views/room_settings/*`
* Restore tsconfig.json
* Conform more code to `strictNullChecks`
* Iterate
* Update matrix-widget-api
* Conform more code to `strictNullChecks`
2023-03-16 11:07:29 +00:00
Michael Telatynski
76b82b4b2b
Make more code conform to strict null checks ( #10219
...
* Make more code conform to strict null checks
* Fix types
* Fix tests
* Fix remaining test assertions
* Iterate PR
2023-02-24 15:28:40 +00:00
Germain
8c22584f64
Remove threads labs flag and the ability to disable threads ( #9878 )
2023-02-20 14:46:07 +00:00
Ashutosh Sharma
cf7ab9a8c6
Re-focus the composer on dialogue quit ( #10007 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-02-16 18:04:46 +00:00
Michael Telatynski
145a5a8a8d
Conform more code to strict null checking ( #10153 )
...
* Conform more code to strict null checking
* Conform more code to strict null checking
* Iterate
* Iterate
2023-02-15 13:36:22 +00:00
Michael Telatynski
da7aa4055e
Conform more of the code base to strict null checking ( #10147 )
...
* Conform more of the code base to strict null checking
* More strict fixes
* More strict work
* Fix missing optional type
* Iterate
2023-02-13 17:01:43 +00:00
Michael Telatynski
61a63e47f4
Comply with noImplicitAny ( #9940 )
...
* Stash noImplicitAny work
* Stash
* Fix imports
* Iterate
* Fix tests
* Delint
* Fix tests
2023-02-13 11:39:16 +00:00
Michael Telatynski
030b7e90bf
Enable `@typescript-eslint/explicit-function-return-type` in /src ( #9788 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
* Enable `@typescript-eslint/explicit-function-return-type` in /src
* Fix types
* tsc strict fixes
* Delint
* Fix test
* Fix bad merge
2023-01-12 13:25:14 +00:00
Germain
7ca1b385d9
Force enable threads labs flag
2023-01-09 12:38:19 +00:00
Michael Telatynski
f1e8e7f140
Enable `@typescript-eslint/explicit-member-accessibility` on /src ( #9785 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
2022-12-16 12:29:59 +00:00
Germain
2d2755d145
🧵 Enable threads by default ( #9736 )
...
* Delabs threads
* remove threads reload when labs is toggled
* Fix ts strict
* fix rebase mistake
* remove .only
* fix pr comments
* re-introduce backwards compat
* Fix export test
* Fix SearchREsultTile test
* strict ts
2022-12-13 15:09:15 +00:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Michael Telatynski
590b845f3f
Remove all usages of UNSAFE_* React methods ( #9583 )
2022-11-18 09:22:43 +00:00
Michael Weimann
8e719d57a2
Add voice broadcast recording body ( #9316 )
...
* Add voice broadcast recording body
* Change icon element; update css variables
* Update Icon-test snapshots
2022-09-26 15:29:38 +02:00
Michael Telatynski
a2c5a59b22
Fix replying using chat effect commands ( #9101 )
2022-07-27 11:03:25 +01:00
Michael Weimann
3be20cf434
Use doMaybeLocalRoomAction ( #9038 )
...
* Use doMaybeLocalRoomAction
* Revert unnecessary changes
2022-07-13 07:56:36 +02:00
Michael Telatynski
3f99f594de
Keep draft in composer when a slash command syntax errors ( #8811 )
2022-06-10 17:16:31 +01:00
Michael Telatynski
8036985204
Update matrix-analytics-events to @matrix-org/analytics-events ( #8778 )
...
* Update matrix-analytics-events to @matrix-org/analytics-events
* Update install-deps.sh
* Update layered.sh
* Update BeaconMarker-test.tsx.snap
* Update BeaconStatus-test.tsx.snap
2022-06-07 20:08:36 +01:00
Michael Telatynski
21d0aaf524
Use updates stable relations from js-sdk ( #8715 )
...
* Use updates stable relations from js-sdk
* Relations is now accessible on the Room instead
* Reuse more existing code and ditch confusing `isThreadRelation`
* Fix last usage of removed `isThreadRelation`
* Update tests to match removal of isThreadRelation
* Tweak method naming to closer match spec
* Fix missing method name change
2022-06-07 11:16:54 +01:00
Janne Mareike Koschinski
bca9caa98e
Settings toggle to disable Composer Markdown ( #8358 )
2022-04-19 14:53:59 +01:00
Travis Ralston
97efdf7094
Merge branch 'develop' into travis/remove-skinning
2022-03-31 19:25:43 -06:00
Michael Telatynski
17cfd45eb3
Fix explicit replies in threads ( #8210 )
2022-03-31 18:40:35 +01:00
Travis Ralston
997d6d40bf
Step 1: Remove all usage of `@replaceableComponent`
2022-03-28 14:02:31 -06:00
Michael Telatynski
dd53b226eb
Allow sending files as replies as per MSC3676 ( #8020 )
2022-03-21 12:03:59 +00:00
Kerry
da097d42ef
fix ts issues in SendMessageComposer-test ( #8077 )
...
* fix ts issues in SendMessageComposer-test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove empty file
Signed-off-by: Kerry Archibald <kerrya@element.io>
* better event type for m.room.message
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-18 10:07:33 +00:00
Germain
2acc8fd18b
Implement is_falling_back in accordance to MSC3440 ( #8055 )
2022-03-15 13:52:37 +00:00
Germain
21d3cb08a9
Switch to using stable values for threads ( #8019 )
2022-03-11 09:04:22 +00:00
Michael Telatynski
288e47fd81
Update m.render_in to is_falling_back (+ unstable field) ( #7979 )
2022-03-09 16:15:53 +00:00
Andy Balaam
a792097d02
Keyboard shortcut to open the sticker picker ( #7985 )
2022-03-08 15:05:36 +00:00
Michael Telatynski
75e41b4c1c
Basic threads analytics into Posthog MVP ( #7871 )
2022-02-28 14:11:14 +00:00
Michael Telatynski
8fccef86d8
Wire up drag-drop file uploads for the thread view ( #7860 )
2022-02-22 11:14:56 +00:00
Michael Telatynski
8d4e83084c
Remove Countly analytics integration ( #7808 )
2022-02-15 16:58:30 +00:00
Michael Telatynski
401e5127f4
Don't scroll to bottom when executing non-message slash commands ( #7793 )
2022-02-14 23:36:06 +00:00
Michael Telatynski
999e1b7421
Wire up bunch of interaction events into Posthog ( #7707 )
2022-02-09 14:42:08 +00:00
Šimon Brandner
a17d585a12
Work towards unifying `KeyboardShortcuts` and `KeyBindingsDefaults` #2 ( #7674 )
2022-01-31 15:55:45 +00:00
Michael Telatynski
88cd2f8af7
Fix unfocused paste handling and focus return for file uploads ( #7625 )
2022-01-26 09:04:19 +00:00