Commit graph

12248 commits

Author SHA1 Message Date
Travis Ralston
0104164d51 Approximate the design as proposed 2020-11-19 12:06:24 -07:00
Travis Ralston
21663314ee Minor touchups to the dialog 2020-11-19 11:24:17 -07:00
Travis Ralston
ddd8bdc00e Move all the capability copy to its own class 2020-11-19 11:15:42 -07:00
David Baker
b518b33169 Factor the height of the header into the max video height 2020-11-19 17:33:43 +00:00
David Baker
49bd66c377 Change fullscreen button to expand button in PIP view
and fix call controls which didn't appear in video call
2020-11-19 16:36:23 +00:00
David Baker
50965e41eb Remove call bar
Also hide video mute button on voice calls (awaiting clarification from design)
and fix mute keyboard shortcuts by moving them out of roomview & into
callview.
2020-11-19 15:15:31 +00:00
J. Ryan Stinnett
dea4fd661a
Merge pull request #5430 from matrix-org/jryans/fix-encrypted-videos
Fix encrypted video playback in Chrome-based browsers
2020-11-19 13:59:35 +00:00
J. Ryan Stinnett
3e85b6d085 Fix encrypted video playback in Chrome-based browsers
For Chrome-based browsers, it seems we need to set some non-empty `src` URI for
the video element's play button to be enabled, so this crafts an empty `data`
URI and ensures playing is triggered once the real content has been fetched.

Fixes https://github.com/vector-im/element-web/issues/15694
Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/5352
2020-11-19 13:30:05 +00:00
Michael Telatynski
14391a7295 Post-merge fix 2020-11-19 11:11:57 +00:00
Michael Telatynski
532b2e5ced Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/home-page-analytics
 Conflicts:
	src/components/structures/HomePage.tsx
2020-11-19 11:11:10 +00:00
Clemens Zeidler
1346416d20 Merge branch 'develop' into ctrl-enter-send 2020-11-19 19:40:38 +13:00
Travis Ralston
55592d365c Merge branch 'develop' into travis/msc-send-widget-events 2020-11-18 15:57:53 -07:00
Travis Ralston
57562560d2
Merge pull request #5331 from Transfusion/invisible_rooms_notif_badge
Search through the list of unfiltered rooms rather than the rooms in the state which are already filtered by the search text
2020-11-18 15:24:01 -07:00
Travis Ralston
df6218ef4a
Merge pull request #5364 from mkenigs/mxc-imgs
Specify community description img must be mxc urls
2020-11-18 15:21:09 -07:00
Heiko Carrasco
3fd13b89b8
Merge branch 'develop' into develop 2020-11-18 20:14:25 +01:00
J. Ryan Stinnett
f7e2d70ddf Tweak video component code style 2020-11-18 17:41:54 +00:00
Michael Telatynski
11fb081f7a
Merge pull request #5423 from matrix-org/t3chguy/sso
Redirect user home from auth screens if they are already logged in
2020-11-18 15:49:47 +00:00
J. Ryan Stinnett
23d039b961
Merge pull request #5428 from matrix-org/jryans/fix-message-search-summary
Fix message search summary text
2020-11-18 15:21:04 +00:00
J. Ryan Stinnett
14e64c10a3 Restore numeric count as well for better pluralisation 2020-11-18 15:16:35 +00:00
J. Ryan Stinnett
95a436cdaf Use room(s) style in message 2020-11-18 14:57:31 +00:00
David Baker
41e885dd67 Merge remote-tracking branch 'origin/develop' into dbkr/new_look_callview 2020-11-18 14:28:03 +00:00
David Baker
a2d58e2f1f Make new in-call UI work
* Buttons on the main view will disappear after 1 second of the user
not moving the mouse over the call view.
 * PIP view has no buttons, and not moveable yet
 * No call status in room view yet
 * Room status bar is still there currently
