Commit graph

39359 commits

Author SHA1 Message Date
Šimon Brandner
69c847b94c
Don't show options button when the user can't modify widgets (#7324)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-12-09 16:21:05 -07:00
Travis Ralston
8a0398b632 Fix remaining import ordering requirements 2021-12-09 16:09:20 -07:00
Travis Ralston
9cc8a6d24a Update eslint 2021-12-09 16:04:45 -07:00
Travis Ralston
e4b96cff1f Merge remote-tracking branch 'aaronraimist/sort-imports' into develop 2021-12-09 16:03:59 -07:00
Kerry
2e3f225520
Put room settings form elements in fieldsets (#7311)
* override default fieldset styles

Signed-off-by: Kerry Archibald <kerrya@element.io>

* SettingsFieldset component

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test settings fieldset

Signed-off-by: Kerry Archibald <kerrya@element.io>

* refactor SettingsFlag styles

* use SettingsFieldset in room > securit settings

* use fieldset in urlpreviewsettings

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use SettingsFieldset in AliasSettings

Signed-off-by: Kerry Archibald <kerrya@element.io>

* fieldset in room > roles settings

Signed-off-by: Kerry Archibald <kerrya@element.io>

* css lint

Signed-off-by: Kerry Archibald <kerrya@element.io>

* run i18n

Signed-off-by: Kerry Archibald <kerrya@element.io>

* fussy order

Signed-off-by: Kerry Archibald <kerrya@element.io>

* default export

Signed-off-by: Kerry Archibald <kerrya@element.io>

* fix copyright headers

Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-09 18:44:22 +01:00
Germain
cba92c0e90
Remove unused return (#7321) 2021-12-09 17:33:00 +00:00
Andy Balaam
68ac578577
Support reactions, replies and forwards of polls (#7318) 2021-12-09 12:54:31 +00:00
Kerry
3c1ee204a0
default export for TooltipTarget (#7319)
* default export for TooltipTarget

Signed-off-by: Kerry Archibald <kerrya@element.io>

* newline

Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-09 13:36:55 +01:00
Michael Telatynski
93a90280a9
Improve accessibility of opening space create menu (#7316) 2021-12-09 12:27:03 +00:00
Kerry
1216285ed2
Add descriptions to ambiguous links for screen readers (#7310)
* add title to room share link

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add ExternalLink component

Signed-off-by: Kerry Archibald <kerrya@element.io>

* unit test ExternalLink

Signed-off-by: Kerry Archibald <kerrya@element.io>

* default target and rel for external link

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use scss $font variables

Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-09 13:04:06 +01:00
Kerry
d7a6e3ec65
Correct tab order in room preview dialog (#7302)
* tab order

* lint fixes

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test RoomPreviewBar

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add copyright header

Signed-off-by: Kerry Archibald <kerrya@element.io>

* Update src/components/views/rooms/RoomPreviewBar.tsx

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* fix tabs/spaces lint for reformatted actions

Signed-off-by: Kerry Archibald <kerrya@element.io>

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-09 11:48:58 +01:00
Kerry
0c850b2f13
Make tooltips keyboard accessible (#7281)
* show tooltips on hover in eventtile

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use tooltip props pass thru

* use tooltiptarget in InfoTooltip

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use target in TestWithTooltip

Signed-off-by: Kerry Archibald <kerrya@element.io>

* tsc fixes

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test tooltip target

Signed-off-by: Kerry Archibald <kerrya@element.io>

* lint fix

Signed-off-by: Kerry Archibald <kerrya@element.io>

* rename tooltip handlers

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update copyright to 2021

Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-09 11:47:50 +01:00
Aaron Raimist
42003ac229 Move comment
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:59:24 +00:00
Michael Telatynski
4712ae49b2
Fix favourites and people metaspaces not rendering their content (#7315) 2021-12-09 09:43:45 +00:00
Ingrid
6c04c19a7a
Add vertical spacing between buttons when they go over multiple lines (#7314) 2021-12-09 09:41:33 +00:00
Michael Telatynski
9452a3cc09
Iterate room context menus for DMs (#7308) 2021-12-09 09:28:12 +00:00
Aaron Raimist
5b293dd6df Remove files created by merge
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:21:12 +00:00
Aaron Raimist
ba0f15bbb5 Merge branch 'develop' into sort-imports
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:13:26 +00:00
Andy Balaam
e0162d255e
Make clear button images visible in high contrast theme (#7306) 2021-12-09 09:13:03 +00:00
Aaron Raimist
2e8a93834b Auto fix
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:10:23 +00:00
Michael Telatynski
3f4b5df574
Fix html exporting and improve output size (#7312) 2021-12-09 08:51:05 +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
Alexandre Franke
40b2a90d08
💚 Update PR description editing action (#7309)
Switch to upstream and use a more recent version.
Fixes failure to edit on empty descriptions.

Signed-off-by: Alexandre Franke <alexandre.franke@gmail.com>
2021-12-09 09:12:59 +01:00
Andy Balaam
2b52e17a80
Allow ending polls (#7305)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-08 14:56:48 +00:00
Kerry
697b5d28b3
fix leaking registration test (#7304)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-08 10:34:24 +01:00
Michael Telatynski
f9e3328fb3
Fix issue with room list resizer getting clipped in firefox (#7303) 2021-12-08 09:19:12 +00:00
Michael Telatynski
97ee25126f
Fix favourite & people metaspace issue on Chromium browsers (#7301) 2021-12-07 15:54:30 +00:00
Germain
38e5e94ee4
Threads notifications after app startup (#7253) 2021-12-07 12:51:34 +00:00
Renan Cleyson
b4b81a455e
Fix wrong indentation with nested ordered list unnesting list on edit (#7300) 2021-12-07 09:46:04 +00:00
Michael Telatynski
2e4fe7891a
Fix input field behaviour inside context menus (#7293) 2021-12-07 09:36:28 +00:00
Michael Telatynski
275e9c1d02
Update space panel expand mechanism (#7230) 2021-12-07 09:32:00 +00:00
Michael Telatynski
e2ed00db85
Location Picker catch instantiation errors e.g WebGL disabled (#7296) 2021-12-07 09:31:13 +00:00
Ankur
26297f5498
Corrected the alignment of the Edit button on LoginPage. (#7292) 2021-12-07 07:20:09 +00:00
J. Ryan Stinnett
8715316a66 Require matrix-widget-api to be 0.1.0-beta.18 2021-12-06 16:38:44 +00:00
RiotRobot
8b82836499 Reset back to develop branch 2021-12-06 15:34:09 +00:00
RiotRobot
b856083716 v3.36.0 2021-12-06 15:20:39 +00:00
RiotRobot
ea9e34b8bf Prepare changelog for v3.36.0 2021-12-06 15:20:38 +00:00
RiotRobot
906d32aec8 Upgrade matrix-js-sdk to 15.2.0 2021-12-06 15:19:13 +00:00
Tulir Asokan
2e5a6fc738
Allow sharing manual location without giving location permission (#7295) 2021-12-06 14:53:39 +00:00
Kerry
eab028f2f8
Make emoji picker search placeholder localizable (#7294) 2021-12-06 14:39:11 +00:00
Šimon Brandner
5e19009e02
Fix jump to bottom on message send (#7280)
Co-authored-by: Germain <germain@souquet.com>
2021-12-06 14:32:15 +00:00
Timo
9bcb82d6dc
Add CSS variable to make the UI gaps consistent and fix the resize handle position (#7234)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-12-06 13:10:52 +01:00
Timo
12000060a5
Fix: Warning: Unsupported style property pointer-events. Did you mean pointerEvents? (#7291) 2021-12-06 12:47:43 +01:00
Timo
2bfffab566
Add edits and replies to the right panel timeline & prepare the timelineCard to share code with threads (#7262)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-12-06 12:29:37 +01:00
James Salter
43f264ccfc
Integrate analytics stubs (#7186)
* Add matrix-analytics-events as a dependency
* Make IEvent look like a stub definition
* Update pageview tracking to track screens, using a hypothetical definition of a screen event
* Remove distinction between pseudo and anon tracking, will need to rework it considering stubs
2021-12-06 21:43:42 +11: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
Michael Telatynski
eb05044bc4
Fix labs exploding when lab group is empty (#7290) 2021-12-06 09:29:42 +00:00
Michael Telatynski
f410d52bc1
Finish sending pending messages before leaving room (#7276) 2021-12-06 09:25:53 +00:00
Michael Telatynski
7dfdb06627
Dropdown follow wai-aria practices for expanding on arrow keys (#7277) 2021-12-06 09:25:44 +00:00