Commit graph

3359 commits

Author SHA1 Message Date
RMidhunSuresh fc873757d8 WIP 2022-05-27 22:42:21 +05:30
RMidhunSuresh ec1cc89cf9 Make URLRouter in options conditional on generic
URLRouter can be passed in option to vm only if the SegmentType used
contains session.
ViewModel.urlCreator returns undefined when used with a SegmentType that
lacks session.
2022-05-27 22:42:21 +05:30
RMidhunSuresh a336623f3a Generic parameter should extend object 2022-05-27 22:42:21 +05:30
RMidhunSuresh 9300347e9b Give defaultt type 2022-05-27 22:42:21 +05:30
RMidhunSuresh f49d580d49 WIP 2022-05-27 22:42:21 +05:30
RMidhunSuresh 263948faa3 Remove unwanted export 2022-05-27 22:42:21 +05:30
RMidhunSuresh 52f0690c70 Add return type 2022-05-27 22:42:21 +05:30
RMidhunSuresh 7a24059337 Remove empty line 2022-05-27 22:42:21 +05:30
RMidhunSuresh 4fd1918202 Remove comment 2022-05-27 22:42:21 +05:30
RMidhunSuresh 4ae3a5bf7a Use undefined instead of null 2022-05-27 22:42:21 +05:30
RMidhunSuresh 5be00f051f Use subtype instead of whole SegmentType 2022-05-27 22:42:21 +05:30
RMidhunSuresh e7f4ce6175 Mark methods as private 2022-05-27 22:42:21 +05:30
RMidhunSuresh 09bc0f1b60 Extract complex type as type alias 2022-05-27 22:42:21 +05:30
RMidhunSuresh 76d04ee277 Make defaultSessionId optional 2022-05-27 22:42:21 +05:30
RMidhunSuresh f28dfc6964 Type createRouter function 2022-05-27 22:42:21 +05:30
RMidhunSuresh c14e4f3eed Use segment type 2022-05-27 22:42:21 +05:30
RMidhunSuresh 5d42f372f6 Pass as separate arguments to constructor 2022-05-27 22:42:21 +05:30
RMidhunSuresh 4c3e0a6ff0 Convert URLRouter.js to typescript 2022-05-27 22:42:21 +05:30
RMidhunSuresh d9bfca10e1 Type function 2022-05-27 22:42:21 +05:30
RMidhunSuresh bf2fb52691 Fix formatting 2022-05-27 22:42:21 +05:30
RMidhunSuresh 646cbe0fff Make all keys string 2022-05-27 22:42:21 +05:30
RMidhunSuresh 92e8fc8ad3 Remove deprecated method 2022-05-27 22:42:21 +05:30
RMidhunSuresh 92c79c853d Convert index.js to typescript 2022-05-27 22:42:21 +05:30
RMidhunSuresh 55229252d7 Type allowsChild 2022-05-27 22:42:21 +05:30
RMidhunSuresh 3efc426fed Complete converting Navigation.js to ts 2022-05-27 22:42:21 +05:30
RMidhunSuresh 04d5b9bfda WIP - 2 2022-05-27 22:42:21 +05:30
RMidhunSuresh 66f6c4aba1 WIP 2022-05-27 22:42:18 +05:30
Bruno Windels 13428bd03c allow updating cache of unhashed assets (like config) in service worker 2022-05-18 21:41:47 +02:00
Bruno Windels 1555b0f4bc put a message in container node when config file is not found 2022-05-18 21:41:31 +02:00
Bruno Windels 03ab1ee2c7 log theme being loaded 2022-05-18 17:48:03 +02:00
RMidhunSuresh a550788788 Remove some logging + use wrapOrRun 2022-05-18 18:56:28 +05:30
RMidhunSuresh 7952a34d64 Add logging 2022-05-18 16:09:09 +05:30
RMidhunSuresh 660a08db3e Give a better name 2022-05-18 14:41:52 +05:30
RMidhunSuresh 1b22a48b54 Treat theme-manifests the same way as config 2022-05-18 14:23:41 +05:30
RMidhunSuresh 9ba1534390 Remove unused import 2022-05-12 16:03:06 +05:30
RMidhunSuresh 4ddfd3b508 built-asset --> built-assets 2022-05-12 14:56:58 +05:30
RMidhunSuresh e63440527a Move condition to binding 2022-05-12 13:43:19 +05:30
RMidhunSuresh 0984aeb570 Move code to ThemeLoader 2022-05-12 13:39:57 +05:30
RMidhunSuresh 654e83a5f9 Remove method 2022-05-12 13:28:11 +05:30
RMidhunSuresh b306344739 Add explaining comment 2022-05-12 12:55:08 +05:30
R Midhun Suresh 4231037345
Update src/platform/web/Platform.js
Co-authored-by: Bruno Windels <274386+bwindels@users.noreply.github.com>
2022-05-12 12:48:41 +05:30
R Midhun Suresh d5bc9f5d7d
Update src/platform/web/Platform.js
Co-authored-by: Bruno Windels <274386+bwindels@users.noreply.github.com>
2022-05-12 12:48:34 +05:30
RMidhunSuresh cc88245933 Create themeLoader only if not dev 2022-05-11 15:46:12 +05:30
RMidhunSuresh 174adc0755 Move platform dependent code to Platform 2022-05-11 15:38:37 +05:30
RMidhunSuresh c26dc04b52 Fix type 2022-05-11 15:03:32 +05:30
RMidhunSuresh 2761789f45 Move theme code to separate file 2022-05-11 14:58:14 +05:30
RMidhunSuresh 213f87378b Use t.if instead of t.map 2022-05-11 12:46:12 +05:30
RMidhunSuresh 855298bdaf Read from manifest 2022-05-11 12:40:32 +05:30
RMidhunSuresh c39f0d2efb Don't show theme chooser on dev 2022-05-10 14:12:36 +05:30
RMidhunSuresh af9cbd727f Remove existing stylesheets when changing themes 2022-05-10 14:12:36 +05:30