2020-11-18 14:22:38 +00:00
Michael Telatynski
9b2143742a
Merge pull request #5418 from matrix-org/t3chguy/fix/muggle-hustle
Small delight tweaks to improve rough corners in the app
2020-11-18 10:07:31 +00:00
Travis Ralston
3ce45ef185
Merge pull request #5424 from matrix-org/travis/fix-dms
Fix DM logic to always pick a more reliable DM room
2020-11-17 20:42:30 -07:00
Travis Ralston
a212dab84c Developer design a permissions dialog 2020-11-17 20:38:59 -07:00
Michael Telatynski
e05fcc8d34
Merge pull request #5408 from matrix-org/t3chguy/fix/15400
Update styling of the Analytics toast
2020-11-17 15:35:20 +00:00
Travis Ralston
94550546eb Merge branch 'develop' into travis/msc-send-widget-events 2020-11-16 15:08:52 -07:00
Travis Ralston
91b1c8b817 Fix DM logic to always pick a more reliable DM room
Fixes https://github.com/vector-im/element-web/issues/15605
2020-11-16 15:07:09 -07:00
Michael Telatynski
5b32287f3d Redirect user home from auth screens if they are already logged in 2020-11-16 15:56:54 +00:00
Michael Telatynski
6a3049b90f Remove old unused views/paths 2020-11-16 15:40:56 +00:00
Michael Telatynski
447e87ceab
Merge pull request #5422 from matrix-org/t3chguy/fix/_940
Fix BaseAvatar sometimes messing up and duplicating the url
2020-11-13 00:29:26 +00:00
Michael Telatynski
75888fb7b6 Fix BaseAvatar sometimes messing up and duplicating the url 2020-11-13 00:16:58 +00:00
Travis Ralston
962b964c07
Merge pull request #5412 from matrix-org/travis/msc2790-disabled-buttons
Disable buttons when required by MSC2790
2020-11-12 12:02:20 -07:00
David Baker
c921567831 WIP: the new call views work now
just need to add the buttons and then get rid of the status bar
2020-11-12 18:09:56 +00:00
Michael Telatynski
5f23c9499c Simplify UserMenu for Guests as they can't use most of the options 2020-11-12 12:46:55 +00:00
Michael Telatynski
f0ca8e152e
Merge pull request #5414 from matrix-org/t3chguy/fix/7420
Fix drag drop file to upload for Safari
2020-11-12 10:44:09 +00:00
Michael Telatynski
24a393342d
Merge pull request #5416 from matrix-org/t3chguy/fix/14852
Fix poorly i18n'd string
2020-11-12 10:43:22 +00:00
Michael Telatynski
b32a2c1b92
Merge pull request #5417 from matrix-org/t3chguy/fix/15698
Fix the feedback not closing without feedback/countly
2020-11-12 10:41:36 +00:00
Michael Telatynski
56d24fc723
Merge pull request #5419 from matrix-org/t3chguy/fix/15701
Fix New Room Intro invite to this room button
2020-11-11 18:32:45 +00:00
Michael Telatynski
bf62960e1a
Merge pull request #5413 from matrix-org/t3chguy/fix/11415
Change how we expose Role in User Info and hide in DMs
2020-11-11 18:15:46 +00:00
Michael Telatynski
2adc578d28 mark the onClick prop required on AccessibleButton 2020-11-11 17:31:30 +00:00
Michael Telatynski
0911007c77 fix issue with server selector introduced in this PR 2020-11-11 17:12:27 +00:00
Michael Telatynski
edb5e10506 Iterate registration to simplify it based on usertesting 2020-11-11 17:04:10 +00:00
Michael Telatynski
b3ccabbe6b Clear recaptcha error on reattempts 2020-11-11 17:04:09 +00:00
Michael Telatynski
0bee4bd72b Update Confirm password placeholder 2020-11-11 17:04:09 +00:00
Michael Telatynski
d0513406ee Pass filter text when clicking explore/dm prompt 2020-11-11 17:04:09 +00:00
Michael Telatynski
a481f3bdf1 Iterate the filtering prompt 2020-11-11 17:04:09 +00:00
Michael Telatynski
d3fee540c5 Update Room List filter copy 2020-11-11 17:04:09 +00:00
Michael Telatynski
187901004d Fix the Join rooms prompt not showing up due to missing updates 2020-11-11 17:04:09 +00:00
Michael Telatynski
d5c399dfd9 Fix Left Panel layout being wrong when filtering with 0 rooms 2020-11-11 17:04:09 +00:00
Michael Telatynski
1a2bd55c09 Fix New Room Intro invite to this room button 2020-11-11 16:58:39 +00:00
Michael Telatynski
b2366c38ba Fix the feedback not closing without feedback/countly 2020-11-11 16:54:11 +00:00
Michael Telatynski
979faf23e8 Fix poorly i18n'd string 2020-11-11 16:49:51 +00:00
Michael Telatynski
f73573881e
Merge pull request #5390 from matrix-org/t3chguy/fix/15524
Disallow sending of empty messages
2020-11-11 10:23:32 +00:00
Matthew Hodgson
cb2ce6f90b
Merge pull request #5403 from matrix-org/matthew/username-tooltip
hide some validation tooltips if fields are valid.
2020-11-10 18:29:37 +00:00
Matthew Hodgson
36aa80fb64
Update src/components/views/elements/Validation.tsx
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2020-11-10 18:29:28 +00:00
Michael Telatynski
dc304d4ad8 Fix drag drop file to upload for Safari 2020-11-10 15:55:07 +00:00
Michael Telatynski
0766519467
Merge pull request #5398 from matrix-org/t3chguy/fix/8141
Improvements around new room empty space interactions
2020-11-10 13:09:59 +00:00
Michael Telatynski
5fb86f74d7 Remove unused IconButton 2020-11-10 12:06:56 +00:00
Michael Telatynski
db3f125e26 Change how we expose Role in User Info and hide in DMs 2020-11-10 12:03:50 +00:00
Michael Telatynski
80bb091cc5 Iterate PR 2020-11-10 10:00:55 +00:00
David Baker
50bce642d5
Merge pull request #5366 from matrix-org/dbkr/call_hold
Implement call hold
2020-11-10 08:41:34 +00:00
Travis Ralston
65b8f27b26 Disable buttons when required by MSC2790 2020-11-09 21:14:20 -07:00
Michael Telatynski
a67da01419
Merge pull request #5407 from matrix-org/t3chguy/fix/15670
Fix Skeleton UI showing up when not intended.
2020-11-10 01:34:33 +00:00
Michael Telatynski
a5d827c446
Update src/components/views/rooms/RoomList.tsx
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-11-10 01:22:30 +00:00
Michael Telatynski
73eb43d32a
Merge pull request #5406 from matrix-org/t3chguy/fix/home-button-ctx-menu
Close context menu when user clicks the Home button
2020-11-10 01:19:33 +00:00
Michael Telatynski
5bed02b6e8 Skip e2ee warn logout prompt if user has no megolm sessions to lose 2020-11-09 15:50:35 +00:00
Michael Telatynski
453c956d06 Add Analytics instrumentation to the Homepage 2020-11-09 14:44:53 +00:00
Michael Telatynski
36ef9ec341 Update styling of the Analytics toast to try and decrease number of users blindly pressing No 2020-11-09 14:21:45 +00:00
Michael Telatynski
27d276715e Fix Skeleton UI showing up when not intended. 2020-11-09 13:53:28 +00:00
Michael Telatynski
462be2b6a0 Close context menu when user clicks the Home button 2020-11-09 13:45:33 +00:00
Aaron Raimist
d121f8a357
Allow country names to be translated
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-11-08 22:33:15 -06:00
Matthew Hodgson
99fb62cc68 fix lint yet again 2020-11-09 01:37:17 +00:00
Matthew Hodgson
ef09ff6615 lint again 2020-11-09 01:16:58 +00:00
Matthew Hodgson
2cac5f05a1 lint 2020-11-09 01:16:38 +00:00
Matthew Hodgson
5bde16ccbb hide some validation tooltips if fields are valid.
fixes https://github.com/vector-im/element-web/issues/9683
2020-11-09 01:07:15 +00:00
Michael Telatynski
252484fcd9 add key to make React happier 2020-11-05 17:01:20 +00:00
Michael Telatynski
54e41b5f32 fix tests 2020-11-05 16:27:41 +00:00
Michael Telatynski
664079a127 Use MiniAvatarUploader for the new NewRoomIntro component 2020-11-05 15:50:42 +00:00
Michael Telatynski
6aeea3e38e Extract MiniAvatarUploader into a reusable component 2020-11-05 15:42:45 +00:00
Michael Telatynski
2594ff8e80 Remove old isAlone checker 2020-11-05 15:39:22 +00:00
David Baker
d145b1081c Merge branch 'dbkr/call_hold' into dbkr/new_look_callview 2020-11-05 14:25:35 +00:00
David Baker
6953aed70a
Copyright
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-11-05 09:51:02 +00:00
David Baker
9f456a2acf accidentally committed commenting 2020-11-05 09:50:12 +00:00
Travis Ralston
cbd568a1e8
Merge pull request #5371 from resynth1943/change-password-to-new-password-in-forgot-password
Change "Password" to "New Password"
2020-11-04 12:15:49 -07:00
Michael Telatynski
2fdfe9346f Update copy on the Encryption Enabled bubble tile and room creation ELS to cater better in general but specifically for DMs 2020-11-04 17:50:59 +00:00
Michael Telatynski
4e2d9c28f5 Convert EncryptionEvent to Typescript 2020-11-04 17:21:25 +00:00
Michael Telatynski
ff25a9b45d Consolidate all EventTile bubble stuff into its own component and use it for the room continuation plinth 2020-11-04 17:06:38 +00:00
Matthew Hodgson
ced58b9ecf apostrophe!! 2020-11-04 14:54:53 +00:00
Michael Telatynski
5a8525dd93
Merge pull request #5387 from matrix-org/t3chguy/fix/13066
Invite / Create DM UX tweaks
2020-11-04 14:01:21 +00:00
Michael Telatynski
5c9acc364f
Merge pull request #5383 from matrix-org/t3chguy/fix/15604
Tweaks to toasts and post-registration landing
2020-11-04 13:59:51 +00:00
David Baker
e0929298c6
Merge pull request #5394 from matrix-org/dbkr/log_profile_save_error_2
Log when saving profile
2020-11-04 13:52:53 +00:00
David Baker
28a64cd56c Log when saving profile
We had a bug report with this failing but there's nothing useful because nothing is logged.
2020-11-04 11:33:14 +00:00
Michael Telatynski
2fccde0e8d Hide prompt to add email for notifications if 3pid ui feature is off 2020-11-03 23:09:23 +00:00
Michael Telatynski
cfb9d0f2d4 Disallow sending of empty messages 2020-11-03 16:06:45 +00:00
Michael Telatynski
3b7b66c856 Change out caption for email invite suggestions and stack vertically 2020-11-03 14:56:06 +00:00
Michael Telatynski
66377eb731 Invite UX tweaks:
+ re-focus input field after all interactions
+ change textarea to text input
+ fix margins between things
+ improve keyboard usage with enter/space autofilling
2020-11-03 13:14:35 +00:00
Michael Telatynski
db8cd68d8b Rearrange copy 2020-11-03 12:47:13 +00:00
Michael Telatynski
6a916757df
Merge pull request #5382 from matrix-org/t3chguy/countly
Track UISIs as Countly Events
2020-11-03 10:42:02 +00:00
Travis Ralston
e15041bd53 Add a custom widget API action for viewing a different room 2020-11-02 15:21:18 -07:00
Travis Ralston
b4de01b1f1 Don't let users accidentally redact ACL events
Fixes https://github.com/vector-im/element-web/issues/15633
Fixes https://github.com/vector-im/element-web/issues/15632

