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
e8a4ab5ecc
built-asset must be a mapping
...
A mapping from theme-name to location of css file
2022-05-10 16:58:06 +05:30
RMidhunSuresh
5204fe5c99
This emitFile is no longer needed
2022-05-10 14:22:37 +05:30
RMidhunSuresh
c39f0d2efb
Don't show theme chooser on dev
2022-05-10 14:12:36 +05:30
RMidhunSuresh
bb3368959f
Use sh instead of bash
2022-05-10 14:12:36 +05:30
RMidhunSuresh
af9cbd727f
Remove existing stylesheets when changing themes
2022-05-10 14:12:36 +05:30
RMidhunSuresh
12a70469eb
Fix formatting
2022-05-10 14:12:36 +05:30
RMidhunSuresh
c611d3f85c
Select current theme in dropdown
2022-05-10 14:12:36 +05:30
RMidhunSuresh
ecb83bb277
Store and load theme from setting
2022-05-10 14:12:36 +05:30
RMidhunSuresh
daae7442bb
Create theme chooser
2022-05-10 14:12:36 +05:30
RMidhunSuresh
cc2c74fdff
Generate theme summary on build
2022-05-10 14:12:36 +05:30
RMidhunSuresh
541cd96eeb
Add script to cleanup after build
2022-05-10 14:12:36 +05:30
RMidhunSuresh
f16a2e5d22
Don't add asset hash to manifest json on build
2022-05-10 14:12:36 +05:30
Bruno Windels
b7675f46c4
bump sdk version
2022-05-10 09:59:38 +02:00
R Midhun Suresh
a06474d7ac
Merge pull request #731 from vector-im/fix-tilescollection
...
Newly created tiles must be given a copy of tilesOptions
2022-05-10 12:33:46 +05:30
Bruno Windels
e903d3a6a4
mark options as readonly
2022-05-09 14:12:31 +02:00
Bruno Windels
3888291758
updateOptions is unused,not the best idea since options is/can be shared
2022-05-09 14:10:50 +02:00
Bruno Windels
6beff7e552
override emitChange so no need to clone option object for all tiles
...
instead, we don't store the emitChange in the options but rather on
the tile itself.
2022-05-09 14:09:45 +02:00
RMidhunSuresh
139a87de99
Pass a copy of the options to the tiles
2022-05-08 19:14:51 +05:30
Eric Eastwood
e54482e4c0
Add some comments
2022-05-05 17:57:25 -05:00
Eric Eastwood
75098b4712
Merge branch 'master' into madlittlemods/686-682-local-friendly-development-and-commonjs
2022-05-05 17:50:33 -05:00
Eric Eastwood
d053d4388f
Update Vite to avoid flakey errors in our PostCSS plugins
...
Fix https://github.com/vector-im/hydrogen-web/issues/722
Updating Vite to includes fixes from
https://github.com/vitejs/vite/issues/7822 -> https://github.com/vitejs/vite/pull/7827
2022-05-05 14:58:43 -05:00
Bruno Windels
23b621492f
Merge pull request #726 from vector-im/flow-registration
...
Allow passing in flowSelector from startRegistration method
2022-04-27 11:18:53 +02:00
RMidhunSuresh
83664a1b13
viewClassForTile is needed for TimelineView
2022-04-27 12:38:12 +05:30
RMidhunSuresh
c07a42292c
Include Platform change in sdk docs
2022-04-27 12:28:48 +05:30
RMidhunSuresh
049a477008
Pass flowSelector from Client.startRegistration
2022-04-27 12:27:19 +05:30
Bruno Windels
fa34315210
undo refactoring typo from #723
2022-04-25 16:44:31 +02:00
Bruno Windels
bec8cea583
fix for breaking in #725
2022-04-25 14:17:07 +02:00
Bruno Windels
3536d12680
Merge pull request #725 from vector-im/bwindels/templateview-ts
...
add typing for text bindings in template view
2022-04-25 12:42:37 +02:00
Bruno Windels
ab893f63b5
remove unneeded assignment
2022-04-25 12:40:25 +02:00
Bruno Windels
6c57c96cb9
add typing for text bindings in template view
2022-04-25 12:07:28 +02:00
R Midhun Suresh
6ba5fbeebb
Merge pull request #723 from vector-im/implement-609
...
Read config.json on app start
2022-04-22 15:00:02 +05:30
RMidhunSuresh
d8da128780
remove await
2022-04-22 14:34:16 +05:30
RMidhunSuresh
7a33c2e00d
await
2022-04-22 12:26:29 +05:30
RMidhunSuresh
5a94a2feba
Move handleConfigRequest inside handleRequest
2022-04-22 12:22:30 +05:30
RMidhunSuresh
c6691cf1cb
Simplify code
2022-04-22 12:10:25 +05:30
RMidhunSuresh
826835e518
No need to rewrite to index.html
2022-04-22 12:07:53 +05:30
RMidhunSuresh
b6e55ef59c
Remove comment
2022-04-21 14:46:55 +05:30
RMidhunSuresh
4f23944581
Use named param in Legacy Platform
2022-04-21 14:17:47 +05:30
RMidhunSuresh
1cdc76f5a4
Use undefine instead of null
2022-04-21 14:14:38 +05:30
RMidhunSuresh
468b7e1595
Cache config.json
2022-04-21 12:52:42 +05:30
Eric Eastwood
ce289baba6
Remove extra space
2022-04-20 17:32:12 -05:00
Eric Eastwood
f1e07b6842
Explain what is being deleted by the strange syntax
...
See https://github.com/vector-im/hydrogen-web/pull/693#discussion_r815284713
2022-04-20 11:59:49 -05:00
Eric Eastwood
e9cee2e6a4
Merge branch 'master' into madlittlemods/686-682-local-friendly-development-and-commonjs
...
Conflicts:
scripts/sdk/build.sh
2022-04-20 11:58:39 -05:00
Eric Eastwood
5f8a171c2c
Fix asset build throwing and swallowing errors ( #721 )
...
- Fix `svg-colorizer` throwing errors with Windows file paths
- Fix `css-url-parser` swallowing errors because it was `async`
- Fail SDK build script (`yarn build:sdk`, `build.sh`) overall when some commands are failing
2022-04-20 11:55:48 -05:00
RMidhunSuresh
6cd3c8ee2b
Read config from URL
2022-04-20 12:42:07 +05:30
RMidhunSuresh
2cfcd4653f
Use named params
2022-04-20 12:00:33 +05:30