J. Ryan Stinnett
33e8edb3d5
Merge pull request #5720 from czeidler/key-bindings
...
Decouple key bindings from event handling
2021-03-26 15:14:38 +00:00
Michael Telatynski
83612dd4ad
Merge pull request #5792 from matrix-org/t3chguy/spaces4.12
...
Fixing spaces papercuts
2021-03-26 15:01:31 +00:00
Michael Telatynski
9fb653e522
Fix room space invite button for public spaces
2021-03-26 11:43:01 +00:00
Travis Ralston
1419ac6b69
Hook up a clock and implement proper design
2021-03-25 17:12:26 -06:00
Panagiotis
97c7f3753b
fix: save editor state when reply is open
2021-03-25 20:58:39 +02:00
Michael Telatynski
5061db259a
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/spaces4.12
2021-03-25 16:37:56 +00:00
Michael Telatynski
7316eb052b
delint
2021-03-25 14:10:01 +00:00
Michael Telatynski
5e00818d70
Fix new space invite button in the room intro
2021-03-25 11:38:14 +00:00
Michael Telatynski
760b11f214
Merge pull request #5789 from matrix-org/t3chguy/spaces4.11
...
Tweak and fix some space features
2021-03-25 09:02:11 +00:00
Travis Ralston
449e028bbd
Actually use a waveform instead of the frequency data
2021-03-24 23:31:02 -06:00
Travis Ralston
8ddd14e252
Early concept for rendering the frequency waveform
2021-03-24 22:17:45 -06:00
Michael Telatynski
d3cdd38ff4
delint some more
2021-03-24 20:11:23 +00:00
Michael Telatynski
8369d42dd0
Hoist activeSpace tracking from RoomList to LeftPanel
2021-03-24 19:43:09 +00:00
Travis Ralston
da7d31aeb6
Merge pull request #5686 from robintown/reply-commands
...
Support replying with a message command
2021-03-24 09:56:56 -06:00
Travis Ralston
8587ec888b
Merge pull request #5769 from matrix-org/travis/voice-messages/exp
...
Labs feature: Early implementation of voice messages
2021-03-24 09:56:34 -06:00
Michael Telatynski
65a7d0621d
Add invite to space button to room intro
2021-03-24 15:30:03 +00:00
Michael Telatynski
a2a1e37fa3
Add prompt to bottom of room list to invite to space
2021-03-24 14:18:06 +00:00
Travis Ralston
b7e653268b
Rename function
2021-03-23 18:19:14 -06:00
Travis Ralston
e352ed1908
Run audio through the Web Audio API instead
...
This leads to more reliable frequency/timing information, and involves a whole lot less decoding.
We still maintain ongoing encoded frames to avoid having to do one giant encode at the end, as that could take long enough to be disruptive.
2021-03-22 19:32:37 -06:00
Germain Souquet
0db31dfeae
fix: CIDER formatting buttons on Safari
2021-03-22 15:05:22 +00:00
Šimon Brandner
4bb279b632
Merge branch 'develop' into resizable-call-view
2021-03-22 07:57:52 +01:00
Jaiwanth
495cbadb08
Update src/components/views/rooms/RoomTile.tsx
2021-03-19 22:46:19 +05:30
Jaiwanth
70e0b77fc4
Changed invite phrases in context menu and invite dialog
2021-03-19 21:32:52 +05:30
Jaiwanth
b2a72565d3
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into add-invite-to-context-menu
2021-03-19 20:28:10 +05:30
Travis Ralston
1d9d0cd7be
Convert a bunch more js-sdk imports to absolute paths
...
Turns out a lot of the typescript warnings about improper warnings were correct. TypeScript appears to be pulling in two copies of the js-sdk when we do this, which can lead to type conflicts (or worse: the wrong code entirely). We fix this at the webpack level by explicitly importing from `src`, but some alternative build structures have broken tests because of this - jest ends up pulling in the "wrong" js-sdk, breaking things.
2021-03-18 20:50:34 -06:00
Travis Ralston
0f09eb3214
Add more notes
2021-03-17 00:12:03 -06:00
Travis Ralston
c7b72bc4c4
Appease the linter
2021-03-16 23:57:27 -06:00
Travis Ralston
f0d5edbc37
Render voice messages as audio messages for now
2021-03-16 23:48:47 -06:00
Travis Ralston
9aa5348c7f
Show a stop button to stop the recording
2021-03-16 23:43:59 -06:00
Travis Ralston
dafa8786a1
Fix comments
2021-03-16 23:43:22 -06:00
Travis Ralston
b5d32d92f3
Wire up a simple record button
2021-03-16 22:58:44 -06:00
Šimon Brandner
787a62846e
Merge branch 'develop' into resizable-call-view
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-16 07:55:56 +01:00
Šimon Brandner
b27a8e3c3a
Merge branch 'develop' into improve-image-view
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-14 08:30:28 +01:00
Clemens Zeidler
2a21d45ac0
Merge branch 'develop' into key-bindings
2021-03-12 16:44:12 +13:00
Travis Ralston
a9a4bd50ca
Merge branch 'develop' into travis/media-customization
2021-03-11 08:37:49 -07:00
Travis Ralston
229a95f190
Merge pull request #5734 from matrix-org/travis/skinning/pt3-easy-comps
...
[SK-3] Decorate easy components with replaceableComponent
2021-03-11 07:26:20 -07:00
Travis Ralston
88a2bdb119
Change read receipt drift to be non-fractional
...
I suspect this is what is causing issues in Firefox for read receipts not falling down.
2021-03-10 16:47:27 -07:00
Travis Ralston
fa5d98c319
Convert cases of getHttpUriForMxc to new media customisation
2021-03-10 12:32:18 -07:00
Travis Ralston
1ac12479ca
Convert cases of mxcUrlToHttp to new media customisation
2021-03-10 12:32:18 -07:00
Travis Ralston
e5180a472f
Merge branch 'develop' into travis/skinning/pt3-easy-comps
2021-03-10 12:30:06 -07:00
Michael Telatynski
98338f1505
Merge pull request #5736 from matrix-org/t3chguy/spaces4.5
...
Spaces suggested rooms support
2021-03-10 10:56:17 +00:00
Travis Ralston
f25db38b2b
Add tooltips to sent/sending receipts
...
Fixes https://github.com/vector-im/element-web/issues/16649
2021-03-09 21:13:23 -07:00
Travis Ralston
71b8959d3c
Apply suggestions from code review
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-03-09 09:36:17 -07:00
Michael Telatynski
cf2c790699
Pass OOB data for suggested rooms
2021-03-09 13:41:06 +00:00
Michael Telatynski
81e1f36c4b
Tidy up TemporaryTile now that it isn't temporary
2021-03-09 11:19:41 +00:00
Travis Ralston
c5935dbc61
Batch of views getting replaceableComponent decorators
2021-03-08 20:23:46 -07:00
Travis Ralston
761ced13f2
Merge pull request #5719 from matrix-org/travis/file-representation
...
UI refresh for uploaded files
2021-03-08 08:52:43 -07:00
Travis Ralston
d35afe6fbb
Merge pull request #5699 from matrix-org/travis/message-states
...
Improve message sending states to match new designs
2021-03-08 08:52:26 -07:00
Michael Telatynski
6a5efad142
Show suggested rooms from the selected space
2021-03-08 15:52:21 +00:00
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
Clemens Zeidler
efc5d413c4
Fix missing import (from earlier merge conflict)
2021-03-05 22:13:47 +13: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
Clemens Zeidler
4a6f931782
Merge branch 'develop' into key-bindings
2021-03-04 21:10:35 +13:00
Šimon Brandner
d244ea3b14
Don't use onResize
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-03 16:42:27 +01: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
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
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
Michael Telatynski
ca1bd78921
Add space specific variant of the dropdown on "Rooms +" sublist
2021-03-02 14:20:29 +00:00
Šimon Brandner
4e9d19d3b0
Pass resizeNotifier into CallViewForARoom
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 14:09:11 +01: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
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
ebedd3cbcb
Remove space
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-02 07:41:14 +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
Clemens Zeidler
601be50b71
Split KeyAction into multiple enums
...
This gives some additional type safety and makes enum member usage more
clear.
2021-03-01 21:43:00 +13:00
Clemens Zeidler
32ec8b7dc8
Add key bindings for RoomList, Room and Navigation
2021-02-28 20:13:34 +13:00
Travis Ralston
e43853d6b0
Use a small fractional value instead
2021-02-27 12:02:24 -07: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
1a7f9091b4
Animate icon size
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 07:51:03 +01:00
Robin Townsend
563620484d
Support replying with a message command
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-02-25 14:59:47 -05: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
dee7c7b556
Merge pull request #5567 from SimonBrandner/fix-read-receipts
...
Fix read receipts?
2021-02-24 11:21:42 -07:00
Šimon Brandner
bd5efc7ceb
Pass permallinkCreator to ImageView
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 19:11:08 +01: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
Michael Telatynski
3ca5632f6a
Replace ObjectUtils.js with objects.ts
2021-02-19 00:00:10 +00: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
Š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
Clemens Zeidler
54c38844d2
Use key bindings in BasicMessageComposer
2021-02-17 22:00:48 +13:00
Jaiwanth
ee54327733
Update src/components/views/rooms/RoomTile.tsx
2021-02-16 18:59:22 +05:30
Clemens Zeidler
c84ad9bedc
Use key binding for cancelling a message reply
2021-02-16 19:12:18 +13:00
Clemens Zeidler
ac7963b509
Fix lint and style issues
2021-02-16 19:05:51 +13:00