Slightly more information is in the issues above and in the diff, however the short version is redacting an ACL event can obliterate a room which is bad.
2020-11-02 12:55:59 -07:00
Michael Telatynski
0c14de3017 defer some toasts 2020-11-02 17:25:48 +00:00
Michael Telatynski
4afa610ee1 Add variant of default home page for justRegistered 2020-11-02 17:24:47 +00:00
Michael Telatynski
ce9d31a778 Add Room List join rooms prompt 2020-11-02 17:23:05 +00:00
Michael Telatynski
fa9490b02b Add skeleton UI for Room List when no rooms 2020-11-02 17:22:45 +00:00
Michael Telatynski
f2d8069a24 Track UISIs as Countly Events 2020-11-02 10:28:57 +00:00
Michael Telatynski
848893359e
Merge pull request #5381 from matrix-org/t3chguy/fix/15597
Fix Widget OpenID Permissions for realsies
2020-10-30 22:26:13 +00:00
Michael Telatynski
997679e648 Fix Widget OpenID Permissions for realsies 2020-10-30 22:12:46 +00:00
Michael Telatynski
06bd2d99c4
Merge pull request #5379 from matrix-org/t3chguy/countly
Fix room directory events happening in the wrong order for Funnels
2020-10-30 21:13:14 +00:00
Michael Telatynski
0368ad4516 Fix room directory events happening in the wrong order for Funnels 2020-10-30 20:20:58 +00:00
David Baker
7ec1d5a881 Fix a bunch of silly lint errors
At some point the script to generate .eslintignore.errorfiles had
been run and added all these files to the ignore list, often because
they lacked a space before a brace or something equally mundane.

