Commit graph

119 commits

Author SHA1 Message Date
Bruno Windels
2b510b24d9 adjust persister to fragments (untested) 2019-05-11 15:41:46 +02:00
Bruno Windels
152397a292 first impl of idb fragment store 2019-05-11 15:41:09 +02:00
Bruno Windels
41f2224454 get live fragment in persister 2019-05-11 13:21:58 +02:00
Bruno Windels
783f39c378 add fragmentId to methods that need it in timeline store 2019-05-11 13:21:21 +02:00
Bruno Windels
53cdabb459 store method to find events to connect with when filling gaps
as fragments can be unaware of their chronological relationship,
we need to check whether the events received from /messages or /context
already exists, so we can later hook up the fragments.
2019-05-11 13:10:31 +02:00
Bruno Windels
35a5e3f21a docs update 2019-05-11 09:51:57 +02:00
Bruno Windels
d6ae313bbd make compare rely less on fragment index
also indenting
2019-05-11 09:51:27 +02:00
Bruno Windels
99c8816bf9 better naming
FragmentIndex -> FragmentIdIndex (index of fragment ids,
   not an index number in a fragment collection)
EventKey -> EventIndex (implies being ordered)
FragmentKey -> FragmentId
  (implies not being ordered, hence FragmentIdIndex)
2019-05-01 15:36:32 +02:00
Bruno Windels
d90411a6dd adjust SortKey to have fragmentKey instead of gapKey
with FragmentIndex to compare fragment keys
2019-05-01 14:47:39 +02:00
Bruno Windels
8670ab6331 add todo for fragments 2019-04-18 20:20:23 +02:00
Bruno Windels
06d2d2e198 draft of idb store for fragments 2019-04-18 20:19:43 +02:00
Bruno Windels
749bdadf74 disable failing tests for now and include fragment index so it's tests are found 2019-04-18 20:19:09 +02:00
Bruno Windels
0ca0230bc0 specify what is missing 2019-04-04 21:48:26 +02:00
Bruno Windels
a8aa97fdf3 plan to refactor to support storing /context responses 2019-04-04 21:48:13 +02:00
Bruno Windels
245370c765 list of questions we've got no good solution for yet 2019-04-04 09:27:53 +02:00
Bruno Windels
6ba37e90a3 work on memory store 2019-04-04 09:27:31 +02:00
Bruno Windels
1605170f9e update test runner to support async tests 2019-03-29 23:51:25 +01:00
Bruno Windels
3f2f656db7 work on gap filling + tests (doesn't work yet) 2019-03-29 23:01:27 +01:00
Bruno Windels
aaff9eea6c update store api with requirements for gap filling 2019-03-29 23:01:22 +01:00
Bruno Windels
7d91b2dde3 first go at a timeline memory store
first to use in unit tests for persister
later also to use in production when idb is not available
2019-03-29 23:00:22 +01:00
Bruno Windels
b1e382d7c9 thinko with direction 2019-03-21 21:36:02 +01:00
Bruno Windels
8f7e5a799c work on filling gaps + test (draft only) 2019-03-21 21:35:33 +01:00
Bruno Windels
cc3a181128 prettier color 2019-03-15 20:29:44 +01:00
Bruno Windels
61804073e2 comment how updates should work 2019-03-15 20:29:17 +01:00
Bruno Windels
2cd9c2344e expose timeline loading error in viewmodel 2019-03-09 00:43:43 +01:00
Bruno Windels
8e8e22fe16 work on filling gaps 2019-03-09 00:41:06 +01:00
Bruno Windels
c8749a1a06 rought impl of tiles collection 2019-03-09 00:40:17 +01:00
Bruno Windels
153d54a285 work on tile view models 2019-03-09 00:40:03 +01:00
Bruno Windels
d6e357cc22 update TODO 2019-03-08 20:05:21 +01:00
Bruno Windels
1f5d488105 draft of timeline tiles support 2019-03-08 20:04:56 +01:00
Bruno Windels
6940e14b18 move sortedIndex out of observable as other code will want to use it too 2019-03-08 20:04:28 +01:00
Bruno Windels
95bef00054 some comments 2019-03-08 20:03:47 +01:00
Bruno Windels
ec925d7c49 draft of how to implement filling a timeline gap 2019-03-08 20:03:18 +01:00
Bruno Windels
1757a27475 consistent naming 2019-03-08 20:01:28 +01:00
Bruno Windels
994f1c57d3 store all logout data outside of the session storage
so we could store it in gnome keyring, macOs keychain, ... on non-webclients,
also better separation
2019-03-08 20:00:37 +01:00
Bruno Windels
2dbd0fb9dc move view models over to domain 2019-03-08 19:58:54 +01:00
Bruno Windels
e3d931b966 responsive layout prototypes 2019-03-08 12:28:05 +01:00
Bruno Windels
049e70e312 throw NetworkError from HomeServerApi 2019-03-08 12:26:59 +01:00
Bruno Windels
f3034800ae update docs, write down architecture 2019-03-08 12:26:08 +01:00
Bruno Windels
3f2c8b58b7 update status 2019-02-27 23:40:45 +01:00
Bruno Windels
818cf8051c dont show ui before initial sync 2019-02-27 23:38:03 +01:00
Bruno Windels
8f09fdbc79 update TODO 2019-02-27 23:24:22 +01:00
Bruno Windels
38f403bd18 add some styles 2019-02-27 23:23:40 +01:00
Bruno Windels
9e7811299d MappedMap update mechanism needs to be reworked, disable for now 2019-02-27 23:23:20 +01:00
Bruno Windels
f8bd11f07b doesn't need to be async for now 2019-02-27 23:23:09 +01:00
Bruno Windels
8462a0ac6b this behaves weird? need to figure out later 2019-02-27 23:22:47 +01:00
Bruno Windels
80eac6e48d ignore clicking on root 2019-02-27 23:21:16 +01:00
Bruno Windels
7903ae0001 pass event to item clicked handler 2019-02-27 23:21:00 +01:00
Bruno Windels
16d5c3279c correctly map className attribute 2019-02-27 23:20:29 +01:00
Bruno Windels
5fae156596 update TODO 2019-02-27 22:53:54 +01:00