Bruno Windels
6f09bd97b6
move setting view models in own dir / file
2020-10-20 12:10:41 +02:00
Bruno Windels
6f82d81f39
better session backup ui
2020-10-19 18:29:13 +02:00
Bruno Windels
8f89c7b363
Merge pull request #162 from vector-im/bwindels/settings-screen
...
Basic setting screen
2020-10-19 13:20:36 +00:00
Bruno Windels
d3b7d176b8
extract SettingsView into own file
...
also fix some copyright attributions
2020-10-19 14:55:01 +02:00
Bruno Windels
1fe3f646dc
further style settings page
2020-10-19 14:53:05 +02:00
Bruno Windels
d8f8342a10
make middle panel responsive styling + hide back b. + header css generic
2020-10-19 14:52:18 +02:00
Bruno Windels
1e599be142
Merge branch 'master' into bwindels/settings-screen
2020-10-19 13:45:17 +02:00
Bruno Windels
6bf8e976cb
don't assign timelineVM before loaded, so prop doesn't return it
...
... if the binding happens to be evaluating (which it was during mount)
follow-up from bwindels/fix-crash-switch-rooms-too-fast
2020-10-19 13:39:19 +02:00
Bruno Windels
f07b4a6554
Merge pull request #167 from vector-im/bwindels/fix-redirects
...
Fix back button not working when changing rooms
2020-10-19 11:01:07 +00:00
Bruno Windels
ade4ba750f
Merge pull request #166 from vector-im/bwindels/fix-crash-switch-rooms-too-fast
...
fix a crash when switching rooms before the messages have loaded
2020-10-19 10:59:26 +00:00
Bruno Windels
cdcdc07c06
fix a crash when switching rooms before the messages have loaded
...
as we were not disposing the timeline view model
(but still not leaking though)
2020-10-19 12:57:21 +02:00
Bruno Windels
8357260133
fix an applying an url also pushing a copy of the url back on history
...
it should replace instead, as it is a redirect
2020-10-19 12:55:42 +02:00
Bruno Windels
fb273782bf
use handleEvent in History so we don't have to bind
2020-10-19 12:55:10 +02:00
Bruno Windels
3e34ccb7e1
rename, I think, last occurrence of brawl to hydrogen 👋
2020-10-19 12:52:57 +02:00
Bruno Windels
db102e63d2
Merge branch 'master' into bwindels/settings-screen
2020-10-19 10:13:41 +02:00
Bruno Windels
7aca9e291e
Merge pull request #165 from vector-im/bwindels/multiline-message
...
Render multi-line message as such
2020-10-19 08:11:42 +00:00
Bruno Windels
90910dae15
render multiline messages with br's
2020-10-19 10:00:32 +02:00
Bruno Windels
4828e141c9
add br tag to html template
2020-10-19 10:00:18 +02:00
Bruno Windels
efe6956a79
support render method and value in StaticView
2020-10-19 09:59:56 +02:00
Bruno Windels
974f77a71d
WIP
2020-10-16 18:06:20 +02:00
Bruno Windels
41d624a1ae
release v0.1.15
2020-10-16 15:50:33 +02:00
Bruno Windels
753bee2509
Merge pull request #161 from vector-im/bwindels/sw-updates
...
Prompt to install update and prevent concurrent session access through service worker
2020-10-16 13:49:42 +00:00
Bruno Windels
90435a8fb7
semicolons, add them
2020-10-16 15:48:49 +02:00
Bruno Windels
e599d8b6fa
also clear
2020-10-16 15:47:13 +02:00
Bruno Windels
74e6d018f4
ensure url creation does not race on the current path of the navigation
2020-10-16 15:46:06 +02:00
Bruno Windels
0ca926d427
claim clients immediately from service worker
2020-10-16 14:52:34 +02:00
Bruno Windels
743cdd0bea
safari is tooo fast and skips it when it shouldn't
...
also, I've never had the registration fail, seems very unlikely
2020-10-16 13:26:19 +02:00
Bruno Windels
c125335ef0
undo debug squibels
2020-10-16 13:03:16 +02:00
Bruno Windels
5a30855227
rename urlRouter option in view models to urlCreator
2020-10-16 13:02:21 +02:00
Bruno Windels
0d622164df
close session db in other tabs when opening
2020-10-16 12:50:37 +02:00
Bruno Windels
fc61729cb3
support closing session in other clients in service worker
2020-10-16 12:50:19 +02:00
Bruno Windels
101c7015f2
move service worker code in bundle, and support closing sessions
2020-10-16 12:49:42 +02:00
Bruno Windels
788bce7904
reduce navigation boilerplate
...
this makes the url router adjust the url when the navigation path is
changed, instead of doing urlRouter.applyUrl() and
urlRouter.history.pushUrl().
This history field and applyUrl method on URLRouter are now private,
as the URLRouter should only be used to generate urls you want to
put in an <a href="..."></a>, anything else should use navigator.push()
2020-10-16 12:46:14 +02:00
Bruno Windels
ddf7d01760
WIP working
2020-10-15 21:35:10 +02:00
Bruno Windels
3aa1992a3f
WIP of messaging to sw
2020-10-15 19:12:16 +02:00
Bruno Windels
2fa39c51f2
no service worker for local dev still
2020-10-15 16:19:15 +02:00
Bruno Windels
a94b099819
cache legacy js on request
2020-10-15 16:18:09 +02:00
Bruno Windels
3354d601d1
deregister sw when update is ready to go to force activating on iOS
2020-10-15 15:59:15 +02:00
Bruno Windels
6b15e7e3ba
remove extra newline
2020-10-15 15:58:59 +02:00
Bruno Windels
0f71564d65
also make changes in index.html and sw.js trigger an update
2020-10-15 15:58:29 +02:00
Bruno Windels
e290822a32
test code for sw state changes
2020-10-15 11:49:09 +02:00
Bruno Windels
eaaf18fb82
set icon on iOS
2020-10-15 11:17:33 +02:00
Bruno Windels
8923758478
release v0.1.14
2020-10-14 15:33:03 +02:00
Bruno Windels
5fcf8022a1
store the url on every change, as PWAs don't trigger beforeunload ...
...
... when (force) closed
2020-10-14 15:30:40 +02:00
Bruno Windels
3d8dfc9635
also show grid layout in mobile layout, just in case of restoring url
2020-10-14 15:29:51 +02:00
Bruno Windels
398a5aa4e3
release v0.1.13
2020-10-14 15:12:22 +02:00
Bruno Windels
7c2fc516bb
restore last url if not providing a specific one on startup
2020-10-14 15:10:32 +02:00
Bruno Windels
19e774ce01
don't assume grid button is a button, just in case
2020-10-14 14:54:56 +02:00
Bruno Windels
4f46854362
add close session button
2020-10-14 14:54:46 +02:00
Bruno Windels
d96f8adcc7
fix back button in room header not working
2020-10-14 14:53:52 +02:00