Šimon Brandner
c3ad8b4eed
Cleanup re-dispatching around timelines and composers ( #7023 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-10-25 11:43:54 +00:00
Šimon Brandner
ceb4c7e368
Add insert link button to the format bar ( #5879 )
2021-10-25 10:56:55 +01:00
Aaron Raimist
bdc56be863
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-10-22 17:23:37 -05:00
Germain
e20ac7bf1e
Implement deep-linking for threads (matrix.to) ( #7003 )
2021-10-22 09:30:36 +01:00
Germain
35b5109c2a
Fix threads broken layout ( #6997 )
2021-10-20 18:14:24 +01:00
Robin Townsend
2ee732b84d
Update style of composer format bar to match message action bar ( #6351 )
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-10-20 09:19:54 -06:00
Germain
694ec946e2
Allow quote-reply in thread view element-web ( #6959 )
2021-10-19 16:05:34 +01:00
Travis Ralston
c0c5641181
Merge pull request #6975 from matrix-org/travis/runtime-errors
...
Fix runtime react errors for various parts of the app
2021-10-19 07:35:15 -06:00
Germain Souquet
df407ef3a8
Fix EventTileSummary layout for message bubbles
2021-10-19 09:31:28 +01:00
Germain Souquet
9319f07291
Revert "Fix threads with bubbles rendering ( #6971 )"
...
This reverts commit a2bc090607
.
2021-10-19 09:16:40 +01:00
Travis Ralston
7babdd9c9d
Ternary
2021-10-18 15:40:06 -06:00
Dariusz Niemczyk
f8b6f13105
Fix timeline scrolling when sending threads ( #6974 )
...
Fix https://github.com/vector-im/element-web/issues/19412
2021-10-18 20:50:06 +01:00
Travis Ralston
dad1d3f131
Fix runtime react errors for various parts of the app
...
These are just the ones that were causing console flooding on reload in development.
* Elements in a list need a `key`
* `super()` needs to be supplied with the same props as the parent
* `<div>` (AccessibleButton) cannot be a descendant of `<p>` - this was a problem in the NewRoomIntro "Add topic" button
* `label` is a non-boolean property and cannot receive "false"
2021-10-18 13:47:42 -06:00
David Baker
df5f4409ad
Merge pull request #6965 from SimonBrandner/feature/end-of-line-emoji
...
Convert emoticon to emoji at the end of a line on send even if the cursor isn't there
2021-10-18 17:12:41 +01:00
Germain
77e6e1c0ab
Merge pull request #6960 from matrix-org/gsouquet/rename-replythread
2021-10-18 17:11:31 +01:00
Dariusz Niemczyk
a2bc090607
Fix threads with bubbles rendering ( #6971 )
...
Fixes https://github.com/vector-im/element-web/issues/18958
2021-10-18 15:41:05 +01:00
Dariusz Niemczyk
5290afcc4c
Replace console.warn with logger.warn
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-18 14:08:23 +02:00
Dariusz Niemczyk
5e73a212f4
Replace console.error with logger.error
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-18 14:08:23 +02:00
Šimon Brandner
1935620e43
Convert emoticon to emoji at the end of a line on send even if the cursor isn't there
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-10-17 09:40:42 +02:00
Germain Souquet
5a7c0d87b6
Rename ReplyThread to ReplyChain to avoid confusion with m.thread
2021-10-15 17:42:44 +01:00
Germain Souquet
ac23afe9f1
Allow EventTile to be rendered with mock events
2021-10-15 15:36:06 +01:00
Germain Souquet
93fc24c875
Adding renderThreadInfo comment to explain data accessor
2021-10-15 14:47:02 +01:00
Germain Souquet
904147b194
Merge branch 'develop' into gsouquet/fix-thread-root-hidden
2021-10-15 14:45:11 +01:00
Dariusz Niemczyk
f8c516d927
Add new thread message preview ( #18958 ) ( #6953 )
...
Closes https://github.com/vector-im/element-web/issues/18958
2021-10-15 14:29:17 +01:00
Germain Souquet
6baa6c8f65
Listen to new thread to render info on timeline
2021-10-15 11:08:33 +01:00
Germain Souquet
17c4cc91af
Reconcile threads root with its children before displaying it
2021-10-15 10:26:04 +01:00
Germain Souquet
99ad603d91
Merge branch 'develop' into gsouquet/threads-relations
2021-10-15 08:43:51 +01:00
Germain Souquet
d315641056
Make threads use 'm.thread' relation
2021-10-14 17:04:27 +01:00
Dariusz Niemczyk
2dd6dddc67
Fix incorrect liveTimeline reference ( #6948 )
...
Fixes https://github.com/vector-im/element-web/issues/19400
2021-10-14 15:37:56 +00:00
Dariusz Niemczyk
562a880c7d
Create room threads list view ( #6904 )
...
Implement https://github.com/vector-im/element-web/issues/18957 following requirements:
* Create a new right panel view to list all the threads in a given room.
* Change ThreadView previous phase to be ThreadPanel rather than RoomSummary
* Implement local filters for My and All threads
In addition:
* Create a new TileShape for proper rendering requirements (hiding typing indicator)
* Create new timelineRenderingType for proper rendering requirements
2021-10-14 15:27:35 +02:00
Michael Telatynski
020eca6922
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/19010
...
Conflicts:
src/components/structures/SpaceRoomView.tsx
src/components/views/rooms/MemberList.tsx
src/components/views/rooms/RoomList.tsx
2021-10-14 11:05:29 +01:00
Travis Ralston
ea7257698c
Merge pull request #6934 from matrix-org/travis/labs/polls
...
Add feature flag for polls and placeholder dialog
2021-10-13 11:28:53 -06:00
Travis Ralston
ad53662704
add comma
2021-10-12 15:26:22 -06:00
Travis Ralston
71c5b02390
Add feature flag for polls and placeholder dialog
...
We're anticipating development of polls soon, so for efficiency reasons we're getting the labs flag in early. If something goes wrong with the plan, this whole change will be reverted.
2021-10-12 15:13:56 -06:00
Travis Ralston
d99660d420
Add customisation point for visibility of invites and room creation
...
Fixes https://github.com/vector-im/element-web/issues/19331
2021-10-12 14:33:29 -06:00
Michael Telatynski
11480e8641
Hide Skeleton UI if you have Suggested Rooms
2021-10-11 10:50:49 +01:00
Andrew Ferrazzutti
65e67003f3
Allow hiding "Sign Up" in the guest preview bar
...
Hide the button when "UIFeature.registration" is set to false in
Element's config.json.
Fixes https://github.com/vector-im/element-web/issues/19264
Signed-off-by: Andrew Ferrazzutti <fair@miscworks.net>
2021-10-03 14:10:09 -04:00
Germain Souquet
597bfc9ca5
Rename changed variable
2021-10-01 15:10:32 +01:00
Germain Souquet
25896880ca
Rename rendering context to timeline rendering type
2021-10-01 14:50:35 +01:00
Germain Souquet
94573568fd
Add reply in thread hint to m.replace relations
2021-10-01 14:49:22 +01:00
Germain Souquet
65c7657e3c
Pass replacingEventId for edits to appear in thread's view
2021-10-01 14:49:08 +01:00
Dariusz Niemczyk
1331e960fa
Add ability to properly edit messages in Threads. ( #6877 )
...
* Fix infinite rerender loop when editing message
* Refactor "edit_event" to Action.EditEvent
* Make up-arrow edit working in Threads
* Properly handle timeline events edit state
* Properly traverse messages to be edited
* Add MatrixClientContextHOC
* Refactor RoomContext to use AppRenderingContext
* Typescriptify test
Co-authored-by: Germain <germains@element.io>
2021-10-01 15:35:54 +02:00
Travis Ralston
fe0a68b71e
Merge pull request #6869 from SimonBrandner/task/src-ts
...
Convert `/src` to TS
2021-09-30 12:48:23 -06:00
Jaiwanth
208b914cb0
Merge branch 'develop' into export-conversations
2021-09-29 19:32:05 +05:30
Michael Telatynski
d6cab320e9
Fix space invite edge cases
2021-09-29 14:04:02 +01:00
Germain
ca3b8e596a
Merge pull request #6873 from matrix-org/gsouquet/threads-action-bar-19127
2021-09-28 15:07:36 +01:00
Dariusz Niemczyk
8331d4c7b7
Happily handle empty text messages ( #6825 )
...
This commig refactors the message-deletion modal and reuses it for case of removing
the entire message and trying to send it, which should trigger removal flow instead.
Fix vector-im/element-web#18873
2021-09-28 15:04:25 +01:00
Germain Souquet
c1165830ed
Create rendering context enum for MessageActionBar
2021-09-28 14:55:00 +01:00
Germain Souquet
e52a33e93c
Merge branch 'develop' into gsouquet/threads-action-bar-19127
2021-09-28 09:34:43 +01:00
Travis Ralston
8e497f8c56
Merge pull request #6871 from psrpinto/fix/close-url-preview-button
...
Fix issue with preview panel close button not appearing for certain messages containing a URL
2021-09-27 13:42:11 -06:00