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

chore(ui): Rename Timeline::subscribe_batched to Timeline::subscribe #4585

Merged

Conversation

Hywan
Copy link
Member

@Hywan Hywan commented Jan 27, 2025

This patch renames Timeline::subscribe_batched to
Timeline::subscribe. Since the Timeline::subscribe method has been
removed because unused, it no longer makes sense to have a “batched”
variant here. Let's simplify things!


This patch removes useless `trace!` calls.
@Hywan Hywan marked this pull request as ready for review January 27, 2025 16:19
@Hywan Hywan requested a review from a team as a code owner January 27, 2025 16:19
@Hywan Hywan requested review from andybalaam and stefanceriu and removed request for a team and andybalaam January 27, 2025 16:19
Copy link

codecov bot commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.40%. Comparing base (0820170) to head (e7b6cfc).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4585      +/-   ##
==========================================
- Coverage   85.40%   85.40%   -0.01%     
==========================================
  Files         286      286              
  Lines       32258    32255       -3     
==========================================
- Hits        27550    27546       -4     
- Misses       4708     4709       +1     

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

Copy link
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

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

Noice! 👌

@Hywan Hywan enabled auto-merge (squash) January 28, 2025 08:13
@Hywan Hywan disabled auto-merge January 28, 2025 08:14
@Hywan Hywan force-pushed the chore-ui-timeline-subscribe-batched-to-subscribe branch from 3ca444f to 513dbd8 Compare January 28, 2025 08:15
Hywan added 2 commits January 28, 2025 09:15
This patch renames `Timeline::subscribe_batched` to
`Timeline::subscribe`. Since the `Timeline::subscribe` method has been
removed because unused, it no longer makes sense to have a “batched”
variant here. Let's simplify things!
@Hywan Hywan force-pushed the chore-ui-timeline-subscribe-batched-to-subscribe branch from 513dbd8 to e7b6cfc Compare January 28, 2025 08:15
@Hywan Hywan enabled auto-merge (rebase) January 28, 2025 08:54
@Hywan Hywan merged commit 1d3f8bf into matrix-org:main Jan 28, 2025
40 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.

2 participants