Bruno Windels
e4d2b6f2b7
fix resize handles being too thick on edge (hopefully)
2018-12-14 17:06:00 +01:00
Bruno Windels
2afdb04db5
prevent jumping on when hovering over invited section
2018-12-14 17:05:01 +01:00
Bruno Windels
9f5a0250bf
Merge pull request #2345 from matrix-org/bwindels/jumptofirstunread-rebased
...
Redesign: restyle jump to first unread message & rework read marker logic (rebased)
2018-12-12 10:13:51 +00:00
Bruno Windels
f49e8b0bda
reduce in-view timeout to 1s
2018-12-12 11:13:09 +01:00
Bruno Windels
e505a9e45c
Merge pull request #2343 from matrix-org/bwindels/addroombuttonalignment
...
Redesign: fix add room button alignment when collapsed
2018-12-12 09:21:12 +00:00
Bruno Windels
6ccbaccc1e
Merge pull request #2342 from matrix-org/bwindels/topleftsignoutdialog
...
Redesign: confirm sign out from top left menu
2018-12-12 09:08:15 +00:00
Bruno Windels
d913f5ca91
Merge pull request #2344 from matrix-org/bwindels/editroomheader
...
Redesign: fix room header avatar in edit mode
2018-12-11 15:41:58 +00:00
Bruno Windels
8045009d81
remove logging
2018-12-11 16:26:23 +01:00
Bruno Windels
408eba7915
Fix: Presence only comes online when UserActivity interrupted activity
2018-12-11 16:25:48 +01:00
Bruno Windels
2b0c2eff1e
Implement 10s in-view/30s out-of-view timeout for moving RM.
...
Uses Timer & changed UserActivity promise based api
2018-12-11 16:19:22 +01:00
Bruno Windels
7f6d581377
Use Timer & new UserActivity api in Presence.
...
The only behaviour that should have changed here is that
presence is also set to online when switching back to the
tab/window.
Presence is not set to unavailable when coming back to the window/tab,
as that might be a bit invasive, but only when timing out.
2018-12-11 16:16:00 +01:00
Bruno Windels
6a248c2e72
Timer in UserActivity, change semantics to "user probably looks at app"
...
Before, UserActivitity emitting actions meant that the user had very recently interaction with their hardware.
Now it means they are likely looking at the app.
You can attach a timer that is aborted when we think the user
stops looking at the page
(or hasn't touched their hardware for 2 minutes).
This works better than the previous approach for larger timeouts,
like the 30s we're about to implement for out-of-view RMs
2018-12-11 15:45:11 +01:00
Bruno Windels
5cd5615b69
Timer class, promise based, so clear/setTimeout doesn't grow unwieldly
2018-12-11 15:43:41 +01:00
Bruno Windels
ac9902e52a
apply redesign to topunreadmessagebar
...
with placeholder for message count
2018-12-11 15:43:00 +01:00
Bruno Windels
d3f655a064
fix avatar in edit mode
2018-12-11 13:11:26 +01:00
Bruno Windels
678a982bbb
dont use more padding than needed so no shrinking happens (my guess)
2018-12-11 13:02:04 +01:00
Bruno Windels
a31dacc4bc
allow logout dialog to be cancelled (can't see why not?)
2018-12-11 12:43:56 +01:00
Bruno Windels
fc57109c54
use logout dialog in topleft menu instead of dispatching logout
2018-12-11 12:43:17 +01:00
Bruno Windels
48cfd08ea6
move logout dialog to own component so we can reuse it
2018-12-11 12:42:52 +01:00
Bruno Windels
e0e87d1e8b
Merge pull request #2341 from matrix-org/bwindels/redesignminimalgroupux
...
Redesign: make community UX usable
2018-12-11 10:20:11 +00:00
Bruno Windels
84044fca1c
fix lint
2018-12-11 11:09:11 +01:00
Bruno Windels
02367742bc
bring back autocomplete attribute
2018-12-11 10:54:36 +01:00
Bruno Windels
3040f2d2e2
remove try/catch as the error is already prevented inside resize
2018-12-11 10:51:14 +01:00
Bruno Windels
a8f9a74920
make mygroups look slightly more in line with redesign
2018-12-10 17:55:30 +01:00
Bruno Windels
6488b01324
fix mergo-error
2018-12-10 17:48:11 +01:00
Bruno Windels
93767fa5f1
fix invite button layout
2018-12-10 17:46:22 +01:00
Bruno Windels
ccf65d5f3c
remove background from group room list header button
2018-12-10 17:45:47 +01:00
Bruno Windels
397e44b7ba
fix query field width
2018-12-10 17:45:30 +01:00
Bruno Windels
cc97b46908
fix group room tiles layout
2018-12-10 17:44:45 +01:00
Bruno Windels
dbe5449d0c
bring invite buttons back in group member / room list
...
also put filter field on bottom
2018-12-10 17:21:55 +01:00
Bruno Windels
f4e61b2bf1
fixup for roomsublist fix
2018-12-10 16:53:04 +01:00
Bruno Windels
fb4a441341
fix navigation to room info in group view
2018-12-10 16:52:45 +01:00
Bruno Windels
75925f6192
room sublist seems to get rendered w/o _scroll element
...
when loading the page from a community url
2018-12-10 16:51:32 +01:00
Bruno Windels
ab728ead72
give group header some padding
2018-12-10 16:51:19 +01:00
Bruno Windels
f987a50fef
make add community icon themeable and give it background so it's visible
2018-12-10 15:43:57 +01:00
Bruno Windels
fe76287035
style communities button, make it visible again
2018-12-10 15:43:48 +01:00
Bruno Windels
10a989a003
make icon optional in action button
...
as we'll draw the icon with css
2018-12-10 15:33:35 +01:00
Bruno Windels
7936e1a0b7
Merge pull request #2321 from matrix-org/bwindels/persistcollapsedandrhssize
...
Redesign: resizer persistence
2018-12-04 09:27:30 +00:00
Bruno Windels
541b0011ac
actually persist right panel width on resize
2018-12-03 10:43:35 +01:00
Bruno Windels
13491e797d
persists & load collapsed room sub lists
2018-12-03 10:39:31 +01:00
Bruno Windels
0212df922a
dont render who is typing tile when no room available (like in notif panel)
2018-11-30 13:59:00 +01:00
Bruno Windels
8f4292399b
Merge pull request #2297 from matrix-org/bwindels/roomlistsizingimprovements
...
Redesign: improve room sub list sizing & persist sizes
2018-11-27 13:40:48 +00:00
Bruno Windels
31902b25b4
Merge pull request #2298 from matrix-org/bwindels/makeroomsettingsusable
...
Redesign: temp solution to make room settings usable
2018-11-27 11:09:11 +00:00
Bruno Windels
887defda9c
temp solution to make room settings usable
...
make mx_fadable not do anything anymore, and make room settings
full size.
Room settings haven't been designed yet, so all of this will
have a full pass when we have a go at it.
2018-11-26 17:58:51 +01:00
Bruno Windels
0c7d51d70d
persist room sub list sizes
2018-11-26 16:46:57 +01:00
Bruno Windels
f7a37be6dd
support associating an id with a resize item/handle
2018-11-26 16:46:27 +01:00
Bruno Windels
35fc5307b6
remove unneeded params (as we're going to change their meaning)
2018-11-26 16:45:55 +01:00
Bruno Windels
dae509d0eb
introduce resizeFromContainerOffset method on distributor
...
up till now, resize received the offset of the resize handle
within the container upon resizing, and would then calculate
it's new size. For this first item in the container, this is
the same, and has therefor not been a problem yet.
Now however, we'll need to be able to programatically
(from localStorage) set the size of any roomsublist,
so need a method we can call with just the size and not an offset
within the container. The resizer calls the new method,
which subsequently calls resize.
This also has the nice side-effect that you can now easily
call super.resize after having transformed the new item size
2018-11-26 16:42:58 +01:00
Bruno Windels
3e496833fc
remove unused PercentageDistributor
...
it's not used and we need to make some
api changes that don't work with it (resize will receive itemSize
which it doesn't really support)
2018-11-26 16:41:49 +01:00
Bruno Windels
257bac2b09
unrelated fix for searchbox being squashed by other roomlist content
2018-11-26 14:50:53 +01:00