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
0767c278e7
put userId next to member in read receipt, fall back when member missing
2018-10-10 16:14:09 +02:00
7d19841e68
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-06-16 09:48:57 +01:00
61e09395d0
split continuations if longer than N
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-06-16 09:45:06 +01:00
01dd494f50
Make stickers/messages continuations of each other
2018-04-06 17:47:44 +01:00
008572afe1
Revert "Handle non-m.room.message event types."
...
This reverts commit f8d7ab10fa
.
2018-04-06 16:42:59 +01:00
ff0834ad9d
Add comment.
2018-03-29 21:31:09 +01:00
b2bf4d4709
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into rxl881/snapshot
2018-02-23 15:37:33 +00:00
f8d7ab10fa
Handle non-m.room.message event types.
2018-01-17 17:19:20 +00:00
b526fc057c
Add formatFullDateNoTime to DateUtils and stop passing 12/24h to DateSep
2018-01-14 18:32:17 +00:00
1a7dc22a8d
make wantsDateSeparator generic and throw into DateUtils
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-01-10 12:06:24 +00:00
35780f5ae0
Remove use of deprecated React.PropTypes
...
Replace all uses of React.PropTypes with PropTypes and importing PropTypes from
'prop-types'.
2017-12-26 14:03:18 +13:00
ae10a11ac4
Convert synced settings to granular settings
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-10-29 01:43:52 -06:00
39fa866d68
Merge pull request #1535 from matrix-org/luke/fix-interactable-greyed-ui
...
Swap from `ui_opacity` to `panel_disabled`
2017-10-25 15:47:18 +01:00
b1f2a6c1e9
Dramatically simplify use of mx_fadable
...
by applying it to parent elements of things that need to be faded.
2017-10-25 15:15:49 +01:00
1bbc26a27f
fix missing date sep caused by hidden event at start of day
...
if first event in day was hidden, the date sep would go missing as the next event would compare its date to the hidden one instead of the one before it
due to naive N-1 check rather than a previous valid event comparison, now fixed by comparing date against the first event in MELS instead.
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-10-25 12:52:51 +01:00
2f8f2ce76e
Swap from ui_opacity
to panel_disabled
...
to simplify the process of disabling panels in the UI.
2017-10-25 11:23:51 +01:00
d3f9a3aeb5
Run eslint --fix
...
Fixing 1000s of lint issues. Some rules cannot be `--fix`ed but this goes some way to linting the entire codebase.
2017-10-11 17:56:17 +01:00
b06d540f4c
Merge pull request #1388 from matrix-org/t3chguy/start_mels_expanded
...
start MELS expanded if it contains a highlighted/permalinked event.
2017-09-17 22:09:44 +01:00
0363f73e28
Fix the MessagePanel test
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-14 20:57:28 -06:00
6e00f70320
Hide read receipts and typing notifs for ignored users
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-14 20:25:51 -06:00
2e72d6cd7c
Hide events that were sent by ignored users
...
This code only kicks in if the user was ignored after an event was sent. The homeserver should prevent other events from coming in.
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-14 20:16:56 -06:00
f612b1933b
start MELS expanded if it contains a highlighted/permalinked event.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-09-14 17:53:47 +01:00
609d61d53c
Revert "Implement sticky date separators"
2017-09-06 17:40:58 +01:00
a29e7da06b
Merge branch 'develop' into luke/feature-sticky-date-separators
2017-08-30 14:06:06 +01:00
d516906b36
Implement sticky date separators
...
Use `react-sticky` to implement sticky date separators. This will pin a date separator to the top of the timeline panel when the separator scrolls out of the top of the view.
A known issue of this is that the spinner, which is in line with event tiles in the timeline, will appear to push the stuck date separator down. In reality the first date separator after the spinner is in line with event tiles and is not stuck because the spinner forces the timeline to be scrolled slightly further down than it would be otherwise. But also, date separators in the timeline (not "stuck") have a greater height.
Ideally the date separator would be suppressed whilst back paginating, but this will cause the stuck separator to flicker on and off. This is why the suppression has been removed.
2017-08-30 13:52:46 +01:00
282618d5a1
separate concepts of showing and managing RRs to fix regression
2017-08-30 13:18:14 +01:00
615d96a065
catch hidden event being RM
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-08-18 11:53:52 +01:00
14903274c0
Change OOO so that MELS generation will continue over hidden events
...
this fixes the scenario of N Member events, then an invisible event
e.g. (m.room.aliases) then more Member events. Pre hide-join-parts
this is how it worked.
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-08-16 13:20:32 +01:00
0079e70006
Display RM when it = a standalone member event
...
Standalone = not next to any member events in the timeline.
fixes vector-im/riot-web#4694
2017-08-14 15:40:49 +01:00
3eb87e2aa3
change lastShownEventIndex -> lastShownEvent since some places
...
do not have the same i reference (namely MELS generation)
this way a member event at bottom of MELS (if is the last event
in the timeline will have last set appropriately)
2017-07-26 12:17:05 +01:00
a4abd1baa7
fix comment and remove unused const
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-07-22 12:03:32 +01:00
ae973e1e99
unrevert some more...
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-07-22 11:37:21 +01:00
7e355f7cda
unrevert most of the logic.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-07-21 23:18:18 +01:00
1fa4fe0b9a
remove comments/commented code
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-07-21 22:51:31 +01:00
5808fce60e
fix logic ordering
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-07-21 22:45:19 +01:00
17758cd1db
attempt to incorporate more code #2
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-07-21 20:43:03 +01:00
e47e14ed19
attempt to incorporate more code #1
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-07-21 20:22:01 +01:00
8c333dc3f7
remove debug and add comment
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-06-16 14:39:31 +01:00
f0f721aa32
make hiding redactions use new pattern
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-06-15 20:22:38 +01:00
cebb7182f0
try to make hiding events work with read markers
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-06-15 20:17:59 +01:00