f2d73793ee
delint again
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-10-09 12:51:08 +02:00
9331ca9d07
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-10-09 12:51:08 +02:00
6be318b59d
Only insert ELS if it'll be non-empty
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-10-09 12:51:08 +02:00
efde7f289f
Use EventListSummary on m.room.create events and state events thereafter
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-10-09 12:50:03 +02:00
abf111ecbd
Migrate away from React.createClass for non-auth structures. React 16 :D
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-08-30 10:34:59 +01:00
674f33917f
Remove editing feature flag
...
Part of https://github.com/vector-im/riot-web/issues/10282
2019-07-17 16:56:15 +01:00
429b8e94df
MELS handle m.room.third_party_invite
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-07-03 08:58:34 +01:00
8394e162ad
cache setting where it's easy
2019-06-24 16:53:31 +02:00
5fa3f70fb4
feature flag for displaying edits as well
2019-06-21 18:32:15 +02:00
c4fc2a8089
remove redundant localecho part from method name
2019-06-18 14:57:58 +02:00
02c9e29937
use renamed method that also takes local redactions into account now
2019-06-18 13:47:33 +02:00
41e41269dc
use EditorStateTransfer to pass on state to newly mounted editor
2019-06-12 18:52:34 +02:00
4956dcf45e
Merge pull request #3056 from matrix-org/jryans/read-receipts-relations-review
...
Ensure we always show read receipts even with hidden events
2019-06-04 16:24:05 +01:00
8e811fc78e
Use the existing room object
...
For some reason, we were getting the room object for every event during read
receipt processing, even though it has been passed in as a prop already.
2019-06-04 16:01:02 +01:00
06547ef5b3
Cache hidden events setting
...
Settings is too expensive to query in a hot code path, so this caches the value
on the MessagePanel component instead.
2019-06-04 16:01:02 +01:00
e5abb2e089
Add more read receipt comments
2019-06-04 11:12:52 +01:00
4cea2f0af1
Ensure we always have receipts for users we've seen
...
This adds additional receipt storage to so that we can handle cases where the
receipts and events lists get out of sync. If we ever find a user who previously
had a receipt but momentarily no longer does, we recover their previous receipt
and go with that until we hear something new.
Part of https://github.com/vector-im/riot-web/issues/9745
2019-06-03 15:05:03 +01:00
f8eb449dd7
Show read receipts for hidden events on last shown event
...
This changes how we determine read receipts for the entire message panel. We now
calculate read receipts for all events up front, which makes it easier to handle
hidden events by moving their read receipts up to the last shown event for
display purposes.
Part of https://github.com/vector-im/riot-web/issues/9745
2019-06-03 15:05:03 +01:00
91e86d2b02
Fix linting in MessagePanel
2019-06-03 15:03:59 +01:00
4626581dbe
scroll event into view when starting to edit
2019-05-24 15:38:51 +02:00
238e967470
Only show reactions in main message timeline
...
This fixes an error that crashed that notifications panel because it was trying
to read reactions, even though we currently don't aggregate them there. This
change is more explicit about exactly which views should try to show reactions.
Fixes https://github.com/vector-im/riot-web/issues/9713
2019-05-21 18:27:10 +01:00
868c99d140
Hide WhoIsTyping component if the MessagePanel is shaped e.g file grid
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-05-20 21:53:15 +01:00
1368a5eb80
Merge pull request #2996 from matrix-org/bwindels/composerdesign
...
Message editing: apply design
2019-05-20 08:42:41 +00:00
45cdf880b1
Change setting style
2019-05-17 17:43:08 +01:00
3a405701a3
Debug: Show all events
2019-05-17 16:34:01 +01:00
9a3752c571
show message editor in textual body instead of replacing event tile
2019-05-17 15:30:07 +01:00
3ef631191b
show sending status for replacements as well on local echo
2019-05-16 14:44:00 +01:00
5805a88ab9
adjust to js-sdk changes of marking original event as replaced
2019-05-15 11:54:26 +01:00
6599d605cd
wire up editor component (somewhat hacky)
2019-05-14 15:38:16 +01:00
8fdb59a909
Use basic read path from JS SDK for reactions
...
This displays existing reactions correctly in the action bar and reaction row,
but it doesn't yet update after a new reaction is sent.
2019-05-10 17:19:27 +01:00
74189b2164
Fix indentation in MessagePanel
2019-05-10 17:19:27 +01:00
3e13a11372
restore scroll position after hiding typing notifs with checkScroll
2019-03-20 17:38:05 +01:00
85d305430f
no need for forceUpdate here
2019-03-20 17:37:34 +01:00
f164a78eaa
reimplement typing notif timeline shrinking prevention
...
instead of setting a min-height on the whole timeline,
track how much height we need to add to prevent shrinking
and set paddingBottom on the container element of the timeline.
2019-03-20 17:10:30 +01:00
1bdbf3086f
emit timeline_resize in MatrixChat based on ResizeNotifier
...
as it's used in PersistentElement which could be used at various places
2019-03-15 10:16:21 +01:00
891e343df6
create ResizeNotifier to derive which areas of the app resize and emit
2019-03-15 10:16:21 +01:00
4e382b1dd9
rename onWidgetLoad to onHeightChanged
...
as it's easy to confuse it with room widgets, but has nothing to do with it.
2019-03-07 17:02:19 +01:00
8bb8ec141e
clear min-height on timeline resets and other occasions where we load it
2019-02-26 10:49:03 +01:00
32f055bec2
clarify why we need this
2019-02-26 10:49:03 +01:00
db7203ed71
make sure the min-height doesn't get cleared by checkScroll
2019-02-26 10:49:03 +01:00
f7ea9cfeb2
rename all instances of permalinkCreator
2019-02-25 18:43:08 +01:00
f97ea37717
permalink is one word
2019-02-25 18:43:08 +01:00
29be28919d
create permalink creator in roomview and pass it on to the event tiles
2019-02-25 18:43:08 +01:00
3d393b654b
clear min-height on ScrollPanel::componentDidUpdate to catch all cases
2019-02-04 18:27:22 +00:00
25aa58f29f
increase/clear min-height on timeline on new message(s)
...
depending on whether the typing bar is visible
2019-01-21 17:35:40 +01:00
c9d5c4903b
set min-height of messagelist to current height when showing typing bar
...
this ensures the timeline never shrinks, and avoids jumpiness when
typing bar disappears again.
2019-01-18 18:53:54 +01:00
0212df922a
dont render who is typing tile when no room available (like in notif panel)
2018-11-30 13:59:00 +01:00
8ddd2dd078
scroll down when showing typing notif and stuck at bottom
2018-11-13 09:15:16 +01:00
7df47cbc87
move typing notifications to WhoIsTypingTile, shown in ScrollPanel
2018-11-12 16:09:51 +01:00
5128386160
allow read receipts without an existing member in MessagePanel
2018-10-10 16:15:20 +02:00