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

Improved Metadata Message Display #903

Merged
merged 17 commits into from
Nov 26, 2024
Merged

Conversation

dragonstyle
Copy link
Collaborator

This PR contains:

  • New features
  • Changes to dev-tools e.g. CI config / github tooling
  • Docs
  • Bug fixes
  • Code refactor

What is the current behavior? (You can also link to an open issue here)

Display only the 'last turn' when using the default message renderer (e.g. metadata, storage, state rendering). The renderer includes a nav/pills for showing the last turn or all messages.

@dragonstyle dragonstyle marked this pull request as ready for review November 26, 2024 14:06
@dragonstyle dragonstyle force-pushed the feature/metadata-messages branch from 814c33f to 3dcf6ee Compare November 26, 2024 14:07
Depending directly up saveState for rendering can cause new callback which bypass the debouce. Instead use a ref to hold the latest saveState fn and use that without depending upon it.
- increase wait time to save state
- remove nested debouncing
- memoize children of tabs to prevent excessive rendering
@dragonstyle dragonstyle merged commit 983cb93 into main Nov 26, 2024
9 checks passed
@dragonstyle dragonstyle deleted the feature/metadata-messages branch November 26, 2024 15:37
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