Kegan Dougal
7f653ab531
Fix bug which caused subviews to not re-render
2021-12-07 15:20:45 +00:00
Kegan Dougal
1b6d9db7cd
Get placeholder->room logic working
...
Feels somewhat hacky, but it mostly works with the caveats:
- Room names / avatars bleed between rooms when there are updates.
- Clicking on a room doesn't immediately highlight it on the list
2021-12-07 12:48:37 +00:00
Kegan Dougal
cc69fc099d
wip mapper updates
2021-12-06 17:09:17 +00:00
Kegan Dougal
fce1d95a7c
Update ranges depending on the room list position
2021-12-06 16:11:12 +00:00
Kegan Dougal
23d30e27cb
Fix room list rendering
2021-12-06 15:58:02 +00:00
Kegan Dougal
a6b31741c3
Broken room list WIP
2021-12-06 15:50:31 +00:00
Kegan Dougal
560ff2afb7
Refine test assertions
2021-12-03 13:54:19 +00:00
Kegan Dougal
32c62641fd
Add Sync3ObservableList
2021-12-03 13:52:13 +00:00
Kegan Dougal
104d98d4a4
Add more helpers to Sync3; track number of joined rooms
2021-12-02 16:27:05 +00:00
Kegan Dougal
057089d96a
Add a battery of sync3 tests
2021-12-02 15:00:27 +00:00
Kegan Dougal
f193418ed1
Merge branch 'master' into kegan/syncv3
2021-12-02 10:54:07 +00:00
Kegan Dougal
79cb21f4c0
Check the deleted room exists before refreshing
2021-12-02 10:48:48 +00:00
Bruno Windels
d91aaabeb3
Merge pull request #596 from vector-im/ts-conversion-matrix-sessioninfo
...
Convert matrix/sessioninfo to typescript
2021-12-02 09:29:11 +01:00
Bruno Windels
9042520916
Merge pull request #595 from vector-im/ts-conversion-matrix-push
...
Convert /matrix/push to typescript
2021-12-02 09:28:59 +01:00
Bruno Windels
d3ab961364
Merge pull request #593 from vector-im/ts-conversion-matrix-login
...
Convert /matrix/login to typescript
2021-12-02 09:28:47 +01:00
RMidhunSuresh
0c46460861
Add comment
2021-12-02 11:20:40 +05:30
RMidhunSuresh
9f82e7f7fc
Add proper type
2021-12-02 11:17:41 +05:30
Kegan Dougal
1aa145933a
Fix a bug which caused rooms to disappear from the room list
...
Comments explain all.
2021-12-01 19:06:49 +00:00
Bruno Windels
dce0ee5ace
Merge pull request #607 from vector-im/bwindels/fixpathsobserv
...
adjust path
2021-12-01 09:45:57 +01:00
Bruno Windels
85385a0aa7
adjust path
2021-12-01 09:43:58 +01:00
Kegan Dougal
0b2d09b796
Only display rooms in the sliding window
...
Buggy: some rooms disappear entirely for some reason.
2021-11-30 18:07:08 +00:00
Bruno Windels
08314bd4b5
Merge pull request #606 from vector-im/bwindels/typescript-observable-2
...
Typescript conversion of yet more observables
2021-11-30 17:09:16 +01:00
Bruno Windels
8c3ae57497
fix Iterator vs IterableIterator confusion
2021-11-30 17:05:39 +01:00
Bruno Windels
de8995fa7e
fix handlers in test missing methods, now that observable list is typed
2021-11-30 16:58:56 +01:00
Bruno Windels
581ef47c78
fix conflicting sortedIndex declaration
2021-11-30 16:53:59 +01:00
Bruno Windels
fc3eb7f57f
Merge branch 'master' into bwindels/typescript-observable-2
2021-11-30 16:37:43 +01:00
Kegan Dougal
4f7468a95a
compare(): Add checks for 'ph-123' room IDs
...
These will be used to place placeholders correctly.
2021-11-30 15:35:29 +00:00
Kegan Dougal
7dc8648fec
Fix bug when timeline is empty
2021-11-30 15:19:33 +00:00
Kegan Dougal
b2eaf0f155
Use Sync3 instead of Sync in SessionContainer
...
This makes H use Sync3! Hard-code endpoint to localhost:8008 for now.
2021-11-30 15:09:46 +00:00
Kegan Dougal
0f2d1ae2cc
Fix various update bugs
2021-11-30 14:20:05 +00:00
Bruno Windels
49443d4f6e
Update TS-MIGRATION.md
2021-11-30 14:17:51 +00:00
Bruno Windels
2e57e99e34
clarify when to use type and interface
2021-11-30 14:15:25 +00:00
Kegan Dougal
956b4a9b96
Implement sync v3 sorting
2021-11-30 13:24:08 +00:00
Bruno Windels
ef712b16f5
Merge pull request #584 from vector-im/ts-conversion-utils
...
Convert /utils to typescript
2021-11-30 14:13:09 +01:00
Bruno Windels
19827a0b5b
Merge pull request #601 from vector-im/filter-token
...
Ensure unwanted data do not end up in logs
2021-11-30 10:02:07 +01:00
RMidhunSuresh
66fbc37ec4
Remove comments
2021-11-30 14:15:49 +05:30
RMidhunSuresh
6699b71bd5
transformer is optional
2021-11-30 13:38:25 +05:30
RMidhunSuresh
fe77b71c97
use transformer function
2021-11-30 13:28:28 +05:30
Bruno Windels
be5deea1d3
Merge pull request #605 from vector-im/bwindels/try-test-ci-failure
...
Report unit test failures on CI
2021-11-30 08:20:05 +01:00
Bruno Windels
3322827979
upgrade impunity to propagate exit code
2021-11-30 08:16:28 +01:00
Kegan Dougal
29c60eb699
Load real rooms on the LeftPanelView
2021-11-29 18:00:15 +00:00
Kegan Dougal
9a8434b1f6
nuke db on startup
2021-11-29 16:25:49 +00:00
Kegan Dougal
9f7297f62b
Get sync lifecycle not erroring on sync3 responses
...
Still buggy as hell because we're using a live indexeddb in the test jig
but at least there are no errors anymore. Comment out E2EE support.
2021-11-29 16:06:59 +00:00
Kegan Dougal
72b18899f4
Merge branch 'master' into kegan/syncv3
2021-11-29 13:41:38 +00:00
Bruno Windels
7f115b3e4b
Merge pull request #602 from vector-im/bwindels/tests-node-16.12
...
update impunity to 1.0.8 to run tests on node >= 16.12
2021-11-29 10:53:47 +01:00
Bruno Windels
a134e48ebb
update impunity to 1.0.8 to run tests on node >= 16.12
2021-11-29 10:49:26 +01:00
RMidhunSuresh
104590e34d
Use ! in test
2021-11-29 11:48:05 +05:30
RMidhunSuresh
d981a85239
Filter token out of stack trace
2021-11-29 11:43:43 +05:30
Kegan Dougal
126e1521b4
Call room.prepareSync and room.writeSync correctly
...
Just need to do room.afterSync and then maybe it'll all work?
2021-11-26 18:58:14 +00:00
Kegan Dougal
1ef6963018
Write sync interactions from scratch
...
Doesn't work because we lack `room.preparation` objects when
writing sync results...
2021-11-26 18:25:20 +00:00