Skip to content

feat(timeline): report progress for media uploads #5454

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Johennes
Copy link
Contributor

@Johennes Johennes commented Jul 28, 2025

This is meant to only contain the timeline changes broken out from #5008 (together with #5453 which this depends on).

  • Public API changes documented in changelogs (optional)

Signed-off-by:

Copy link

codecov bot commented Jul 28, 2025

Codecov Report

❌ Patch coverage is 75.00000% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.93%. Comparing base (5ad477a) to head (c23d92d).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...rates/matrix-sdk-ui/src/timeline/controller/mod.rs 70.58% 5 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5454   +/-   ##
=======================================
  Coverage   88.93%   88.93%           
=======================================
  Files         334      334           
  Lines       92420    92433   +13     
  Branches    92420    92433   +13     
=======================================
+ Hits        82196    82208   +12     
- Misses       6378     6379    +1     
  Partials     3846     3846           

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

Copy link

codspeed-hq bot commented Jul 28, 2025

CodSpeed Performance Report

Merging #5454 will improve performances by 21.81%

Comparing Johennes:johannes/timeline-media-upload-progress (c23d92d) with main (033c6bd)

Summary

⚡ 1 improvements
✅ 30 untouched benchmarks

Benchmarks breakdown

Benchmark BASE HEAD Change
Restore session [SQLite][clear] 773.2 ms 634.8 ms +21.81%

@Johennes Johennes force-pushed the johannes/timeline-media-upload-progress branch from abc8928 to a01918f Compare August 1, 2025 11:58
…ate::NotSentYet

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
…ntYet

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
@Johennes Johennes force-pushed the johannes/timeline-media-upload-progress branch from 8cf4c7d to 77966e5 Compare August 1, 2025 12:12
…::NotSentYet

Move AbstractProgress from client to timeline

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
…tSendState::NotSentYet

Retain progress when applying remote echo

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
@Johennes Johennes force-pushed the johannes/timeline-media-upload-progress branch from 3f36d7e to c23d92d Compare August 1, 2025 13:28
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.

1 participant