Timo
325e2ba99b
Right panel store refactor ( #7313 )
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-05 16:14:44 +01:00
Kerry
846fbfa2a0
Add jsx-a11y eslint plugin ( #7434 )
...
* add matrix-org a11y eslint plgin
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add eslint a11y, enable and fix anchor-has-content rule
Signed-off-by: Kerry Archibald <kerrya@element.io>
* enable and fix jsx-a11y/no-redundant-roles
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove debug
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use jsx-a11y via matrix-org-eslint
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-03 18:51:58 +01:00
Michael Telatynski
097c40b577
Disable quick reactions button when no permissions ( #7412 )
2021-12-23 12:01:40 +00:00
Andy Balaam
a239c456e3
Allow opening a map view in OpenStreetMap ( #7428 )
2021-12-21 15:48:20 +00:00
Andy Balaam
70dc03552c
Display the user's avatar when they shared their location ( #7424 )
2021-12-21 15:19:27 +00:00
Kerry
61e3c38b19
Add configuration to disable relative date markers in timeline ( #7405 )
...
* add disabler elative dates setting
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test existing DateSeparator
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use full date format when TimelineDisableRelativeDates is truthy
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
* flip timelineDisableRelativeDates -> timelineEnableRelativeDates to fit convention
Signed-off-by: Kerry Archibald <kerrya@element.io>
* mock date constructor in test
Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-21 10:08:22 +01:00
Andy Balaam
670d7824ec
Tidy location code ( #7402 )
2021-12-17 12:26:02 +00:00
Andy Balaam
144e4c61fc
Avoid NaNs in parseGeoUri return ( #7396 )
2021-12-17 09:50:27 +00:00
Andy Balaam
9a8265429c
Unit tests for parseGeoUri ( #7395 )
2021-12-16 14:20:55 +00:00
Michael Telatynski
a968b4ce53
Improve typing around LoggedInView ( #7384 )
...
* Update SyncState imports
* Improve typing around LoggedInView
* Fix typing
2021-12-16 09:57:10 +00:00
Andy Balaam
1c6a7646fa
Use UnstableValue for all location constants ( #7388 )
2021-12-15 16:54:11 +00:00
Andy Balaam
43839adec0
Use constants from js-sdk in polls code ( #7381 )
2021-12-15 14:26:26 +00:00
Michael Telatynski
a667677c57
Fix accessibility regressions ( #7336 )
...
* Fix room list roving treeview
New TooltipTarget & TextWithTooltip were not roving-accessible
* Fix programmatic focus management in roving tab index not triggering onFocus handler
* Fix toolbar no longer handling left & right arrows
* Fix roving tab index focus tracking on interactive element like context menu trigger
* Fix thread list context menu roving
* add comment
* fix comment
* Fix handling vertical arrows in the wrong direction
* iterate PR
* delint
* tidy up
2021-12-14 14:27:35 +00:00
Andy Balaam
5554d7fdc1
Don't send a poll response event if you are voting for your current c… ( #7326 )
2021-12-10 12:36:53 +00:00
Aaron Raimist
2e8a93834b
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:10:23 +00:00
Aaron Raimist
7b94e13a84
Merge branch 'develop' into sort-imports
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 08:34:20 +00:00
Andy Balaam
2b52e17a80
Allow ending polls ( #7305 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-08 14:56:48 +00:00
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
Aaron Raimist
f3867ad0a9
Merge branch 'develop' into sort-imports
2021-10-27 21:50:56 -05: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
Aaron Raimist
bdc56be863
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-10-22 17:23:37 -05: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