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
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
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
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
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
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
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
Š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
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
Šimon Brandner
305d64cda8
Removed log
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 20:09:39 +01:00
Šimon Brandner
2ebc1252cb
Removed unnecessary functions
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 19:54:54 +01:00
Šimon Brandner
ed02503462
Fix one more license
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 19:41:19 +01:00
Šimon Brandner
5de99c7708
Fix licenses
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 19:40:24 +01:00
Michael Telatynski
50252483c6
Remove stale unused components
2021-02-18 18:05:41 +00:00
Šimon Brandner
bd0e5446c5
Merge branch 'develop' into feature-multi-language-spell-check
2021-02-18 18:16:16 +01:00
Michael Telatynski
0e7a731d61
Make use of new room canInvite helper
2021-02-18 15:19:16 +00:00
Michael Telatynski
e1acf11e67
Create Room Name & Topic HOCs to simplify code elsewhere
2021-02-18 15:16:59 +00:00
Michael Telatynski
354925c2c8
Improve TS definitions
2021-02-18 15:16:07 +00:00
David Baker
68933c1a3d
Merge pull request #5639 from matrix-org/dbkr/virtual_rooms_v2
...
VoIP virtual rooms, mk II
2021-02-18 13:18:34 +00:00
Šimon Brandner
86fe5f778d
Use modal as a param
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-17 13:32:48 +01:00
Šimon Brandner
a7847f2514
onIsEmptyChanged() -> onChange()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-17 13:25:53 +01:00
Šimon Brandner
9420cc35cc
Added a key
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-17 13:22:19 +01:00
J. Ryan Stinnett
5c1b38a48c
Merge pull request #5637 from williamkray/wreck/clean-thumbnail-changes
...
Improve URL preview formatting and image upload thumbnail size
2021-02-17 11:37:37 +00:00
J. Ryan Stinnett
53c4a1ada5
Merge pull request #5571 from SimonBrandner/improve-layout-handling
...
Use a more generic layout setting - useIRCLayout → layout
2021-02-17 11:02:26 +00:00
David Baker
e787d11c73
Merge remote-tracking branch 'origin/develop' into dbkr/virtual_rooms_v2
2021-02-16 19:41:54 +00:00
Michael Telatynski
b386f0c73b
Merge pull request #5657 from matrix-org/t3chguy/usercontent
...
Remove redundant lockOrigin parameter from usercontent
2021-02-16 18:23:55 +00:00
Michael Telatynski
6cb3381df5
Remove redundant lockOrigin parameter from usercontent
...
now that each Element has its own, and not usercontent.riot.im
it only has to permit its own origin
2021-02-16 18:03:12 +00:00
Šimon Brandner
5072fb0608
Merge branch 'develop' into improve-layout-handling
2021-02-15 16:12:08 +01:00
Šimon Brandner
65ef4f2f22
Removed the commented out code
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-15 16:05:14 +01:00
PunitLodha
0902936d39
Add phone number only if verification is complete
2021-02-14 18:21:39 +05:30
PunitLodha
74a6c1e8d8
Dont clear email if verification cancelled by user
2021-02-14 18:21:12 +05:30
David Baker
196507a730
VoIP virtual rooms, mk II
...
Does a thirdparty protocol lookup to the homeserver to get the
corresponding native/virtual user for a matrix ID. Stores the
mappings in room account data. Involves some slightly nasty workarounds
for that fact that room account data has no local echo.
2021-02-12 20:55:54 +00:00
Šimon Brandner
130e4f7bfd
Added some styling
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 17:06:02 +01:00
Šimon Brandner
97f5b6920c
Check if the method is defined before calling it
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 16:48:46 +01:00
Šimon Brandner
2b4859a858
Merge branch 'develop' into fix-4963
2021-02-12 16:30:01 +01:00
Šimon Brandner
b269517149
Removed wrapper
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:52:42 +01:00
Šimon Brandner
ba2c68819f
Removed showSendButton setting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:45:06 +01:00
Šimon Brandner
35c0cb99d0
Use isComposerEmpty for send button
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:45:03 +01:00
Šimon Brandner
50b0a78132
Renamed composerEmpty to isComposerEmpty
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:44:22 +01:00
Šimon Brandner
42a48ee27d
Added composerEmpty property
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:44:22 +01:00
Šimon Brandner
98757bb6cf
Extract send button into a function
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:44:16 +01:00
Šimon Brandner
17f09d3b7a
Added onIsEmptyChanged prop
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:16:07 +01:00
Šimon Brandner
d8a9b84af9
Don't show tooltip if there is nothing to display
...
We do this because resource is undefined for @room
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 14:28:39 +01:00
Šimon Brandner
a975de22ef
Fixed buggy tooltip
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 11:27:14 +01:00
Šimon Brandner
f2137fe93f
Merge branch 'develop' into show-room-name
2021-02-12 08:21:40 +01:00
Šimon Brandner
33979b3354
Added a tooltip
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 08:18:27 +01:00
Michael Telatynski
da6f1e559b
Merge pull request #5634 from jaiwanth-v/add-loading-TextInputDialog
...
Added loading and disabled the button while searching for server
2021-02-11 12:22:27 +00:00
Jaiwanth
20dc8dbb32
Update src/components/views/dialogs/TextInputDialog.js
...
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-02-11 17:39:12 +05:30
Jaiwanth
61c6033de7
Update src/components/views/dialogs/TextInputDialog.js
...
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-02-11 17:38:58 +05:30
Jaiwanth
6c252a87a1
Update src/components/views/dialogs/TextInputDialog.js
...
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-02-11 17:38:46 +05:30
Jaiwanth
3fc6d73158
Added loading and disabled the button while searching for server
...
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-02-11 17:28:02 +05:30
J. Ryan Stinnett
fa5df314a1
Merge pull request #5450 from matrix-org/jaywink/hosting-provider-iframe
...
Add host signup modal with iframe
2021-02-10 13:53:15 +00:00
Šimon Brandner
6b0b46b917
Fix duplication caused by highlighting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-10 14:20:19 +01:00
Šimon Brandner
895be6e7a6
Added second comment back
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-10 14:02:45 +01:00
Šimon Brandner
5cf126dea3
Added comment back
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-10 13:41:24 +01:00
Šimon Brandner
b97d8979c7
Remove nested for loop
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-10 13:18:23 +01:00
Jason Robinson
23140a84ff
Remove host signup config strings, make translatable instead
...
Also replace the icon in the UserMenu and change the text, requested from design.
2021-02-10 13:38:32 +02:00
Jason Robinson
dc549a9e4b
Address some more pr feedback
2021-02-09 22:41:40 +02:00
Šimon Brandner
4a7bc74e99
Fix duplication of codeblock elements
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-09 19:46:30 +01:00
Jason Robinson
2197c1e519
Address some of the PR feedback
2021-02-09 20:13:58 +02:00
Michael Telatynski
59069f95e9
Merge pull request #5631 from SimonBrandner/avoid-delay-on-screen-share
...
Avoid delayed displaying of sources in source picker
2021-02-09 12:26:29 +00:00
Šimon Brandner
27b2b5b65d
Make componentDidMount async
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-09 13:19:12 +01:00
Šimon Brandner
98e602f544
Avoid delayed displaying of sources
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-09 13:07:23 +01:00
Jason Robinson
c92a930d0a
Fix positioning of minimize action and add titles
2021-02-09 12:40:12 +02:00
Jason Robinson
ad5b40b5ba
Allow popups from host signup dialog
2021-02-09 12:29:23 +02:00