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

widget: define all possible outgoing requests #2705

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

daniel-abramov
Copy link
Contributor

Though a lot of what to create next to keep it small and rather isolated, decided to try this one :) The implementation will follow.

@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (4e86954) 78.75% compared to head (4c52ad7) 78.75%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2705   +/-   ##
=======================================
  Coverage   78.75%   78.75%           
=======================================
  Files         200      200           
  Lines       20349    20349           
=======================================
  Hits        16025    16025           
  Misses       4324     4324           
Files Coverage Δ
crates/matrix-sdk/src/widget/client/actions.rs 0.00% <0.00%> (ø)
crates/matrix-sdk/src/widget/client/mod.rs 0.00% <0.00%> (ø)

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

This includes the requests that are sent to the matrix client (i.e.
a request to send a matrix event) as well as requests that are sent to
the widget.

The difference between this and `Action` is that `Action` is rather
"low-level" (i.e. it has a generic `SendToWidget(String)` variant),
whereas this API is a high-level API that we will use internally to
conveniently issue and `await` for outgoing responses.
@jplatte jplatte merged commit b98c477 into main Oct 12, 2023
36 checks passed
@jplatte jplatte deleted the widget-api-outgoing-scaffolding branch October 12, 2023 10:20
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.

None yet

2 participants