These are the easiest bunch.
2020-10-30 18:18:17 +00:00
David Baker
f920c1fb3f
There's a type for everything!
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-30 17:35:16 +00:00
David Baker
85fb923398 Convert AuxPanel to TypeScript
so the healing can begin
2020-10-30 17:29:32 +00:00
David Baker
7796621e8d Merge remote-tracking branch 'origin/develop' into dbkr/call_hold 2020-10-30 16:49:42 +00:00
Resynth
a74f4fa25e Change "Password" to "New Password"
Doesn't solve most issues in the Forgot Password menu, but clears up the
UI a little. "New Password" makes more sense here, as "Password" may
suggest to the user that they have to enter the password they forgot.

Signed-off-by: Resynth <resynth1943@tutanota.com>
2020-10-30 16:05:35 +00:00
Michael Telatynski
f80ee391bc
Merge pull request #5370 from matrix-org/t3chguy/countly
Fix CountlyAnalytics NPE on MatrixClientPeg
2020-10-30 14:28:48 +00:00
Michael Telatynski
171b3ede76 improve comments 2020-10-30 14:27:14 +00:00
Michael Telatynski
70fe26d163 Fix CountlyAnaltics NPE on MatrixClientPeg 2020-10-30 14:14:17 +00:00
Michael Telatynski
b6532f9b80
Merge pull request #5369 from matrix-org/t3chguy/countly
fix CountlyAnalytics canEnable on wrong target
2020-10-30 13:47:35 +00:00
Michael Telatynski
3f11259fa8 fix CountlyAnalytics canEnable on wrong target 2020-10-30 13:42:35 +00:00
Michael Telatynski
444425b9ab
Merge pull request #5365 from matrix-org/t3chguy/countly
Initial Countly work
2020-10-30 13:07:58 +00:00
Will Hunt
c8485419c1 Fix bug that would cause failed to decrypt messages in non-encrypted rooms 2020-10-30 11:29:32 +00:00
Michael Telatynski
b01055f962 Tidy up and fix some edge cases 2020-10-30 10:26:15 +00:00
David Baker
f828c6d494 Implement call hold
Currently just by adding /holdcall and /unholdcall slash commands

