Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(base): Make ObservableMap::stream works on wasm32-unknown-unknown #4255

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

Hywan
Copy link
Member

@Hywan Hywan commented Nov 13, 2024

This patch updates eyeball-im and eyeball-im-util to integrate jplatte/eyeball#63. With this new feature, we can have a single implementation of ObservableMap (instead of 2: one for all targets, one for wasm32-u-u). It makes it possible to get Client::rooms_stream available on all targets now.

This was required to get matrix-sdk-ui usable on wasm32-u-u, esp. the RoomListService.

@Hywan Hywan requested a review from a team as a code owner November 13, 2024 07:41
@Hywan Hywan requested review from poljar and removed request for a team November 13, 2024 07:41
…nown`.

This patch updates `eyeball-im` and `eyeball-im-util` to integrate
jplatte/eyeball#63. With this new feature, we
can have a single implementation of `ObservableMap` (instead of 2: one
for all targets, one for `wasm32-u-u`). It makes it possible to get
`Client::rooms_stream` available on all targets now.
@Hywan Hywan force-pushed the chore-update-eyeball-im branch from 8a693c8 to e7ac2a8 Compare November 13, 2024 07:47
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

Attention: Patch coverage is 93.75000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 84.94%. Comparing base (36b96cc) to head (7540414).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
crates/matrix-sdk-base/src/store/observable_map.rs 93.75% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4255      +/-   ##
==========================================
+ Coverage   84.90%   84.94%   +0.03%     
==========================================
  Files         274      274              
  Lines       29761    29752       -9     
==========================================
+ Hits        25270    25273       +3     
+ Misses       4491     4479      -12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jplatte
Copy link
Collaborator

jplatte commented Nov 13, 2024

You didn't upgrade the util crate (latest release is technically breaking, so I bumped the minor version). Seems like it's not necessary for this, but wouldn't hurt either.

Copy link
Contributor

@poljar poljar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@Hywan Hywan enabled auto-merge (rebase) November 13, 2024 10:03
@Hywan Hywan merged commit 8f8aad6 into matrix-org:main Nov 13, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants