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

Tweak repr of ChatMessage #7521

Merged
merged 2 commits into from
Dec 2, 2024
Merged

Tweak repr of ChatMessage #7521

merged 2 commits into from
Dec 2, 2024

Conversation

ahuang11
Copy link
Contributor

While debugging, the ChatMessage repr, and also the ChatFeed, can be excessively bloated and spammy. This reduces it to show only object, user, and reactions.

After (top) and Before (bottom):
image

@ahuang11 ahuang11 requested a review from philippjfr November 25, 2024 19:54
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.38%. Comparing base (c6ac0a8) to head (ada9154).
Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #7521       +/-   ##
===========================================
+ Coverage   41.55%   82.38%   +40.83%     
===========================================
  Files         327      339       +12     
  Lines       48679    51007     +2328     
===========================================
+ Hits        20228    42022    +21794     
+ Misses      28451     8985    -19466     

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

@philippjfr philippjfr merged commit b296960 into main Dec 2, 2024
18 checks passed
@philippjfr philippjfr deleted the tweak_repr branch December 2, 2024 09:13
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