J. Ryan Stinnett
0bbcda09af
Move into constructor
2021-01-15 12:35:42 +00:00
J. Ryan Stinnett
e077d9ca5f
Move service worker into platform
2021-01-15 12:25:21 +00:00
Alexandru M Stan
35d1c0d980
webplatform: Fix notification closing
...
After a notification arrives, when the user focuses on element, the
notification never goes away (unless directly interacted with), this was a bug.
displayNotification was never returning the notification handle, which means
that matrix-react-sdk later on had no way to .close it.
Closes #16026
Signed-off-by: Alexandru M Stan <alex@hypertriangle.com>
2020-12-24 02:01:40 -08:00
Michael Telatynski
1edbe36547
Revert "Tidy up Service Worker, only run Workbox in production"
...
This reverts commit c47532fe
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-01 14:04:32 +01:00
Michael Telatynski
87c42934ea
Revert "Disable workbox when running in webpack dev server, not in dev mode"
...
This reverts commit 11e676ce
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-01 14:04:21 +01:00
Michael Telatynski
daa755017e
Revert "consolidate"
...
This reverts commit aa2f3918
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-01 14:04:11 +01:00
Michael Telatynski
aa2f3918cc
consolidate
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-09-30 17:36:57 +01:00
Michael Telatynski
11e676cee0
Disable workbox when running in webpack dev server, not in dev mode
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-09-30 17:35:12 +01:00
Michael Telatynski
c47532fe2a
Tidy up Service Worker, only run Workbox in production
...
Moves ServiceWorker load into Platform so its not done by Electron
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-09-24 13:01:34 +01:00
J. Ryan Stinnett
715a4f8dac
Restore device name
2020-07-15 09:38:55 +01:00
J. Ryan Stinnett
0fa2941188
Use a safe but sane device name
2020-07-14 21:54:44 +01:00
J. Ryan Stinnett
ffab08bd60
Update various brand instances in code
2020-07-13 17:32:17 +01:00
Bruno Windels
6da70bdfbd
create unique device names
2020-06-30 17:29:31 +02:00
Bruno Windels
8e3d1407c0
dont leak domain for now
2020-06-30 17:06:10 +02:00
Michael Telatynski
66272fc226
Allow deferring of Update Toast until the next morning
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-29 19:59:48 +01:00
Michael Telatynski
1fd74f22c8
Give contextual feedback for manual update check instead of banner
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-29 18:24:45 +01:00
Michael Telatynski
c17bcda1ba
Merge branches 'develop' and 't3chguy/toasts3_2' of github.com:vector-im/riot-web into t3chguy/toasts3_2
2020-05-27 09:58:08 +01:00
Michael Telatynski
3ad3c3ca0a
Fix super in arrow funcs
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-26 10:04:49 +01:00
Michael Telatynski
48a618264a
Replace New Version Bar with a Toast
...
discards the `new_version` dispatch
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-22 23:08:46 +01:00
Michael Telatynski
706972eff2
tidy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-20 20:01:51 +01:00
Michael Telatynski
6ec613c2c2
Convert various things to Typescript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-20 19:56:54 +01:00