Skip to content

Conversation

@sshanzel
Copy link
Member

@sshanzel sshanzel commented Oct 23, 2025

Changes

Events

Did you introduce any new tracking events?

Experiment

Did you introduce any new experiments?

Manual Testing

Caution

Please make sure existing components are not breaking/affected by this PR

Preview domain

https://feat-message-copyier.preview.app.daily.dev

@vercel
Copy link

vercel bot commented Oct 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
daily-webapp Ready Ready Preview Oct 29, 2025 0:59am
1 Skipped Deployment
Project Deployment Preview Updated (UTC)
storybook Ignored Ignored Oct 29, 2025 0:59am

Copy link
Contributor

@rebelchris rebelchris left a comment

Choose a reason for hiding this comment

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

Fingers crossed it does't affect chrome review

const [popups, setPopups] = useState<MessagePopup[]>([]);
const [observer] = useState(
new MutationObserver(async () => {
await new Promise((resolve) => setTimeout(resolve, 10)); // wait for the dom to update
Copy link
Member

Choose a reason for hiding this comment

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

extract this into a util we can re-use. could name it sleep.

export const sleep = (time: number) => new Promise((resolve) => setTimeout(resolve, time))

Comment on lines +20 to +22
const toUpdate = [];

bubbles.forEach((bubble) => {
Copy link
Member

Choose a reason for hiding this comment

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

does bubbles.map work? Then we can just do const toUpdate = bubbles.map.....

Copy link
Member

@omBratteng omBratteng left a comment

Choose a reason for hiding this comment

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

LGTM, haven't tested it yet though.

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.

4 participants