RMidhunSuresh
f658dc2e4b
Make comment clearer
2022-06-15 15:06:16 +05:30
RMidhunSuresh
7a3eabf39c
Formatting fix
2022-06-15 15:04:33 +05:30
RMidhunSuresh
48da6c782c
Remove base key
2022-06-15 15:04:12 +05:30
RMidhunSuresh
b00bbc7daf
Fix formatting
2022-06-15 15:03:41 +05:30
RMidhunSuresh
9fbe8a4e32
Change description of version key
2022-06-15 15:02:15 +05:30
Bruno Windels
623939c671
release v0.2.32
2022-06-15 11:29:29 +02:00
Bruno Windels
fccc41f4b9
Merge pull request #753 from vector-im/bwindels/rageshake-submit
...
Allow sending logs to rageshake server
2022-06-15 11:28:54 +02:00
Bruno Windels
3b66ed8c17
fix type
2022-06-15 11:24:16 +02:00
Bruno Windels
8fe8981ffa
add options to send logs to server in settings ui
2022-06-15 11:14:06 +02:00
Bruno Windels
375d8b066c
complete settings view model for logs ui
2022-06-15 11:13:46 +02:00
Bruno Windels
69ada73dd4
cleanup rageshake code
2022-06-15 11:13:05 +02:00
Bruno Windels
2129a97588
remove unused param
2022-06-15 11:12:49 +02:00
Bruno Windels
4caabae895
extract map -> formdata conversion and also suppor this for xhr
2022-06-15 10:15:15 +02:00
RMidhunSuresh
d0375141f8
WIP - write type for manifest
2022-06-15 12:11:15 +05:30
Bruno Windels
a644621889
basic support for sending rageshake in view model
2022-06-14 18:46:02 +02:00
Bruno Windels
4ed7e01dfd
release v0.2.31
2022-06-14 16:00:35 +02:00
Bruno Windels
e643ffb334
Merge pull request #751 from vector-im/fix-theming-watch
...
Fix: don't crash on platforms that don't have a preferred color scheme
2022-06-14 16:00:13 +02:00
RMidhunSuresh
d00ea39dc4
No need to throw here
2022-06-14 19:27:18 +05:30
RMidhunSuresh
69d8e6031e
This isn't used anywhere
2022-06-14 19:26:59 +05:30
Bruno Windels
abee9baf60
release v0.2.30
2022-06-14 10:15:00 +02:00
Bruno Windels
d4aaa8117b
Merge pull request #742 from vector-im/theme-chooser-improvements
...
Theme chooser improvements
2022-06-14 10:14:29 +02:00
RMidhunSuresh
be66969c9a
Remove font section from manifest
2022-06-14 11:52:45 +05:30
R Midhun Suresh
7bce0d848f
Merge pull request #750 from vector-im/madlittlemods/fix-broken-hydrogen-dev
...
Fix Vite not being able to analyze dynamic CSS styles import in dev on Windows
2022-06-13 20:04:25 +05:30
RMidhunSuresh
53a8915ffc
Parellelize code
2022-06-12 17:05:31 +05:30
RMidhunSuresh
b5fd3656a7
Fix code breaking on dev server
2022-06-12 16:53:25 +05:30
R Midhun Suresh
acffd15002
Add comment
...
Co-authored-by: Bruno Windels <274386+bwindels@users.noreply.github.com>
2022-06-12 16:52:21 +05:30
R Midhun Suresh
989ecd785a
Lowercase string
...
Co-authored-by: Bruno Windels <274386+bwindels@users.noreply.github.com>
2022-06-12 16:51:58 +05:30
RMidhunSuresh
9a5a002293
Remove test-variant
2022-06-08 13:35:58 +05:30
Eric Eastwood
2cfd08e500
Remove debug logging
2022-06-07 23:47:38 -05:00
Eric Eastwood
2b4a7f05a6
Fix Vite not being able analyze dynamic CSS styles import in dev
...
Fix:
```
$ yarn start
[vite] warning:
@theme/default
1 | import "C:\Users\MLM\Documents\GitHub\element\hydrogen-web\src\platform\web\ui\css\themes\element\theme.css";import "@theme/element/light/variables.css"
| ^
The above dynamic import cannot be analyzed by vite.
See https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to suppress this warning.
Plugin: vite:import-analysis
File: @theme/default
```
And in the browser, it results in none of the styles loading because of the following error:
```
Uncaught SyntaxError: Invalid Unicode escape sequence (at default:formatted:1:163)
```
---
Before:
```
import { injectQuery as __vite__injectQuery } from "/@vite/client";import "__vite__injectQuery(C:\Users\MLM\Documents\GitHub\element\hydrogen-web\src\platform\web\ui\css\themes\element\theme.css, 'import')";import "/@id/__x00__@theme/element/light/variables.css"
```
After:
```
import "/ui/css/themes/element/theme.css";import "/@id/__x00__@theme/element/light/variables.css"
```
2022-06-07 23:41:45 -05:00
RMidhunSuresh
d31f127982
Add explaining comment
2022-06-07 13:28:56 +05:30
RMidhunSuresh
d08cfe3a29
Add more logging
2022-06-07 11:57:57 +05:30
RMidhunSuresh
51a837d459
Remove unuseed import
2022-06-06 17:26:39 +05:30
RMidhunSuresh
2f0f7143b5
Simplify code
2022-06-06 17:20:36 +05:30
RMidhunSuresh
0dac00f327
themeVariant is optional
2022-06-06 17:20:16 +05:30
RMidhunSuresh
a639fc5467
Rever to sensisble defaults
2022-06-06 12:20:06 +05:30
RMidhunSuresh
258a604cc6
Don't make defaultTheme compulsory
2022-06-06 12:19:48 +05:30
RMidhunSuresh
a2cbac9e0c
Move code into method
2022-06-06 11:53:13 +05:30
RMidhunSuresh
71c3fb39a2
store theme-name and variant in settings
2022-06-05 20:52:47 +05:30
RMidhunSuresh
43244fa026
Add explaining comment
2022-06-05 20:52:47 +05:30
RMidhunSuresh
9e88bc3098
Fix bugs
2022-06-05 20:52:47 +05:30
RMidhunSuresh
b74f4b612b
Change UI
2022-06-05 20:52:47 +05:30
RMidhunSuresh
8de91291dd
Add more methods to ThemeLoader
2022-06-05 20:52:47 +05:30
RMidhunSuresh
dc2d1ce700
Remove id
2022-06-05 20:52:47 +05:30
RMidhunSuresh
12a8e94243
Move code into ThemeLoader
2022-06-05 20:52:47 +05:30
RMidhunSuresh
9e79b632a8
Extract variable
2022-06-05 20:52:47 +05:30
RMidhunSuresh
efb1a67470
Make method name a verb
2022-06-05 20:52:47 +05:30
RMidhunSuresh
e3235ea3eb
Rename themeName --> themeId
2022-06-05 20:52:47 +05:30
RMidhunSuresh
46d2792dac
Modify comment
2022-06-05 20:52:47 +05:30
RMidhunSuresh
8ad0b8a726
rename themeName --> variantName
2022-06-05 20:52:47 +05:30