The only place the hold status of the call is currently represented
is when the call is a voice call and you're viewing a different room:
it's not wired up when you're viewing the room because that currently
uses the room status bar which it won't do with the new UI.

Also convert VideoFeed to typescript, and remove videoview because
it essentially just managed the fullscreen functionality, but we'll
want and 'on hold' representation (and probably chrome for hagnup etc)
in the fullscreen UI too, so let's just make CallView the thing that
gets fullscreened.
2020-10-29 17:56:24 +00:00
Michael Telatynski
c3a355097d Initial Countly work 2020-10-29 15:57:16 +00:00
Michael Telatynski
3c9cc636c4
Merge pull request #5360 from matrix-org/t3chguy/fix/15586
Watch replyToEvent at RoomView to prevent races
2020-10-29 11:54:49 +00:00
Matthew Kenigsberg
24ba566877 Specify community description img must be mxc urls
Closes vector-im/element-web#7100

Signed-off-by: Matthew Kenigsberg <matthewkenigsberg@gmail.com>
2020-10-28 18:34:54 -05:00
Travis Ralston
a501d698aa Add a UI Feature flag for room history settings 2020-10-28 09:00:36 -06:00
Michael Telatynski
e06550b748 Watch replyToEvent at RoomView to prevent races 2020-10-28 12:47:59 +00:00
Travis Ralston
0adb920448
Merge pull request #5352 from matrix-org/hs/mvideobody
Do not preload encrypted videos|images unless autoplay or thumbnailing is on
2020-10-27 18:56:29 -06:00
nurjinn jafar
19395f3c3c null checks added 2020-10-26 16:37:45 +01:00
Travis Ralston
b10a6a5720
Merge pull request #5349 from RinkiyaKeDad/comments
docs: added comment explanation
2020-10-26 08:48:39 -06:00
Will Hunt
7eb54cc83c Also only download images after clicking on them 2020-10-23 17:16:09 +01:00
Will Hunt
e5228e2795 alt is not valid on video element 2020-10-23 16:42:23 +01:00
Will Hunt
7164284bb6 Do not download encrypted video if autoplay is not on 2020-10-23 16:33:40 +01:00
Will Hunt
bbb4c7f801 Convert MVideoBody to typescript 2020-10-23 16:32:04 +01:00
Michael Telatynski
cf93f75d09 fix sandbox flags 2020-10-22 22:09:16 +01:00
Michael Telatynski
0004dd4475 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/feat/modal-widgets 2020-10-22 21:40:05 +01:00
Michael Telatynski
12bc3ea9dc remove stale comments 2020-10-22 21:34:48 +01:00
MaHa-Nordeck
674060ed93 fixed spacing 2020-10-22 15:28:30 +02:00
MaHa-Nordeck
46eb5cdb1b Minor improvements
* Made color generation dependant on gradient usage.
* Changed a loop to use for of
2020-10-22 14:01:16 +02:00
Steffen Kolmer
1c556c97d3 Added some code documentation 2020-10-21 19:06:10 +02:00
Steffen Kolmer
3ea4560019 Moved effect options to configuration 2020-10-21 17:58:54 +02:00
Michael Telatynski
ca4e7202ae
Merge pull request #5350 from matrix-org/t3chguy/fix/widgets
Widgets fixes
2020-10-21 16:30:24 +01:00
Michael Telatynski
a16a6d2b54 Remove redundant event listener
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-21 16:05:44 +01:00
Michael Telatynski
6196c03c0a Fix stickerpicker not having correct contexts
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-21 16:05:20 +01:00
Steffen Kolmer
cb79e38377 Better initialization and check if canvas gets unmounted 2020-10-21 17:04:01 +02:00
Arsh Sharma
e57f4fbd54 docs: fixed whitespace 2020-10-21 20:13:50 +05:30
Arsh Sharma
312d46917c docs: added comment explanation 2020-10-21 20:10:35 +05:30
Steffen Kolmer
fbe2d7e0f8 Optimized naming 2020-10-21 16:15:15 +02:00