Commit graph

696 commits

Author SHA1 Message Date
Bruno Windels
82762823e3 use normal sized avatar for room header 2020-08-19 11:02:47 +02:00
Bruno Windels
b2a01ba860 timeline spacing and font-size tweaking 2020-08-19 11:02:27 +02:00
Bruno Windels
fcf7052217 forgot to add header here before 2020-08-19 10:28:39 +02:00
Bruno Windels
614a00b741 don't continue messages from more than 5min ago 2020-08-19 10:28:09 +02:00
Bruno Windels
fad728069a don't show date & time on pending events 2020-08-19 10:27:27 +02:00
Bruno Windels
9d260c692b tweak font-sizes to what element web has 2020-08-19 10:26:52 +02:00
Bruno Windels
b68a782f10 doc improvements 2020-08-18 17:28:08 +02:00
Bruno Windels
cc4c9d7893 Improve IDB error reporting
Hope this can help with
https://github.com/vector-im/hydrogen-web/issues/50
2020-08-18 17:27:40 +02:00
Bruno Windels
991f5fee4c add prototype to detect ie11 css bundles 2020-08-18 12:17:38 +02:00
Bruno Windels
942edf69c7 add package script 2020-08-18 12:17:03 +02:00
Bruno Windels
520dac7cec dont use mjs extension for ES modules, some (most) servers serve them with the wrong mimetype 2020-08-18 12:16:51 +02:00
Bruno Windels
054ba8d17d release v0.0.29 2020-08-18 11:50:18 +02:00
Bruno Windels
cfa857c40a
Merge pull request #22 from vector-im/bwindels/one-build
Unify legacy and normal build
2020-08-18 09:49:23 +00:00
Bruno Windels
dccc2c93be commit yarn lock file 2020-08-18 11:47:40 +02:00
Bruno Windels
a094abf4da remove comments in js bundles, saves ~100kb 2020-08-18 11:47:20 +02:00
Bruno Windels
c73d6bb3cb serve modern browsers a more compact ES6 bundle 2020-08-18 11:42:13 +02:00
Bruno Windels
7ed1703266 release v0.0.28 2020-08-17 18:30:46 +02:00
Bruno Windels
cf689e7643
Merge pull request #21 from vector-im/bwindels/backfill-fixes
More backfill fixes
2020-08-17 16:06:24 +00:00
Bruno Windels
7291cac834 yield for browser to render before checking content height 2020-08-17 17:58:39 +02:00
Bruno Windels
4044ac56c5 actually check the promise 2020-08-17 17:58:30 +02:00
Bruno Windels
df8d884d91 append all list items at once for initial render 2020-08-17 17:58:04 +02:00
Bruno Windels
1c779cf95c render encrypted tiles as such so we don't fetch the whole history 2020-08-17 17:41:57 +02:00
Bruno Windels
0b1d9bf25e unused now 2020-08-17 17:41:49 +02:00
Bruno Windels
37597e2acb mark fragment in storage when start of timeline is reached
so we don't keep looping to fetch more messages
when scrolled all the way up
2020-08-17 17:41:10 +02:00
Bruno Windels
1261ac05d1
Merge pull request #20 from vector-im/bwindels/auto-fill-gaps
Fill gaps when scrolling up & on timelines < viewport
2020-08-17 14:39:51 +00:00
Bruno Windels
b6cbb03edd keep filling gaps while viewport not filled or new content < 100px 2020-08-17 16:34:58 +02:00
Bruno Windels
08de7c3569 loading screen while loading timeline
so we can set timelineVM directly to TimelineList
2020-08-17 16:34:25 +02:00
Bruno Windels
5ae4a1aae3 increase offset to start back-filling 2020-08-17 15:22:55 +02:00
Bruno Windels
2cfd38379f change looks of gap tile as it's auto-loaded now 2020-08-17 15:22:39 +02:00
Bruno Windels
56efd7eee0 don't load timeline past gaps 2020-08-17 15:22:25 +02:00
Bruno Windels
1e4f331989 fill top gap instead of loading more events from storage 2020-08-17 15:13:12 +02:00
Bruno Windels
cf0af775e3 make SimpleTile inherit from ViewModel
to use same update mechanism and have viewmodel infra available for tile
2020-08-17 15:11:39 +02:00
Bruno Windels
9745c58144 use readPath in ImageTile 2020-08-17 14:20:54 +02:00
Bruno Windels
0d3ab21044
Merge pull request #19 from vector-im/bwindels/small-bits
Various small bits
2020-08-17 12:15:28 +00:00
Bruno Windels
bbd5217fdf
Merge pull request #18 from vector-im/bwindels/ignore-empty-timelines
ignore rooms with empty timelines during initial sync
2020-08-17 12:14:46 +00:00
Bruno Windels
59588dc8b5 ignore rooms with empty timelines during initial sync 2020-08-17 14:13:23 +02:00
Bruno Windels
306309c4f8 wrap error and expose room id
this makes it easier to track down a (storage) error to a room
2020-08-17 10:48:00 +02:00
Bruno Windels
b5e7131050 only use 1 letter for avatar initial 2020-08-17 10:47:47 +02:00
Bruno Windels
404e6f8b87 make alphabetical sort order stable 2020-08-17 10:47:27 +02:00
Bruno Windels
4f5609f7c1
Merge pull request #16 from vector-im/bwindels/dontcrashoninvalidimg
Don't crash on m.image without url
2020-08-17 08:32:21 +00:00
Bruno Windels
70e6515b5c dont crash on m.image without url 2020-08-17 10:29:29 +02:00
Bruno Windels
989a27395e deploy script for now 2020-08-14 15:20:36 +02:00
Bruno Windels
2a0e78cf68
Merge pull request #14 from vector-im/bwindels/element-theme
Implement basic element theme
2020-08-14 12:55:19 +00:00
Bruno Windels
bab1178790 style login page 2020-08-14 14:49:22 +02:00
Bruno Windels
c12ecd6cc1 style session picker 2020-08-14 14:49:15 +02:00
Bruno Windels
19e5d310e0 move avatar one level lower because we'll need it in the session picker 2020-08-14 14:33:13 +02:00
Bruno Windels
d5ca34c22f Merge branch 'master' into bwindels/element-theme 2020-08-14 11:07:31 +02:00
Bruno Windels
4465113dac
Merge pull request #13 from vector-im/bwindels/cache-invalidation
Add content hashes to all immutable assets
2020-08-14 09:07:07 +00:00
Bruno Windels
3c4805b267 also content-hash the webapp manifest 2020-08-14 11:06:39 +02:00
Bruno Windels
0104e14e0b map urls in theme css bundles to their content-hashed counterparts 2020-08-14 10:45:14 +02:00