Commit Graph

12873 Commits

Author SHA1 Message Date
Travis Ralston c5935dbc61 Batch of views getting replaceableComponent decorators 2021-03-08 20:23:46 -07:00
Travis Ralston fc5b1ed9d6 Batch of views getting replaceableComponent decorators 2021-03-08 20:23:39 -07:00
Travis Ralston c359dff738 Batch of views getting replaceableComponent decorators 2021-03-08 20:23:34 -07:00
Travis Ralston 3e189d2728 Batch of views getting replaceableComponent decorators 2021-03-08 20:23:29 -07:00
Travis Ralston c230a75eda Flag structural components as replaceable 2021-03-08 20:23:24 -07:00
Matthew Hodgson d388f877b4 add PHASE_LOADING to SetupEncryptionStore to avoid flashing cross-signing setup 2021-03-08 23:28:44 +00:00
Panagiotis 9287e8dfa4 use isEncrypted, edit state events 2021-03-08 22:15:34 +02:00
Panagiotis 7963d7f49e address PR comments
cleanup, change to isEncrypted, comments
2021-03-08 21:21:37 +02:00
Matthew Hodgson 14b828ecc6 shorten verify button label 2021-03-08 17:58:30 +00:00
Matthew Hodgson 1629b7e62a s/IP/ip/; s/from/at/ 2021-03-08 16:44:14 +00:00
J. Ryan Stinnett b12cf7912a Merge pull request #5624 from SimonBrandner/show-room-name
Display room name in pills instead of address
2021-03-08 16:27:43 +00:00
Travis Ralston 52621946de Merge pull request #5723 from matrix-org/travis/uploads
Refresh UI for file uploads
2021-03-08 08:52:51 -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 fdea45ad74 Add a quick sender check to isLastSuccessful 2021-03-08 08:51:57 -07:00
J. Ryan Stinnett fca1639e0e Merge pull request #5725 from HelderFSFerreira/addClipboardWritePermission
Add clipboard write permission for widgets
2021-03-08 14:38:23 +00:00
David Baker 0aea8b9efd Merge pull request #5722 from matrix-org/dbkr/fix_widget_resize
Fix widget resizing
2021-03-08 13:47:29 +00:00
David Baker d71999114b Merge pull request #5707 from matrix-org/dbkr/audiostream
Option for audio streaming
2021-03-08 11:50:45 +00:00
Michael Telatynski 6106e01ab4 Collapse redactions into an event list summary 2021-03-08 09:39:07 +00:00
Helder Ferreira f545866572 add clipboard write permission 2021-03-08 08:08:02 +00:00
Matthew Hodgson 7abc48a716 lint 2021-03-08 05:30:02 +00:00
Matthew Hodgson 997d6e1281 lint 2021-03-08 05:08:01 +00:00
Matthew Hodgson c02d03cc5b Merge branch 'develop' of git+ssh://github.com/matrix-org/matrix-react-sdk into develop 2021-03-08 04:57:10 +00:00
Matthew Hodgson aa0cca9306 report IP of self-verification reqs 2021-03-08 04:46:47 +00:00
Matthew Hodgson 5b48e13eb9 add explicit link to edit devices from one's own UserInfo 2021-03-08 04:46:15 +00:00
Matthew Hodgson 6df8157a40 cancel VRD at the Modal level, so clicking in the bg cancels it 2021-03-08 04:45:44 +00:00
Matthew Hodgson 7673818400 switch to using an explicit verify button when cross-signing a new login 2021-03-08 04:43:59 +00:00
Panagiotis df52ec28d6 fix: show edit button only if you have permission 2021-03-06 17:09:46 +02:00
Panagiotis 29b95e6083 fix: make edit prefill work correctly from EditHistory
handle encrypted and unencrypted events

get the correct event_id (the base message) when called from EditHistoryMessage

keep only the `body` and `msgtype` fields when prefilling
2021-03-06 16:47:29 +02:00
Panagiotis 51ac5421c9 chore: refactor code
pass only the mxEvent object to ViewSource
derive the necessary values inside the component
2021-03-06 11:30:31 +02:00
Travis Ralston 757597e55f Fixed review concerns 2021-03-05 16:29:14 -07:00
Travis Ralston 08072aca9a Add upload icon, fix cancel button, refresh styles 2021-03-05 14:42:15 -07:00
Travis Ralston fa41489d5a Refactor UploadBar into component state 2021-03-05 14:24:53 -07:00
Travis Ralston 711181cc69 Rough style for new upload bar
This repurposes ProgressBar which was not used anywhere in code.
2021-03-05 14:14:43 -07:00
Travis Ralston bb80cfb9a6 Convert all of file uploads to the new dispatcher 2021-03-05 13:20:50 -07:00
Travis Ralston ae9618367e Convert UploadBar to TypeScript 2021-03-05 13:06:53 -07:00
Panagiotis ed6486aabb Merge branch 'improve-view-source' into edit-view-source 2021-03-05 21:44:43 +02:00
Will Hunt d07069238f Merge remote-tracking branch 'origin/develop' into hs/blocked-err 2021-03-05 18:50:00 +00:00
Travis Ralston f87f2b11ef Appease the linter 2021-03-05 11:05:56 -07:00
Panagiotis 2c64dac514 fix: show decrypted source on EditHistory -> ViewSource
pass correct props to the component
2021-03-05 19:57:37 +02: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
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