Skip to content

Conversation

@jmattheis
Copy link
Member

No description provided.

@jmattheis jmattheis requested a review from a team as a code owner January 14, 2026 18:06
@codecov
Copy link

codecov bot commented Jan 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.15%. Comparing base (ad9b01e) to head (7bd057c).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #903   +/-   ##
=======================================
  Coverage   79.15%   79.15%           
=======================================
  Files          56       56           
  Lines        2226     2226           
=======================================
  Hits         1762     1762           
  Misses        360      360           
  Partials      104      104           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@eternal-flame-AD
Copy link
Member

Should we implement this for delete all messages as well? That seems like a much easier (and higher impact) mistake to make?

};

const renderMessages = () => (
// Virtuoso logs errors when elements have 0px size as this normally means it's miscalculated.
Copy link
Member

Choose a reason for hiding this comment

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

I think that error meant when that element is needed for scrollbar positioning it will not work.

If you send more than a page of messages, scroll to the bottom and start clicking delete the scrollbar has a lot of "jumping" glitch/error that weren't there on master branch.

Reproduction:

  1. shell script send 100 messages, call them "message $i"
  2. scroll to the bottom
  3. click the delete button on the message and the end of the viewport on master you should be clicking "1, 2, 3, 4, ..." sequentially, on this branch it is very random

Copy link
Member

Choose a reason for hiding this comment

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

I think just .filter() should be fine here no need to render an empty component, I am pretty sure Virtuoso is O(n) anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants