This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
hydrogen-web/src
Bruno Windels 0fd52be710 encode idb array keys as sortable strings
that's why numeric parts of the keys have to be encoded
as a fixed length, "big-endian" ordered strings, so
string sorting will also sort the numeric keys correctly.

this also assumes room ids don't contain the "|" character,
we should probably escape the separator at some point.
2019-06-26 21:55:33 +02:00
..
domain/session load more events when scrolled to top 2019-06-16 17:29:33 +02:00
matrix encode idb array keys as sortable strings 2019-06-26 21:55:33 +02:00
observable more fixes, timeline is showing again 2019-06-02 14:59:30 +02:00
ui/web define storage keys to be 32bit for idb / web platform 2019-06-26 21:52:41 +02:00
utils move sortedIndex out of observable as other code will want to use it too 2019-03-08 20:04:28 +01:00
EventEmitter.js replace ad hoc buttons and label with SyncStatusBar 2019-06-16 10:54:16 +02:00
main.js replace ad hoc buttons and label with SyncStatusBar 2019-06-16 10:54:16 +02:00
Platform.js define storage keys to be 32bit for idb / web platform 2019-06-26 21:52:41 +02:00