Commit graph

16394 commits

Author SHA1 Message Date
Michael Telatynski
aac5964121
Fix wrong icon being used for appearance tab in space preferences dialog (#7570) 2022-01-18 17:56:49 -07:00
Eric Eastwood
c0681333bf
Fix /jumptodate using wrong MSC feature flag (#7563)
As reported by @turt2live, https://matrix.to/#/!EMAlzkQQlZGEVTkDnD:matrix.org/$gnoVWQnIkYYL1i1cL8A4qRKJCFpNtq0Oj5khpzOq1mQ?via=half-shot.uk&via=matrix.org&via=element.io

Also fixes camelCase typo
2022-01-18 09:51:25 -06:00
Michael Telatynski
d5412e52ed
Replace home icon with new one (#7571) 2022-01-18 15:29:01 +00:00
Andy Balaam
47cbef2af2
Ensure maps show up in replies and threads, by creating unique IDs (#7568) 2022-01-18 13:33:53 +00:00
Andy Balaam
e1cdbe1e54
Use IncompatibleController to disable showLocation via labs flag (#7566) 2022-01-18 11:28:23 +00:00
Michael Telatynski
f217c6fd61
Update bubble layout styling for stickers (#7560) 2022-01-18 10:37:44 +00:00
Michael Telatynski
4b5ca1d7a9
Fix timeline jumping issues related to bubble layout (#7529) 2022-01-18 09:31:21 +00:00
Travis Ralston
65987e6b72
Move all polls processing to events-sdk & prep for stable polls (#7517)
* Move all polls processing to events-sdk

This makes polls support the full range of extensible events (both parsing and generation).

* Appease the linter

* Fix & update tests

* Update events-sdk for polls bugfix

* Update events-sdk for typechecking

* Add missing type cast

* Update per review
2022-01-17 10:06:30 -07:00
David Teller
6b870ba1a9
MSC3531 - Implementing message hiding pending moderation (#7518)
Signed-off-by: David Teller <davidt@element.io>
2022-01-17 16:04:37 +01:00
Kerry
42adedc468
Wait for initial profile load before displaying widget (#7556)
* wait for initial profile load before displaying jitsi

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

* update comment

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

* amke fn return boolean

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

* listen for profile update once

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

* remove unneccessary check

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-17 13:47:07 +00:00
Šimon Brandner
1f298250b9
Make the Keyboard Shortcuts dialog into a settings tab (#7198) 2022-01-17 11:53:10 +00:00
Andy Balaam
18c82d57ae
Add setting for enabling location sharing (#7547) 2022-01-14 15:57:39 +00:00
Andy Balaam
ae2cb63a0d
Enable/disable location share button when setting is changed (#7545) 2022-01-14 15:04:09 +00:00
Travis Ralston
aa4131ed2e
Add a developer mode 'view source' button to crashed event tiles (#7537)
* Add a developer mode 'view source' button to crashed event tiles

* appease the linter
2022-01-14 07:43:13 -07:00
Michael Telatynski
2ef36507fd
Support deserialising HR tags for editing (#7543) 2022-01-14 13:24:51 +00:00
Michael Telatynski
f4a6219c88
Replace kick terminology with Remove from chat (#7469) 2022-01-14 13:08:34 +00:00
Germain
54357c2d63
Fix thread summary sometimes not updating (#7542) 2022-01-14 12:58:37 +00:00
Germain
240cb10415
Refresh ThreadView after React state has been updated (#7539) 2022-01-14 12:49:25 +00:00
Germain
de28d82b81
Add onPaste fallback when getInputableElement returns null (#7540) 2022-01-14 12:49:09 +00:00
Andy Balaam
6444aaeeff
Set initial zoom level to 1 to make zooming to location faster (#7541) 2022-01-14 12:21:22 +00:00
Kerry
50de35cd1a
truncate room name on pip header (#7538)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-14 10:37:30 +00:00
Michael Telatynski
47c112b12e
Fix alignment of reactions in bubble layout thread view (#7534)
* Fix alignment of reactions in bubble layout thread view

* Remove duplicate download link in thread view panel

* Fix bugs with layout of file pills
2022-01-13 22:46:11 +00:00
Travis Ralston
61a0be7d46
Render events as extensible events (behind labs) (#7462)
* Render events as extensible events (behind labs)

* Include the SDK

* Appease linter

* Update for changed property name

* Fix formatting error

* Fix branch matching for build steps

* Update SDK

* Update scripts/fetchdep.sh

Co-authored-by: Andy Balaam <andyb@element.io>

Co-authored-by: Andy Balaam <andyb@element.io>
2022-01-13 17:03:37 +00:00
Faye Duxovni
3eb5130cda
Add labs flag to automatically rageshake on decryption errors (#7307)
Also sends a to-device message to the sender, prompting them to auto-rageshake too if they have this lab enabled as well.

Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-13 10:55:25 -05:00
Andy Balaam
22c2aa37d7
Show an error dialog if location permission is denied (#7531) 2022-01-13 14:38:04 +00:00
Andy Balaam
25cd1a8a43
Show an error dialog if we fail to send location (#7528) 2022-01-13 13:23:00 +00:00
Timo
ef95644e23
Render Jitsi (and other sticky widgets) in PiP container, so it can be dragged and the "jump to room functionality" is provided (#7450)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-13 12:10:41 +01:00
Charlie Calendre
c2393cade7
Fix translation for the "Add room" tooltip (#7532) 2022-01-13 10:08:22 +00:00
Timo
78ff685caf
Copy bubble layout changes to timelineCard (#7527) 2022-01-13 10:58:22 +01:00
Michael Telatynski
ec6c1b8272
Fix RoomViewStore forgetting some details of a view room call (#7512) 2022-01-12 13:12:28 -07:00
Germain
3a18fd8f71
Add 'from a thread' copy to search tile result (#7525) 2022-01-12 17:16:00 +00:00
Germain
61116377f3
Fix composer localStorage key for draft event in a thread (#7526) 2022-01-12 17:13:47 +00:00
Michael Telatynski
9ca429d15c
Prevent enter to send edit weirdness when no change has been made (#7522) 2022-01-12 14:22:25 +00:00
Andy Balaam
f81120f35f
Set the default zoom level for location to 15, matching iOS and Android (#7524) 2022-01-12 14:55:52 +01:00
Andy Balaam
11c8e720b2
Add user avatar to location sharing dialog (#7520) 2022-01-12 13:32:08 +00:00
Michael Telatynski
b835588331
Allow using room pills in slash commands (#7513) 2022-01-12 09:40:18 +00:00
Andy Balaam
31247a50ca
Make LocationPicker appearance cleaner (#7516) 2022-01-12 09:19:26 +00:00
Michael Telatynski
f5465b37a9
Allow bubble layout in Thread View (#7478) 2022-01-12 09:02:30 +00:00
Eric Eastwood
038a6bc204
Make slash command errors translatable but also work in rageshakes (#7377)
See https://github.com/matrix-org/matrix-react-sdk/pull/7372#discussion_r769556546

We want the error to be translated for the user but not in our rageshake logs.

Also updates some error messages to give more info.
2022-01-11 12:25:28 -06:00
Michael Telatynski
53a72dafa9
Limit max-width for bubble layout to 1200px (#7458) 2022-01-11 17:21:59 +00:00
Michael Telatynski
f620cf9d0e
Allow cancelling events whilst they are encrypting (#7483) 2022-01-11 15:07:33 +00:00
Timo
59f57e15fe
Ship maximised widgets and remove feature flag (#7509)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-11 14:11:48 +01:00
Germain
8b088da888
Use server capabilities to determine how to build thread list (#7470) 2022-01-11 13:11:08 +00:00
J. Ryan Stinnett
81257933ef
Set header buttons to no phase when right panel is closed (#7506) 2022-01-11 10:32:55 +00:00
Timo
f6effc52fd
Fix active Jitsi calls (and other active widgets) not being visible on screen, by showing them in PiP if they are not visible in any other container (#7435)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-11 11:25:21 +01:00
Michael Telatynski
8c20bcfe56
Prevent mutations of js-sdk owned objects as it breaks accountData (#7504) 2022-01-10 17:09:35 +00:00
J. Ryan Stinnett
6199c337ea
Fix spacing errors (#7484) 2022-01-10 12:57:20 +00:00
Michael Telatynski
8f60d8d2c7
Consider continuations when resolving whether a tile is last in section (#7461) 2022-01-10 12:53:37 +00:00
Michael Telatynski
fbfd2c3d20
Fix read receipts and sent indicators for bubble layout (#7460) 2022-01-10 12:53:23 +00:00
Michael Telatynski
8b88b48edc
Remove bubble from around location events (#7459) 2022-01-10 12:53:11 +00:00
Aaron Raimist
dbd7949e79
Allow clicking on avatar in room intro (#7496) 2022-01-10 12:16:14 +00:00
Aaron Raimist
c03cb67aef
Disable "Publish this room" option in invite only rooms (#7441) 2022-01-10 11:46:30 +00:00
Michael Telatynski
fdd0a2ada3
Add permission dropdown for sending reactions (#7492) 2022-01-10 11:35:41 +00:00
Michael Telatynski
474cbf4c09
Fix jump to bottom button working when on a permalink (#7494) 2022-01-10 11:34:27 +00:00
Andy Balaam
9562deb28c
Remove the Description from the location picker (#7485) 2022-01-10 10:07:51 +00:00
Šimon Brandner
fe16f224ea
Fix look of the untrusted device dialog (#7487) 2022-01-10 10:02:03 +00:00
Andy Balaam
9cb8ce7c20
Add zoom buttons to the location view (#7482) 2022-01-10 09:30:24 +00:00
Šimon Brandner
d00483be3e
Hide maximise button in the sticker picker (#7488) 2022-01-10 09:02:07 +00:00
Šimon Brandner
30aee97b78
Give secret key field an id (#7489) 2022-01-10 08:43:32 +00:00
Andy Balaam
309f7bb235
Display a tooltip when you hover over a location (#7472) 2022-01-07 15:11:30 +00:00
Andy Balaam
707f8cd878
Open map in a dialog when it is clicked (#7465) 2022-01-07 14:54:45 +00:00
Faye Duxovni
59ef2704f0
Give Posthog a correct total count of decryption failures (#7475) 2022-01-07 09:15:33 -05:00
Michael Telatynski
9fd933a0b6
Don't send typing notification when restoring composer draft (#7477) 2022-01-07 11:15:20 +00:00
Kerry
fed53a268b
A11y - fix anchors-as-buttons (#7444)
* add link_inline accessiblebutton variant

* valid anchors in SecurityRoomSettingsTab

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

* new room intro link button

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

* replace anchor with button in rerequest encryption keys message

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

* inline button in UrlPreviewSettings

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

* ButtonResetDefault mixin

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

* inline link buttons in TextForEvent

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

* fix anchors in InviteDialog

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

* fix anchors in DevToolsDialog

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

* fix anchors in login/registration/reset pword flows

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

* fix types after fixing anchors in devtools

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

* fix anchors in MemberEventListSummary

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

* fix anchors in ReactionsRow and RoomUpgrade

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

* fix anchors in ReplyChain

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

* fix more anchors

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

* fix anchors in auth comps

* stylelint fixes

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

* remove ignore of jsx-a11y rule that is not added yet

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

* devtools style important explainer

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

* translate button alt in devtools dialog

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

* AccessibleButton is reactionsrow

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

* fix viewsourcevent button placement, use AccessibleButton

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

* use AccessibleButton in EventTile

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

* unignore jsx-a11y/anchor-is-valid

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

* fix lint issue in test jsx

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

* update coment

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-07 10:40:53 +01:00
Faye Duxovni
a4fda7e25d
Consistently use the word "device", rather than "session" or "login", in verification dialog (#7474) 2022-01-06 16:57:49 -05:00
Kerry
dc2d52c1f2
a11y - wrap notification level radios in fieldsets (#7471)
* notification settings radios table -> fieldset

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

* aria-label for inputs

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

* update tests for fielset

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

* remove unneccessary wrapping div

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

* fix stylelint

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 18:52:06 +01:00
Kerry
b1066a5699
Wrap inputs in fieldsets in Space visibility settings (#7350)
* use fieldset in space settings > visibility

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

* add basic tests for space setttings visibility

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

* i18n

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

* fix toggle button placement

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

* i18n

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

* update settings separator color to quinary

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 10:09:26 +00:00
Kerry
92ee02fe02
unit test Notifications.tsx (#7468)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 09:47:03 +00:00
Timo
4ab3470184
History based navigation with new right panel store (#7398)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-05 17:25:41 +01:00
Michael Telatynski
6f89267a31
Fix quoting messages from the search view (#7466) 2022-01-05 15:59:19 +00:00
Germain
76839ec42e
Prevent soft crash when sending a thread message (#7467) 2022-01-05 15:16:53 +00:00
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
7f13a1b40a
Attribute fallback i18n strings with lang attribute (#7323)
* add lang attribute to fallback translations

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

* readability improvement

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

* split _t and _tDom

Signed-off-by: Kerry <kerry@Kerrys-MBP.fritz.box>

* use tDom in HomePage

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

* lint

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

* bump matrix-web-i18n

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-05 11:37:28 +01:00
Michael Telatynski
ea7ac453bc
Fix spotlight cmd-k wrongly expanding left panel (#7463) 2022-01-05 10:07:04 +00:00
Timo
f4a94f6e7f
Add new line in settings label (#7451) 2022-01-04 10:57:29 +01:00
Dariusz Niemczyk
74ea2adfc2
Fix room alias address isn't checked for validity before being shown as added (#7107)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-04 09:22:51 +00:00
Michael Telatynski
44d7d74949
Call view accessibility fixes (#7439) 2022-01-04 08:57:46 +00:00
Kerry
aaf14aacd2
A11y fix role-has-required-aria-props (#7455)
* remove jsx a11y direct use in eslintrc

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

* remove debug

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

* split aria-selected out from restProps in Autocomplete

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

* update Dropdown to aria 1.1 aria-owns -> aria-controls

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

* unignore jsx-a11y/role-has-required-aria-props rule

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

* remove debug

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-04 08:46:21 +00: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
Kerry
03f5a3c3e6
Associate room alias warning with public option in settings (#7430)
* add describedby to styledradiogroup description

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

* alias warning in description

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

* lint

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

* update snapshot

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-03 09:55:09 +01:00
Michael Telatynski
13028d33c2
Move hideSender logic into state so it causes re-render (#7413)
* Move hideSender logic into state so it causes re-render

* change method signature
2021-12-23 16:03:25 +00:00
Šimon Brandner
38ba198fea
Fix dialpad positioning (#7446) 2021-12-23 15:02:59 +00:00
Michael Telatynski
5096455f64
Hide non-functional list options on Suggested sublist (#7410) 2021-12-23 12:01:52 +00:00
Michael Telatynski
097c40b577
Disable quick reactions button when no permissions (#7412) 2021-12-23 12:01:40 +00:00
Michael Telatynski
a9d1f6e616
Fix width overflow in mini composer overflow menu (#7411) 2021-12-23 12:01:21 +00:00
Germain
fdc6082c83
Make threads events indexed by the index manager (#7442) 2021-12-23 10:12:27 +00:00
Ingrid
defbe16448
Trim spurious whitespace of "Explore rooms" menu input (#7431)
* Trim spurious whitespace of "Explore rooms" menu input

Trims the whitespace around the input string in order to
show relevant room suggestions and the "Join" button.

Fixes https://github.com/vector-im/element-web/issues/19728

Signed-off by: Ingrid Budau inigiri@posteo.jp

* Add safe navigation

Co-authored-by: Travis Ralston <travpc@gmail.com>

Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-12-22 09:16:51 -07:00
Germain
cd04799cb4
Hook thread panel to homeserver API (#7352) 2021-12-22 14:08:05 +00:00
Michael Telatynski
b4755f38b9
Don't disable username/password fields whilst doing wk-lookup (#7438) 2021-12-22 10:56:39 +00:00
Michael Telatynski
f3776f8944
Prevent keyboard propagation out of context menus (#7437) 2021-12-22 10:53:17 +00:00
Andy Balaam
b412067b24
Fix nulls leaking into geo urls (#7433) 2021-12-21 16:56:28 +00:00
Timo
d4bafdcddd
Fix zIndex of peristent apps in miniMode (#7429)
Fixes a bug, where the persistent (PiP mode app) is hidden behind another widget in the right panel or a maximised widget.
2021-12-21 17:42:42 +01:00
Andy Balaam
a239c456e3
Allow opening a map view in OpenStreetMap (#7428) 2021-12-21 15:48:20 +00:00
Michael Telatynski
38634f86d1
Space panel should watch spaces for space name changes (#7432) 2021-12-21 15:35:54 +00:00
Andy Balaam
70dc03552c
Display the user's avatar when they shared their location (#7424) 2021-12-21 15:19:27 +00:00
Michael Telatynski
d25d325387
Don't show Testing small changes without UIFeature.Feedback (#7427) 2021-12-21 14:59:59 +00:00
Andy Balaam
de881d2321
Remove the Forward and Share buttons for location messages only (#7423) 2021-12-21 12:57:56 +00:00
Michael Telatynski
d6af7294e4
Fix legacy breadcrumbs wrongly showing up (#7425) 2021-12-21 12:27:44 +00:00
Andy Balaam
8b2a478a25
Update location text fallback and test it (#7408) 2021-12-21 09:37:06 +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
Germain
f87b5ee996
Make entire thread panel tile clickable (#7371) 2021-12-20 13:43:45 -07:00
Eric Eastwood
9289c0c90f
Refactor ContextMenu to use RovingTabIndex (more consistent keyboard navigation accessibility) (#7353)
Split off from https://github.com/matrix-org/matrix-react-sdk/pull/7339
2021-12-17 11:08:56 -06:00
Michael Telatynski
6761ef9540
Space Panel use SettingsStore instead of SpaceStore as source of truth (#7404) 2021-12-17 16:41:39 +00:00
Andy Balaam
670d7824ec
Tidy location code (#7402) 2021-12-17 12:26:02 +00:00
Michael Telatynski
fb494a5098
Fix notification badge for All Rooms space (#7401) 2021-12-17 11:02:06 +00:00
Andy Balaam
bd226cd062
Tests for getGeoUri (#7400)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-17 10:58:24 +00:00
Michael Telatynski
f389324571
Show error if could not load space hierarchy (#7399) 2021-12-17 10:36:52 +00:00
Andy Balaam
144e4c61fc
Avoid NaNs in parseGeoUri return (#7396) 2021-12-17 09:50:27 +00:00
Michael Telatynski
818465a4d6
Increase gap between ELS and the subsequent event to prevent overlap (#7391) 2021-12-17 09:28:10 +00:00
Michael Telatynski
39c4b78371
Space preferences for whether or not you see DMs in a Space (#7250) 2021-12-17 09:26:32 +00:00
Michael Telatynski
5ee356daaa
Fix list of members in space preview (#7356) 2021-12-17 08:53:26 +00:00
Michael Telatynski
314475985c
Fix bubble radius wrong when followed by a state event from same user (#7393) 2021-12-16 18:35:28 +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
Will Hunt
b952fef195
Don't include the accuracy parameter in location events if accuracy could not be determined. (#7375)
* Don't include accuracy on geouri if not defined

* Use !== undefined

* Add a )
2021-12-15 21:06:40 +00:00
Michael Telatynski
11aa6c7435
Don't show a message bubble around polls (#7374)
* Don't show a message bubble around polls

* Update res/css/views/rooms/_EventBubbleTile.scss
2021-12-15 19:47:57 +00:00
Timo
d31aa12156
Fix MaxListenersExceededWarning (#7389) 2021-12-15 18:06:37 +01:00
Andy Balaam
1c6a7646fa
Use UnstableValue for all location constants (#7388) 2021-12-15 16:54:11 +00:00
Andy Balaam
fc58ce7ed2
Use the moved makePollContent function from js-sdk (#7387) 2021-12-15 16:54:01 +00:00
Michael Telatynski
71b561d471
Make compact layout only apply to Modern layout (#7382) 2021-12-15 16:27:02 +00:00
Michael Telatynski
3229b06b01
Add internationalisation to progress strings in room export dialog (#7385) 2021-12-15 16:21:51 +00:00
Michael Telatynski
7857bf2da1
Prevent escape to cancel edit from also scrolling to bottom (#7380) 2021-12-15 16:21:32 +00:00
Michael Telatynski
3c9c82ee0d
Fix narrow mode composer buttons for polls labs (#7386) 2021-12-15 16:15:09 +00:00
Kerry
b174cc8963
Use semantic heading on dialog component (#7383)
* use semantic heading on dialog

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

* tidy styles

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

* un-flex text centering

Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-15 17:05:58 +01:00
Andy Balaam
43839adec0
Use constants from js-sdk in polls code (#7381) 2021-12-15 14:26:26 +00:00
Germain
69c4a0cebc
Fix main timeline pending events bleeding in thread's timeline (#7373) 2021-12-15 12:40:56 +00:00
Eric Eastwood
1e09599447
Add /jumptodate slash command (#7372)
Fix https://github.com/vector-im/element-web/issues/7677

Utilizing MSC3030: https://github.com/matrix-org/matrix-doc/pull/3030

Experimental Synapse implementation added in https://github.com/matrix-org/synapse/pull/9445

---

Jump to date headers are being worked on in https://github.com/matrix-org/matrix-react-sdk/pull/7339
2021-12-15 06:34:47 -06:00
Kerry
46b0865e89
Add Heading components (#7362)
* add Heading components

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

* remove margins

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

* snapshots

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

* unset block and inline margins

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

* copyright

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

* fix werid quoting on heading test

Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-15 11:00:10 +01:00
Michael Telatynski
9436f3b58d
Update room context menu copy (#7361) 2021-12-15 09:56:15 +00:00
Michael Telatynski
5163ad216f
Use lazy rendering in the AddExistingToSpaceDialog (#7369) 2021-12-15 09:55:53 +00:00
Michael Telatynski
42b14bfcd7
Tweak FacePile tooltip to include whether or not you are included (#7367) 2021-12-14 16:07:54 +00:00
Michael Telatynski
1d9906c3fa
Fix room join spinner in room list header (#7364) 2021-12-14 16:07:00 +00:00
Michael Telatynski
cc689f95d8
Fix room search sometimes not opening spotlight (#7363) 2021-12-14 16:06:45 +00:00
Michael Telatynski
7033f8696a
Improve typing (#7349) 2021-12-14 15:34:54 +00:00
Michael Telatynski
b2548f05a8
Add missing react keys, fixing the warning (#7360) 2021-12-14 15:15:27 +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
Michael Telatynski
361e9e4360
Debounce User Info start dm "Message" button (#7357) 2021-12-14 12:45:02 +00:00
Germain
d00809b8b9
Fix thread filter being cut-off on narrow screens (#7354) 2021-12-14 09:43:51 +00:00
Michael Telatynski
132e19beb7
Update typescript-eslint plugin & parser (#7351) 2021-12-13 23:39:45 +00:00
Timo
ed895f5881
Always unhide widgets on layout change (pinning a widget) (#7299) 2021-12-13 17:46:50 +01:00
Timo
f938bfaab9
Right panel chat style changes for read receipts and optimizations for smaller widths (#7297)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-12-13 17:46:32 +01:00
Michael Telatynski
9c0868ce4f
Fix upgraded rooms wrongly showing up in spotlight (#7341) 2021-12-13 15:00:09 +00:00
Germain
ce570ab827
Hook threads notification state to UI (#7298) 2021-12-13 14:05:42 +00:00
Andy Balaam
55eda7314b
Show votes in replied-to polls (pass in getRelationsForEvent) (#7345) 2021-12-13 13:12:22 +00:00
Šimon Brandner
43499b9244
Update status message in the member list and user info panel when it is changed (#7338)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-13 12:44:03 +00:00
Michael Telatynski
a46de3b9b3
Improving typing around Message Edit History Dialog (#7342)
* Improving typing around Message Edit History Dialog

* Update Typescript to 4.5

* Depend on TS4.5

* Update types for TS4.5
2021-12-13 12:42:36 +00:00
Andy Balaam
c21895b5b4
Don't show polls in timeline if polls are disabled (#7332) 2021-12-10 13:28:21 +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
Michael Telatynski
914b61239c
Spotlight search labs (#7116) 2021-12-10 11:50:01 +00:00
Š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