Travis Ralston
ca63e937d3
Fix up logic to show sent receipts correctly
2021-03-05 10:56:13 -07:00
David Baker
e5b03488d8
Fix widget resizing
...
There was a line of CSS that set pointer-events: none on widget
iframes whilst they were being resized to stop iframes swallowing
the mousemove/up events while dragging the resize handle, but a)
all widgets are now in a persisted element wrapper and therefore
not in the right place in the DOM to get that CSS and b) that only
got set when resizing the whole aps drawer vertically, not dragging
the handle between apps to change the width distribution.
Add a pointer events prop to AppTile to allow the pointer-events
style to be set by the parent, and set it when dragging either
resize handle.
Fixes https://github.com/vector-im/element-web/issues/16473
2021-03-05 17:52:51 +00:00
Travis Ralston
017c2af663
Merge branch 'develop' into travis/message-states
2021-03-05 09:29:39 -07:00
Will Hunt
35dbc82b87
Add issue comments
2021-03-05 15:01:48 +00:00
David Baker
8bcf0f0838
console.error
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-05 10:34:03 +00:00
David Baker
c80cbc38dd
Use helper class
...
(It did not need imports)
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-05 10:32:54 +00:00
Travis Ralston
676259e78c
Merge pull request #5505 from SimonBrandner/improve-file-drop-ui
...
File drop UI fixes and improvements
2021-03-04 20:30:45 -07:00
Travis Ralston
8d143331a8
Appease the linter
2021-03-04 20:10:47 -07:00
Travis Ralston
5d6e3d5711
UI refresh for uploaded files
...
Fixes https://github.com/vector-im/element-web/issues/16557
Fixes https://github.com/vector-im/element-web/issues/9482 (technically)
There's two changes in this:
1. The actual file body in the timeline now has a placeholder thing.
2. We're intentionally dropping all the "Travis uploaded a file" sender profile states.
2021-03-04 20:07:48 -07:00
David Baker
0f1b7a001e
Better error handling for streams
...
Also use older youtubeStreamKey as it appears our jitsi doesn't
support the newer one.
2021-03-04 17:52:49 +00:00
Michael Telatynski
c73ad9e594
Merge pull request #5332 from Transfusion/trim_display_name
...
Trim spurious whitespace of nicknames
2021-03-04 16:26:09 +00:00
Michael Telatynski
ab4220b20d
Defer auto-joining within spaces and switch to using suggested
2021-03-04 13:04:58 +00:00
Panagiotis
6d792cc08c
feat: use <details> to hide encrypted block
2021-03-03 23:48:39 +02:00
Panagiotis
0a1f372371
fix: lint
2021-03-03 23:26:31 +02:00
Panagiotis
ae08f74336
feat: improve "view source"
...
display encrypted and decrypted event source on the same dialog
keep only one "View Source" action on event context menu
2021-03-03 22:38:30 +02:00
Michael Telatynski
77cf4cf7a4
Merge pull request #5706 from matrix-org/t3chguy/spaces4.4
...
Space room hierarchies
2021-03-03 15:25:00 +00:00
Michael Telatynski
73411fa53d
tidy code style
2021-03-03 13:42:44 +00:00
Michael Telatynski
a8ff0fa75f
Merge pull request #5705 from matrix-org/t3chguy/spaces4.3
...
Iterate Space view and right panel
2021-03-03 13:37:40 +00:00
Michael Telatynski
d9a801910a
Tweak spaces copy
2021-03-03 11:34:29 +00:00
Travis Ralston
c7d4dfa4f5
Merge pull request #5692 from SimonBrandner/scroll-to-bottom-setting
...
Add a scroll to bottom on message sent setting
2021-03-02 17:41:15 -07:00
Travis Ralston
08d35073de
Improve commentary
2021-03-02 11:04:12 -07:00
Travis Ralston
c74224a1b7
Merge branch 'develop' into travis/message-states
2021-03-02 10:40:49 -07:00
Michael Telatynski
49fc053b94
Merge pull request #5704 from matrix-org/t3chguy/spaces4.2
...
Initial Space Room View and Creation UX
2021-03-02 17:17:39 +00:00
David Baker
20e57d15fd
Option for audio streaming
2021-03-02 15:20:54 +00:00
J. Ryan Stinnett
a5ee029c62
Merge pull request #5452 from SimonBrandner/feature-multi-language-spell-check
...
Add multi language spell check
2021-03-02 14:38:21 +00:00
Michael Telatynski
43cc7deeda
Show hierarchy of auto_join rooms in the space view
2021-03-02 14:37:28 +00:00
Michael Telatynski
716268b2f9
Add context menu to spaces in the space panel
2021-03-02 14:35:29 +00:00
Travis Ralston
303ea16492
Merge pull request #5697 from matrix-org/travis/fix-tetris
...
Fix tetris effect (holes) in read receipts
2021-03-02 07:35:04 -07:00
Michael Telatynski
ca1bd78921
Add space specific variant of the dropdown on "Rooms +" sublist
2021-03-02 14:20:29 +00:00
Michael Telatynski
faf7a4b8bc
Initial Space room directory view
2021-03-02 14:14:50 +00:00
Michael Telatynski
4e93452275
Tweak resizer collapse distributor behaviour to work with the expanding space panel
2021-03-02 14:02:03 +00:00
Michael Telatynski
e479edd47a
Add an add existing room to space CTA to Space View
2021-03-02 13:34:53 +00:00
Michael Telatynski
a687b9883c
Add a create room in space CTA to Space View
2021-03-02 13:29:34 +00:00
Michael Telatynski
ab4b7b73ea
Add a basic Space Settings view
2021-03-02 13:26:00 +00:00
Šimon Brandner
4476843264
Remove unused _t
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 12:12:10 +01:00
Šimon Brandner
0a4c0b69b0
Move fileDropTarget to RoomView
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 12:07:33 +01:00
Michael Telatynski
926e226a78
Add Invite CTA to Space View
2021-03-02 10:12:49 +00:00
Michael Telatynski
dfd0aaffe3
Iterate copy for some global warning prompts for spaces
2021-03-02 09:56:43 +00:00
Michael Telatynski
8efe7dcaa1
Decorate Right Panel cards with Space header for when viewing it in that context
2021-03-02 09:54:32 +00:00
Šimon Brandner
ff00683f32
Use ===
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-02 07:42:07 +01:00
Šimon Brandner
ebedd3cbcb
Remove space
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-02 07:41:14 +01:00
Šimon Brandner
6fcb4c7cd2
Fix quote
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-02 07:37:00 +01:00
Travis Ralston
db8978580c
Improve special read receipt checking
...
See comments in code
2021-03-01 16:25:25 -07:00
Travis Ralston
9cec382865
Change sending->sent state to match new designs
...
For https://github.com/vector-im/element-web/issues/16424
2021-03-01 16:25:19 -07:00
Michael Telatynski
c10512fd56
Initial SpaceRoomView work
2021-03-01 18:53:11 +00:00
Michael Telatynski
c8fe3f7676
Pass room creation opts for new rooms into RoomView
2021-03-01 17:54:53 +00:00
Michael Telatynski
483d56320c
Beginning of space creation UX from space panel
2021-03-01 17:47:40 +00:00
Michael Telatynski
ea61b18c18
Iterate Space Panel alignments
2021-03-01 17:02:02 +00:00
Michael Telatynski
ce64863326
Annotate User Menu handle with currently selected space
2021-03-01 15:53:16 +00:00
Michael Telatynski
d248a5fa5d
Merge pull request #5689 from matrix-org/t3chguy/spaces2
...
Space Store and Space Panel for Room List filtering
2021-03-01 09:42:04 +00:00
Travis Ralston
e43853d6b0
Use a small fractional value instead
2021-02-27 12:02:24 -07:00
David Baker
11ba9e0601
Merge pull request #5690 from matrix-org/dbkr/call_maxheight_nan
...
Null check for maxHeight in call view
2021-02-27 15:05:07 +00:00
Travis Ralston
76ad93b937
Put speed holes in the code
...
We can make read receipts more efficient (and avoid double-animation) by using `PureComponent` which no-ops useless updates for us.
2021-02-26 22:25:50 -07:00
Travis Ralston
b3142d6138
Offset read receipt start positions by 1px
...
As mentioned in 208faf6d46
, the velocity-animate update causes read receipts to occasionally show up 14px to the right of where they should be. This is because the read receipt width is 14px, and velocity-animate will *not* translate `left` if it isn't changing. Unfortunately, it's smart enough to realize that `-0px` is `0px`, so we end up having to specify `1px`.
The comment already mentions it, but this should have no perceived effect for the user. During development I could not tell if the 1px was being applied during the animation, implying that it's a meaningless value. It's a bit unfortunate for those who know that it's translating left by 1px, but hopefully they'll be able to unsee that in time.
2021-02-26 22:24:36 -07:00
Travis Ralston
678ec52035
Merge branch 'develop' into fix-4963
2021-02-26 14:41:28 -07:00
Travis Ralston
855ee068c3
Appease the linter
2021-02-26 13:50:03 -07:00
Travis Ralston
4e27b00cf3
Move call buttons to the room header
...
This is to make some room in the composer for voice messages. The hangup behaviour is intentionally lost by this change as the VOIP UX is intended to rely on dedicated hangup buttons instead.
2021-02-26 13:46:39 -07:00
Šimon Brandner
361420bf68
Use scrollToBottomOnMessageSent
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 18:37:30 +01:00
Šimon Brandner
1387c9f94d
Display scrollToBottomOnMessageSent
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 18:37:25 +01:00
David Baker
b58ce4ccfc
Null check for maxHeight in call view
2021-02-26 14:00:02 +00:00
Michael Telatynski
f21aedc6cf
Add Space Panel with Room List filtering
2021-02-26 10:41:26 +00:00
Šimon Brandner
9a5ba072ba
Fix auxPanel
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 11:23:58 +01:00
Šimon Brandner
11c5aa02d2
Remove mx_RoomView_container
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 11:19:45 +01:00
Šimon Brandner
0d6a9fce67
Remove weird styling
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 11:12:14 +01:00
Šimon Brandner
1a7f9091b4
Animate icon size
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 07:51:03 +01:00
Šimon Brandner
49ea9a4788
Remove sdk import
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 20:10:58 +01:00
Šimon Brandner
7277c285a9
Fix weird crash
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 20:10:38 +01:00
Šimon Brandner
43e1144ae7
Don't use TintableSVG
...
This seemed to have caused a little lag and it was unnecessary
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 19:36:55 +01:00
Šimon Brandner
1c48804d96
Remove unnecessary class
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 19:28:08 +01:00
Šimon Brandner
c1a105f071
Merge branch 'develop' into improve-file-drop-ui
2021-02-25 18:12:37 +01:00
Travis Ralston
fbe5d17785
sanity
2021-02-24 18:27:59 -07:00
Travis Ralston
e2fb9b3ae8
Clean up widgets when leaving the room
2021-02-24 18:10:35 -07:00
Travis Ralston
dee7c7b556
Merge pull request #5567 from SimonBrandner/fix-read-receipts
...
Fix read receipts?
2021-02-24 11:21:42 -07:00
Travis Ralston
83078a67c2
Merge pull request #5678 from matrix-org/hs/fix-usage-alerts
...
Fix MAU usage alerts
2021-02-24 11:21:03 -07:00
Will Hunt
c78d1c49ab
Apply changes from review
2021-02-24 17:32:00 +00:00
J. Ryan Stinnett
c57b49a354
Merge pull request #5673 from SimonBrandner/dont-show-copy-button
...
Add <code> if it's missing
2021-02-24 13:33:39 +00:00
Šimon Brandner
986950697b
Rmove unnecessary code
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 14:10:09 +01:00
Šimon Brandner
024871f59d
Merge branch 'dont-show-copy-button' of https://github.com/SimonBrandner/matrix-react-sdk into dont-show-copy-button
2021-02-24 13:41:16 +01:00
Šimon Brandner
363b753306
Avoid innerHTML
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 13:40:37 +01:00
Šimon Brandner
61cd026d7a
Improve comment
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-02-24 13:07:25 +01:00
J. Ryan Stinnett
9a56a2efa5
Merge pull request #5629 from PunitLodha/punit/add_email_bug_fix
...
Add email only if the verification is complete
2021-02-24 11:28:57 +00:00
Šimon Brandner
2f2c5c9081
Merge branch 'develop' into fix-read-receipts
2021-02-23 18:43:58 +01:00
Will Hunt
84bcdf66f2
Fix TS check
2021-02-23 13:00:05 +00:00
Will Hunt
aa86c1d751
Ensure that a dismissed usage alert toast stays dismissed
2021-02-23 12:51:47 +00:00
Will Hunt
0daed98627
Do not process an older usage event if we've already processed a newer one
2021-02-23 12:51:17 +00:00
J. Ryan Stinnett
3db6a45010
Revert "Merge pull request #5637 from williamkray/wreck/clean-thumbnail-changes"
...
This reverts commit 5c1b38a48c
, reversing
changes made to ec4a39a694
.
2021-02-23 12:03:08 +00:00
Šimon Brandner
ce1be7a4cd
Use length instead of the first element
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-23 07:49:26 +01:00
Šimon Brandner
c9baff1e10
Move the _addCodeElement() call down a bit
...
We can skip this if the first if statement is true
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-23 07:46:03 +01:00
Šimon Brandner
c965119410
Add _addCodeElement method
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-23 07:40:53 +01:00
J. Ryan Stinnett
72ff919512
Merge pull request #5644 from weeman1337/fix-contextmenu-padding
...
Fix context menu leaving visible area
2021-02-22 17:42:09 +00:00
Šimon Brandner
6149567c62
Add <code> if it's missing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-22 13:43:57 +01:00
Šimon Brandner
87a2454556
Revert "Don't show copy button if there is no <code>"
...
This reverts commit c76cc33ebf
.
2021-02-22 13:41:20 +01:00
Šimon Brandner
c76cc33ebf
Don't show copy button if there is no <code>
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-22 13:23:39 +01:00
Germain
bce88efa4f
update isUserOnDarkTheme to return correct theme when use_system_theme is true
...
Signed-off-by: Germain <germain@grabyo.com>
2021-02-21 16:49:30 +00:00
Michael Telatynski
a794bfdd3e
Merge pull request #5665 from matrix-org/t3chguy/spaces1
...
Discard some dead code
2021-02-19 09:50:04 +00:00
Michael Telatynski
3ca5632f6a
Replace ObjectUtils.js with objects.ts
2021-02-19 00:00:10 +00:00
Travis Ralston
10b0051c02
Appease the linter
2021-02-18 15:30:03 -07:00
Travis Ralston
52c73a7a58
Add developer tool to explore and edit settings
2021-02-18 14:56:19 -07:00
Šimon Brandner
5a6e393fa2
Removed spell-check-languages
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 20:13:55 +01:00
Šimon Brandner
1ba512af2a
Use getSpellCheckLanguages() instead of a setting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 20:12:48 +01:00