Commit graph

4580 commits

Author SHA1 Message Date
RMidhunSuresh 0dac00f327 themeVariant is optional 2022-06-06 17:20:16 +05:30
Ajay Bura dc1f0fecb5 Add profile world type 2022-06-06 13:04:48 +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
RMidhunSuresh e8e4c33bae Rephrase comment 2022-06-05 20:52:47 +05:30
RMidhunSuresh cb03e97e78 Use default theme intially 2022-06-05 20:52:47 +05:30
RMidhunSuresh f6cec938a7 Add default theme to mapping 2022-06-05 20:52:47 +05:30
RMidhunSuresh bbec2effe5 Add typing 2022-06-05 20:52:47 +05:30
RMidhunSuresh d4084da299 Extract code into function 2022-06-05 20:52:47 +05:30
RMidhunSuresh 1f00c8f635 Add a temporary theme to test this PR 2022-06-05 20:52:47 +05:30
RMidhunSuresh 0b98473e85 Render a radio button for default variants 2022-06-05 20:52:47 +05:30
RMidhunSuresh 3afbe1148e Use the new built-asset format in ThemeLoader 2022-06-05 20:52:47 +05:30
RMidhunSuresh 809c522571 Change the format of built-asset 2022-06-05 20:52:47 +05:30
RMidhunSuresh 4474458f4b getActiveTheme should never return undefined
Instead it should throw an error.

This is useful for when we do setTheme(await getActiveTheme()) because
setTheme expects a string.
2022-06-05 20:52:47 +05:30
Bruno Windels bfdea03bbd start with seq 1, like Element Call does 2022-06-03 15:50:02 +02:00
Bruno Windels 1fab314dd5 return user id for own avatar in call if member hasn't been found 2022-06-03 15:49:45 +02:00
Bruno Windels ed5fdb8154 don't withhold member event for call just because we don't have profile 2022-06-03 12:43:51 +02:00
Bruno Windels f8b01ac3cc show profile info for own call member by observing member on room 2022-06-02 17:31:17 +02:00
Bruno Windels 5280467e66 return type is actual subclass options, not the options of ViewModel 2022-06-02 17:30:43 +02:00
Bruno Windels c8b5c6dd41 expose own user on BaseRoom
so we don't have to pass session around everywhere we need this
2022-06-02 17:30:17 +02:00
Bruno Windels 8ba1d085f6 fix refactor mistake in logging 2022-06-02 15:58:50 +02:00
Bruno Windels f452c3ff4c enable 96px avatars 2022-06-02 15:58:38 +02:00
Bruno Windels d66d810fe2 pass updates to avatar view 2022-06-02 15:58:26 +02:00
Bruno Windels 0c20beb1c0 always pass mediaRepo to call vm 2022-06-02 15:58:03 +02:00
Bruno Windels 90b6a5ccb6 update call member info with room member info 2022-06-02 15:56:23 +02:00
Bruno Windels a52740ed1b give room state handler access to member sync to get sender profile info 2022-06-02 15:55:08 +02:00
Bruno Windels a530944f7d add logging to seq queueing 2022-06-02 11:11:32 +02:00
Bruno Windels 513c059459 buffer messages as long as seq numbers in between haven't been received 2022-06-02 10:59:14 +02:00
Bruno Windels a139571e20 move setting seq on outbound messages to member, is specific to_device 2022-06-02 10:59:03 +02:00
Bruno Windels a014740e72 don't throw when we can't encrypt, just fall back to sending unencrypted 2022-06-01 15:55:43 +02:00
Bruno Windels 83eef2be9d log lack of persisted storage in ... persisted logs! 2022-06-01 15:30:41 +02:00
Bruno Windels 3edfbd2cf6 await hangup here, so log doesn't terminate early 2022-06-01 15:30:25 +02:00
Bruno Windels 9efe294a79 fetch and verify keys on olm call signalling message 2022-06-01 15:29:24 +02:00
Bruno Windels 50ae51e893 encrypt call signalling message only for given device 2022-06-01 15:28:49 +02:00
Bruno Windels 6f0ebeacb7 fetch single device key in DeviceTracker 2022-06-01 15:27:00 +02:00
Eric Eastwood 9d8a578dce Better comment 2022-05-31 15:35:48 -05:00
Eric Eastwood 38c3774869 Import assets from the assets/ directory
> Will be easier towards the future when adding more assets. Probably best to keep style.css for now for backwards compat though.
>
> *-- https://github.com/vector-im/hydrogen-web/pull/693#discussion_r853844282*
2022-05-31 15:30:56 -05:00