Matthew Hodgson
684b0617ae
Support sharing custom locations. ( #7185 )
...
Add the ability to click on the map to share a specific named location.
2021-12-06 10:13:06 +00:00
Matthew Hodgson
1262021417
Simple static location sharing ( #7135 )
...
Adds maplibre as a dependency, and behind a labs flag, lets users send and receive [MSC3488](https://github.com/matrix-org/matrix-doc/blob/matthew/location/proposals/3488-location.md ) style location shares - with backwards compatibility with old school `m.location` `msgtype` location shares too.
For this to work, you have to define a valid maptile server and API in your config.json's `map_style_url`.
2021-12-06 09:45:12 +00:00
Andy Balaam
494af883f3
Hide votes in a poll until you voted ( #7269 )
2021-12-03 10:26:28 +00:00
Andy Balaam
141950d9e6
Ensure my votes from a different device show up ( #7233 )
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-12-02 17:12:18 +00:00
Michael Telatynski
fe24c8ad2a
Improve ThreadPanel ctx menu accessibility ( #7217 )
2021-11-29 17:42:53 +00:00
Timo
8860916225
Fix size of portrait images with the SIZE_NORMAL setting. ( #7188 )
2021-11-29 15:01:54 +01:00
Andy Balaam
1c6703356d
Highlight my vote even if it was made on another device ( #7202 )
2021-11-26 09:24:34 +00:00
Renan Cleyson
ae0dba4e87
Add view_room
to Action
enum ( #7203 )
...
* Add ViewRoom action to Action enum
Signed-off-by: Renan <renancleyson.f@gmail.com>
* Change view_room occurrences to Action.ViewRoom
Signed-off-by: Renan <renancleyson.f@gmail.com>
* Add missing Action import
2021-11-25 21:49:43 +01:00
Andy Balaam
965539da2d
Show an error dialog if poll creation or voting fails ( #7201 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-11-25 17:00:13 +00:00
Timo
a0e8c29d85
Make image size constrained by height when using the ImageSize.Large option ( #7171 )
2021-11-24 15:32:47 +01:00
Andy Balaam
359962af6c
Prevent text overlapping on poll options ( #7187 )
2021-11-23 11:16:31 +00:00
Andy Balaam
d705fdd6e4
Display and send votes in polls ( #7158 )
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-11-23 10:27:44 +00:00
Germain
925136d016
Disallow KeyVerificationRequest as thread root ( #7182 )
2021-11-22 17:17:05 +00:00
Germain
7658187186
Fix composer focus after pasting ( #7181 )
2021-11-22 17:09:16 +00:00
Germain
e4d645e360
Hide MFileBody download link for threaded messages ( #7127 )
...
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-11-19 09:07:12 +00:00
Travis Ralston
3c06e7f7a0
Add option to change the size of images/videos in the timeline ( #7017 )
...
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
Co-authored-by: Timo K <toger5@hotmail.de>
2021-11-17 15:19:30 +00:00
Germain
1de9630e44
Fixes following threads design implementation review ( #7100 )
2021-11-11 11:00:18 +00:00
Andy Balaam
431b69ee49
Display started polls in timeline (without votes) (behind labs setting) ( #7088 )
...
* Display started polls in timeline (without votes)
* Update i18n info
* Keep original background colour of poll options, even on hover
* Show full avatar above a poll message
2021-11-10 15:44:57 +00:00
Šimon Brandner
f08c0b3592
Remove sdk.getComponent()
where possible ( #7091 )
2021-11-08 10:27:52 +00:00
Germain
bd2f4b6c93
Fix thread switching sometimes stuck ( #7079 )
2021-11-03 18:17:05 +00:00
Germain
2a20d9a7df
Display relative time in thread panel event tile ( #7068 )
...
* Null-guard for missing root event in thread panel
* Add formatRelativeTime date utility
* Display relative time format in thread panel event tiles
2021-11-03 10:16:50 +00:00
Nolan Darilek
ea54ea89d4
Make message separator more accessible. ( #7056 )
2021-10-29 15:20:10 +00:00
Šimon Brandner
c3ad8b4eed
Cleanup re-dispatching around timelines and composers ( #7023 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-10-25 11:43:54 +00:00
David Baker
01c4d3eede
Fix conflicting CSS on syntax highlighted blocks ( #6991 )
...
Fixes https://github.com/vector-im/element-web/issues/19445
2021-10-19 18:43:29 +01:00
Germain
694ec946e2
Allow quote-reply in thread view element-web ( #6959 )
2021-10-19 16:05:34 +01:00
David Baker
98ba3fd6e6
Merge pull request #6973 from matrix-org/dbkr/upgrade_highlightjs
...
Upgrade highlight.js
2021-10-18 19:52:34 +01:00
David Baker
2b7ea16c2d
Upgrade highlight.js
...
Major version bump for highlight.js. Update usage of deprecated function & some cleanups.
2021-10-18 19:32:20 +01:00
Germain
77e6e1c0ab
Merge pull request #6960 from matrix-org/gsouquet/rename-replythread
2021-10-18 17:11:31 +01:00
Dariusz Niemczyk
5290afcc4c
Replace console.warn with logger.warn
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-18 14:08:23 +02:00
Dariusz Niemczyk
5e73a212f4
Replace console.error with logger.error
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-18 14:08:23 +02:00
Germain Souquet
5a7c0d87b6
Rename ReplyThread to ReplyChain to avoid confusion with m.thread
2021-10-15 17:42:44 +01:00
Aaron Raimist
8cdb1c667d
Fix tooltip when downloading unencrypted file
2021-10-15 05:23:59 -05:00
Dariusz Niemczyk
414b20f17e
Make thread button always visible ( #6903 )
...
Fix https://github.com/vector-im/element-web/issues/18956
2021-10-11 10:26:05 +01:00
Dariusz Niemczyk
1331e960fa
Add ability to properly edit messages in Threads. ( #6877 )
...
* Fix infinite rerender loop when editing message
* Refactor "edit_event" to Action.EditEvent
* Make up-arrow edit working in Threads
* Properly handle timeline events edit state
* Properly traverse messages to be edited
* Add MatrixClientContextHOC
* Refactor RoomContext to use AppRenderingContext
* Typescriptify test
Co-authored-by: Germain <germains@element.io>
2021-10-01 15:35:54 +02:00
Jaiwanth
208b914cb0
Merge branch 'develop' into export-conversations
2021-09-29 19:32:05 +05:30
Germain Souquet
c1165830ed
Create rendering context enum for MessageActionBar
2021-09-28 14:55:00 +01:00
Germain Souquet
160bf8e21f
Fix missing prop
2021-09-28 11:06:06 +01:00
Germain Souquet
e52a33e93c
Merge branch 'develop' into gsouquet/threads-action-bar-19127
2021-09-28 09:34:43 +01:00
Dariusz Niemczyk
0cfa2a58c7
Add ability to expand and collapse long quoted messages ( #6701 )
...
In case where we had a very long message the experience of going between
messages to see the full quote isn't very nice on desktop, therefore this commit
adds a button with additional hotkey to normalize the experience a bit.
Fixes https://github.com/vector-im/element-web/issues/18884
2021-09-27 12:20:37 +02:00
Šimon Brandner
0cba943f96
Fix types
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 10:35:33 +02:00
Šimon Brandner
2712dde581
Remove empty line
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 10:28:07 +02:00
Šimon Brandner
dd92f8f1f9
Move imports
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 10:21:46 +02:00
Šimon Brandner
a1d5e7ba66
Add return type
...
Co-authored-by: Germain <germain@souquet.com>
2021-09-27 10:12:55 +02:00
Šimon Brandner
6aa5d98741
Remove constructor
...
Co-authored-by: Germain <germain@souquet.com>
2021-09-27 10:12:45 +02:00
Šimon Brandner
fb5c18caa0
Convert MKeyVerificationConclusion to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 14:51:46 +02:00
Šimon Brandner
c287d15fa0
Convert RoomCreate to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 13:42:29 +02:00
Šimon Brandner
421fa1ab69
Convert RoomAvatarEvent to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 13:42:28 +02:00
Šimon Brandner
ff1c1fbc78
Convert MjolnirBody to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 13:08:05 +02:00
Šimon Brandner
bee85a0bcd
Convert EditHistoryMessage to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 13:08:04 +02:00
Germain Souquet
8348add67f
Add MessageActionBar to ThreadView
2021-09-24 14:19:11 +01:00