Michael Telatynski
99ac9e5029
Ensure tooltip contents is linked via aria to the target element ( #10729 )
...
* Ensure tooltip contents is linked via aria to the target element
* Iterate
* Fix tests
* Fix tests
* Update snapshot
* Fix missing aria labels for more tooltips
* Iterate
* Update snapshots
2023-05-05 08:26:11 +00:00
Michael Telatynski
457c1d011a
Add UIFeature.locationSharing to hide location sharing ( #10727 )
...
* Add UIFeature.locationSharing to hide location sharing
* Iterate
2023-04-28 07:46:33 +00:00
Michael Telatynski
605ef084ec
Conform more of the codebase to strictNullChecks
( #10573 )
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
2023-04-13 08:52:57 +01:00
Michael Telatynski
e5a314617a
Conform more of the codebase to strictNullChecks ( #10505
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Iterate
* Iterate
* Iterate
2023-04-05 09:02:40 +01:00
Andy Balaam
ba36d2cc01
Improve strictNullChecks support in right_panel ( #10415 )
2023-03-22 12:15:26 +00:00
Kerry
209b65243a
Enable "jsx-a11y/alt-text" and "jsx-a11y/label-has-associated-control" lint rules ( #10361 )
...
* enable "jsx-a11y/alt-text" lint rule
* enable "jsx-a11y/label-has-associated-control"
2023-03-14 21:25:11 +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
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
Florian Duros
2b66cfc25f
Open message in editing mode when keyboard up is pressed (RTE) ( #10079 )
...
Move to previous message when arrow up is pressed in the main composer (RTE)
2023-02-03 17:43:02 +01:00
Florian Duros
1da78fa6bc
Fix RTE focus behaviour in threads
2023-01-23 15:41:01 +01:00
Florian Duros
075df4d1b3
Call Action.ClearAndFocusSendMessageComposer before sending a message
2023-01-20 10:42:25 +01:00
Florian Duros
dacbf76227
Disable multiple messages when {enter} is pressed multiple times ( #9929 )
2023-01-18 13:20:49 +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
Michael Weimann
4627456837
Prevent starting a voice message while recording a broadcast ( #9844 )
2023-01-10 15:51:20 +01:00
alunturner
432ce3ca31
Improve switching between rich and plain editing modes ( #9776 )
...
* allows switching between modes that retains formatting
* updates rich text composer dependency to 0.13.0 (@matrix-org/matrix-wysiwyg)
* improves handling of enter keypresses when ctrlEnterTosend setting is true in plain text editor
* changes the message event content when using the new editor
* adds tests for the changes to the plain text editor
2023-01-04 12:57:09 +00:00
Michael Weimann
5912c7a637
Replace broadcast instance with SDKContext ( #9824 )
2022-12-27 08:39:26 +01:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Michael Telatynski
d258402186
Typescript updates ( #9658 )
...
* Typescript updates
* Update @types/node
* Fix more types
2022-11-30 11:32:56 +00:00
Michael Weimann
459df4583e
Fix start voice broadcast recording while listening ( #9630 )
2022-11-30 11:16:22 +01:00
Florian Duros
7c63d52500
Add placeholder for rich text editor ( #9613 )
...
* Add placeholder for rich text editor
2022-11-24 10:31:56 +00:00
Michael Weimann
abec724387
Add voice broadcast pre-recoding PiP ( #9548 )
2022-11-10 09:38:48 +01:00
Florian Duros
5ca9accce2
Improve design of the rich text editor ( #9533 )
...
New design for rich text composer
2022-11-04 15:36:50 +00:00
Florian Duros
928a23e9d0
Fix switching bug and br tag in firefox
2022-10-26 18:18:34 +02:00
Florian Duros
bdaa1acf59
Invert composer mode icon
2022-10-26 10:42:18 +02:00
Florian Duros
c7dbb5947f
Keep content when switching between rich text and plain text mode
2022-10-25 18:33:25 +02:00
Florian Duros
50279c8870
Add basic plain text editor
2022-10-25 17:26:14 +02:00
Florian Duros
fda4dabf6d
Fix MessageComposer test
2022-10-24 15:03:18 +02:00
Florian Duros
c9bf7da629
Fix send message on enter
2022-10-21 10:35:54 +02:00
Florian Duros
4d089dcc05
Merge remote-tracking branch 'origin/develop' into feat/add-message-edition-wysiwyg-composer
2022-10-21 10:15:46 +02:00
Germain
be281fd735
Fix threads fallback incorrectly targets root event ( #9229 )
...
* Use RelationType enum instead of hardcoded value
* Fix threads replies fallback to target last reply
* Only unsubscribe from threads events if needed
* fix strict null check
* fix strict null checks
* strict null checks
* fix typing
* Unsubscribe listeners if new thread is `null`
Co-authored-by: Faye Duxovni <fayed@element.io>
* Update strict null checks
* Type HTMLElement as nullable
* Add thread fallback integration test
* lint fix
* Update snapshots
* Add test after changing thread
* Remove test comment
* update snapshot
* fix room context test utility
* Add ThreadListContextMenu test
* lint fix
* fix thread rendering
Co-authored-by: Faye Duxovni <fayed@element.io>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-10-20 12:48:25 +01:00
Florian Duros
e9b285c5e0
Cleaning files
2022-10-19 19:44:49 +02:00
Florian Duros
e77f333fb6
Merge remote-tracking branch 'origin/develop' into feat/add-message-edition-wysiwyg-composer
2022-10-19 16:34:22 +02:00
Michael Weimann
bb0c175b7e
Display info dialogs if unable to start voice broadcasts ( #9453 )
2022-10-19 15:01:14 +02:00
Florian Duros
460f60e99d
First attempt to make the edition works in the WysiwygComposer
2022-10-19 12:45:51 +02:00
Florian Duros
01858354f8
Add formatting buttons for WysisygComposer
2022-10-13 12:20:31 +02:00
Florian Duros
1d820cf837
Remove console, unused variables...
2022-10-05 14:59:02 +02:00
Florian Duros
bfb1638ff3
Add wysisyg composer (can only send message, enable behind a labs flag)
2022-10-05 12:01:41 +02:00
Michael Weimann
d775e403c4
Add voice broadcast recording stores ( #9319 )
...
* Add voice broadcast recording stores
* Refactor startNewVoiceBroadcastRecording
2022-09-28 10:22:50 +02: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 Weimann
c182c1c706
Generalise VoiceRecording ( #9304 )
2022-09-21 18:46:28 +02:00
Michael Weimann
0cc4f4e1bc
Add voice broadcast permissions ( #9284 )
...
* Add Voice Broadcast labs setting and composer button
* Implement strict typing
* Extend MessageComposer-test
* Extend tests
* Revert some strict type fixex
* Implement voice broadcast permissions
* Update variable casing
2022-09-19 06:42:29 +00:00
Michael Weimann
a0c35d088a
Add Voice Broadcast labs setting and composer button ( #9279 )
...
* Add Voice Broadcast labs setting and composer button
* Implement strict typing
* Extend MessageComposer-test
* Extend tests
* Revert some strict type fixex
* Convert FEATURES to enum; change case
* Use fake timers in MessageComposer-test
2022-09-16 09:10:33 +00:00
grimhilt
6d03cb35b7
Fix voice messages with multiple composers ( #9208 )
...
* Allow having multiple voice messages in composers
Co-authored-by: grimhilt <grimhilt@users.noreply.github.com>
Co-authored-by: Janne Mareike Koschinski <janne@kuschku.de>
2022-09-05 12:04:37 +02:00
Michael Weimann
964d538db9
Hide sticker picker for local rooms ( #9174 )
...
* Disable stickers for local rooms
* Use prop
2022-08-11 17:51:24 +02:00
Šimon Brandner
60696d78ca
Support for sending voice messages as replies and in threads ( #9097 )
...
* Support for sending voice messages as replies and in threads
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-07-26 10:38:05 +02:00
Michael Telatynski
e7a8dbd04c
Revert recent composer changes ( #8840 )
...
* Revert "Prevent new composer from overflowing from non-breakable text (#8829 )"
This reverts commit 57dff8131c
.
* Revert "Fix scroll jump issue with the composer (#8791 )"
This reverts commit 5167521ea4
.
* Revert "Fix scroll jump issue with the composer (#8788 )"
This reverts commit f568a76dc6
.
* Revert "Revert link color change in composer (#8784 )"
This reverts commit aedbeb2995
.
* Revert "Improve composer visiblity (#8578 )"
This reverts commit f14374a51c
.
2022-06-27 09:43:58 +01:00
Suguru Hirahara
4b2a922e2e
Remove mx_GroupLayout ( #8876 )
2022-06-25 13:51:07 +02:00
Germain
aedbeb2995
Revert link color change in composer ( #8784 )
2022-06-08 09:11:14 +00:00
Germain
f14374a51c
Improve composer visiblity ( #8578 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-06-07 07:28:29 +00:00