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

Retry clops #3800

Merged
merged 3 commits into from
May 1, 2024
Merged

Retry clops #3800

merged 3 commits into from
May 1, 2024

Conversation

estrattonbailey
Copy link
Member

No description provided.

Copy link

render bot commented May 1, 2024

Copy link

github-actions bot commented May 1, 2024

Old size New size Diff
6.84 MB 6.84 MB -23 B (-0.00%)

Comment on lines +76 to +86
export function isConvoItemMessage(
item: ConvoItem,
): item is ConvoItem & {type: 'message'} {
if (!item) return false
return (
item.type === 'message' ||
item.type === 'deleted-message' ||
item.type === 'pending-message'
)
}

Copy link
Contributor

@haileyok haileyok May 1, 2024

Choose a reason for hiding this comment

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

I think we want ConvoItem to always include sender so that we can use a single MessageItem for rendering these. Then we can handle different logic based on the type.

Copy link
Contributor

@haileyok haileyok left a comment

Choose a reason for hiding this comment

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

Tested this with intermittent connection, works great.

@estrattonbailey estrattonbailey merged commit fc0eab2 into main May 1, 2024
6 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