RMidhunSuresh
|
91f083a245
|
Add close button to RoomInfoView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
b0535b5d7d
|
Add styling for RoomInfoView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
c96abc8892
|
Add css to place items appropriately
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
f42553f8cb
|
Add avatar size for design
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
ee29d7f799
|
Bring in icon assets
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
653fcbbb1f
|
Add method to create avatar section
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
0a4f8aff79
|
Create method to add sidebar element
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
a23e2c361a
|
Better styling
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
d502a7f911
|
Make display name bold
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
aece82dff6
|
Make room avatar larger in RoomInfoView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
6f1b77b6fa
|
Add room avatar to RoomInfoView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
0ea2843454
|
Add background for sidebar
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
191eb09a76
|
Fallback to canonical alias if no names found
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
0d11f85ab3
|
Add CSS to display sidebar to the right
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
9a605cc6c6
|
Remove unnecessary check
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
c3333f5fe8
|
Extract method
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
ddaa9b46c0
|
Dispose vm preemptively
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
7e38c3ea88
|
Remove right panel on grid update if needed
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
98d8d44695
|
Allow details to be child of rooms
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
439910f6ca
|
Handle case when path.get() may be null
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
96959a3c4c
|
Put name of property in emitChange
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
e39572b98b
|
Create RoomInformationView on toggle
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
986271d02a
|
Add code to toggle RoomInformation panel
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
c7fd0fac07
|
Allow details to be child of room
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
c7ba472042
|
Add view and vm for RoomInformation
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
Bruno Windels
|
7691b28503
|
prevent another race between sync and openTimeline
|
2021-06-04 16:28:08 +02:00 |
|
Bruno Windels
|
bb6905bdcd
|
don't assume localEntries exists, as load races with sync.afterSync
|
2021-06-04 16:05:28 +02:00 |
|
Bruno Windels
|
919542f8fc
|
Don't assume container node exists when loading bundle
Only look for the container node when needed
|
2021-06-04 15:36:01 +02:00 |
|
Bruno Windels
|
46bfab3eb7
|
fix some lint and comment
|
2021-06-03 16:50:11 +02:00 |
|
Bruno Windels
|
b83613924c
|
don't assume there is at least 1 tile before loading at top
it can happen that all tiles are not renderable, and we should just
keep calling loadAtTop
|
2021-06-03 09:25:56 +02:00 |
|
Bruno Windels
|
d965d57be7
|
don't leak timeline when an error is thrown while opening it
or you are just stuck with "not dealing with race" errors until refresh
|
2021-06-02 18:44:03 +02:00 |
|
Bruno Windels
|
0c4c018ceb
|
add note that powerlevels won't update when the state event is changed
|
2021-06-02 18:43:47 +02:00 |
|
Bruno Windels
|
d2f5b412ac
|
don't try to hook up local relations for events that are not relations
and do unnecessary work
|
2021-06-02 18:43:16 +02:00 |
|
Bruno Windels
|
365bd5cad0
|
fix the race
|
2021-06-02 18:42:46 +02:00 |
|
Bruno Windels
|
84ecaa2ee1
|
don't trip over missing create events when loading power levels
as the test from previous commit fails because of that, and powerlevels
works fine without
|
2021-06-02 18:41:52 +02:00 |
|
Bruno Windels
|
4a8a6168cd
|
add failing test for race between sync & subscribing after openTimeline
|
2021-06-02 18:41:03 +02:00 |
|
Bruno Windels
|
d8acf63e1d
|
change mock event api a bit to be easier to read
|
2021-06-02 18:38:16 +02:00 |
|
Bruno Windels
|
09bf0f3b4e
|
fix status styling for text messages being broken
as binding was put at argument level rather than className level
|
2021-06-02 15:25:20 +02:00 |
|
Bruno Windels
|
31075d601f
|
load power levels before decryption closes the txn
|
2021-06-02 15:06:30 +02:00 |
|
Bruno Windels
|
cef94fea45
|
fix lint
|
2021-06-02 12:38:41 +02:00 |
|
Bruno Windels
|
bf951bd322
|
fix logging wrong value
|
2021-06-02 12:34:14 +02:00 |
|
Bruno Windels
|
c3754fdbd4
|
fix the race, make test succeed
|
2021-06-02 12:34:02 +02:00 |
|
Bruno Windels
|
87ebdbb0b4
|
add failing test for unhandled race between sync and send
see comments in code
|
2021-06-02 12:33:15 +02:00 |
|
Bruno Windels
|
8369dcef5f
|
utility to wait until a value becomes truthy in a test
|
2021-06-02 12:32:50 +02:00 |
|
Bruno Windels
|
ffb6cb372a
|
utility to create events in tests
|
2021-06-02 12:32:34 +02:00 |
|
Bruno Windels
|
cf6e14ed8b
|
utility for homeserver api mocking
|
2021-06-02 12:32:19 +02:00 |
|
Bruno Windels
|
6a5679a338
|
create mock storage using fake-indexeddb
|
2021-06-02 12:32:03 +02:00 |
|
Bruno Windels
|
edbac25613
|
prepare storage to work with alternative idb impl
|
2021-06-02 12:31:13 +02:00 |
|
Bruno Windels
|
8dfed73524
|
Merge pull request #361 from vector-im/bwindels/redactions
Redactions
|
2021-06-02 10:22:33 +00:00 |
|
Bruno Windels
|
7a96f84cab
|
also show redaction reason for redaction local echo
|
2021-06-02 12:17:09 +02:00 |
|