Commit Graph

3548 Commits

Author SHA1 Message Date
Isaiah Becker-Mayer
70b68c5b16 found a more clever way to do this which eliminates boilerplate 2022-08-07 21:13:00 -07:00
Isaiah Becker-Mayer
73b83fdab8 Changes config from a function that returns an objectinto a more aptly named BaseObservableMapDefaults class 2022-08-07 21:13:00 -07:00
Isaiah Becker-Mayer
bed66ada88 removes .js to files that are now typescripted 2022-08-07 21:13:00 -07:00
Isaiah Becker-Mayer
0203ece3bd updates ts-eslint and fixes errors in src/observable 2022-08-07 21:13:00 -07:00
Isaiah Becker-Mayer
deab8bdaf0 moves boilerplate to bottom of classes 2022-08-07 21:13:00 -07:00
Isaiah Becker-Mayer
be570cafb0 Adds types for common functions 2022-08-07 21:13:00 -07:00
Isaiah Becker-Mayer
674e7bd1c6 fixing linting errors 2022-08-07 21:13:00 -07:00
Isaiah Becker-Mayer
081cc05fa6 Updates comparator 2022-08-07 21:13:00 -07:00
Isaiah Becker-Mayer
ab6a8ad3aa typescriptifying ApplyMap 2022-08-07 21:13:00 -07:00
Isaiah Becker-Mayer
95c65280ef typescriptifying MappedMap 2022-08-07 21:13:00 -07:00
Isaiah Becker-Mayer
d060d337b6 typescriptifies LogMap 2022-08-07 21:12:59 -07:00
Isaiah Becker-Mayer
edeec896ae typescriptifies SourceSubscriptionHandler 2022-08-07 21:12:59 -07:00
Isaiah Becker-Mayer
63e9b49ebe uncommenting tests 2022-08-07 21:12:59 -07:00
Isaiah Becker-Mayer
3ba2bab59f JoinedMap to typescript 2022-08-07 21:12:59 -07:00
Isaiah Becker-Mayer
f1751a24b0 FilteredMap 2022-08-07 21:12:59 -07:00
Isaiah Becker-Mayer
7645eb8753 moves config into its own file 2022-08-07 21:12:59 -07:00
Isaiah Becker-Mayer
b33db1df36 refactors ObservableMap 2022-08-07 21:12:59 -07:00
RMidhunSuresh
236a4ab49b Ignore error 2022-08-01 17:01:36 +05:30
RMidhunSuresh
ba8cdea6b4 Use default import if other not found 2022-08-01 17:01:36 +05:30
RMidhunSuresh
ef9f90bc36 Fix imports breaking on dev 2022-08-01 17:01:36 +05:30
Bruno Windels
041e628520
Merge pull request #769 from vector-im/implement-derived-theme
Support for derived themes
2022-07-29 14:25:05 +00:00
Bruno Windels
4838e19c92
Merge pull request #811 from vector-im/bwindels/sharekeyswithinvitees
Key sharing based on room history visibility
2022-07-29 14:23:26 +00:00
Bruno Windels
cb0ac846c7 remove obsolete comment 2022-07-29 16:22:01 +02:00
Bruno Windels
fdefea5b88 Merge branch 'master' into ts-conversion-domain-navigation 2022-07-29 16:18:22 +02:00
Bruno Windels
b6f795505d fix lint 2022-07-29 12:21:16 +02:00
Kaki In
09bc77073b
Merge branch 'vector-im:master' into restore_last 2022-07-29 12:06:49 +02:00
Bruno Windels
4a2e14925a
Merge pull request #812 from vector-im/doc-config
[Documentation] - Add type for config options
2022-07-29 10:05:27 +00:00
Bruno Windels
224ab2672a
Merge pull request #809 from Kaki-In/implement-join
Implemented /join
2022-07-29 10:03:18 +00:00
Bruno Windels
170460f5a9 add link to sygnal webpush docs as well 2022-07-29 12:02:09 +02:00
Bruno Windels
2a5e0302dc
Merge pull request #785 from vector-im/hs/log-when-storage-access-fails
Log the error when we can't get storage access
2022-07-29 09:47:58 +00:00
Kaki In
f512bfcfc1 Pretty syntaxed the RoomViewModel 2022-07-29 11:47:47 +02:00
Half-Shot
5b5c852401 Revert "use logging items"
This reverts commit d937b9b14b.
2022-07-29 10:44:37 +01:00
Kaki In
58a2d1f34c Restored the common.js indentation 2022-07-29 11:44:23 +02:00
Half-Shot
d937b9b14b use logging items 2022-07-29 10:39:41 +01:00
Bruno Windels
d3e93196e3
Merge pull request #777 from ibeckermayer/ibeckermayer/ts-conversion-loginviewmodel
TS conversion for `LoginViewModel`
2022-07-29 09:27:10 +00:00
Bruno Windels
62b3a67e33 write unit tests for correctly reading history visibility when needed 2022-07-28 17:09:41 +02:00
Bruno Windels
319ec37864 fix typos preventing to load the history visibility 2022-07-28 11:44:50 +02:00
Kaki In
f5dacb4e42 Fixed last check 2022-07-28 10:26:59 +02:00
Kaki In
302131c447 Review last checks 2022-07-28 10:14:21 +02:00
Kaki In
fb79326747 Forgot one change 2022-07-28 09:26:08 +02:00
Kaki In
3c64f7d49b Finals checks about https://github.com/vector-im/hydrogen-web/pull/809#pullrequestreview-1053501341
- joined the processJoinRoom and joinRoom methods;
 - fixed some precisions miss;
 - removed some useless code;
 - change the error message height from absolute (40px) to relative (auto)
2022-07-28 09:23:30 +02:00
Isaiah Becker-Mayer
a82df95b82 marking private methods as such 2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
cadca70946 fixes linter errors and removes some unneeded async/await 2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
8b91d8fac8 adds newline 2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
a5b9cb6b95 removes unnecessary awaits 2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
aeed978789 changes signature of emitChange to require changedProps 2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
7b7b19476c updates some signatures to be more verbose, fixes wrong type for attemptLogin 2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
ad0bd82bda creating default exports 2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
d7657dcc4d first draft of fully typescriptified LoginViewModel.ts 2022-07-27 22:09:30 -07:00
Kaki In
176caf340f Placed the join command outside of the processCommand method 2022-07-27 16:42:44 +02:00