Skip to content

Conversation

@philippjfr
Copy link
Member

ChatFeed now publishes the Model in its _models dictionary but that also means that the regular model update logic runs. This PR stubs out _update_model so that only the sub-object (_card) handles the re-render.

@codecov
Copy link

codecov bot commented Jan 14, 2024

Codecov Report

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

Comparison is base (15ba95e) 84.45% compared to head (5888b79) 84.45%.
Report is 3 commits behind head on main.

Files Patch % Lines
panel/chat/feed.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6199   +/-   ##
=======================================
  Coverage   84.45%   84.45%           
=======================================
  Files         299      299           
  Lines       44677    44679    +2     
=======================================
+ Hits        37730    37732    +2     
  Misses       6947     6947           
Flag Coverage Δ
ui-tests 40.68% <50.00%> (+0.01%) ⬆️
unitexamples-tests 72.25% <50.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@philippjfr philippjfr changed the title Do let ChatFeed update model Do not let ChatFeed update model Jan 14, 2024
@philippjfr philippjfr merged commit 98baffe into main Jan 14, 2024
@philippjfr philippjfr deleted the feed_no_update branch January 14, 2024 17:23
philippjfr added a commit that referenced this pull request Jan 19, 2024
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants