Add timestamped comment button to video player
Summary
Replaces the editable title in the reactions row with a "Comment" button that opens an overlay composer docked to the bottom of the video, capturing the exact playback timestamp when the comment is made.
Problem
The recording title was displayed in the bottom metadata row alongside reactions, which was not the intended location. There was also no way for viewers to leave a comment tied to a specific moment in the video.
Key Changes
- New
TimestampedCommentButtoncomponent – a small trigger button (shown only when comments are enabled) that captures the current video timestamp and opens the comment composer. - New
TimestampedCommentBarcomponent – an overlay composer that renders absolutely at the bottom of the video container, showing the captured timestamp, a resizable textarea, mention (@) and emoji shortcuts, and a "Comment at X:XX" submit button. SupportsCmd/Ctrl+Enterto submit andEscapeto dismiss. r.$recordingId.tsxupdates:- Added
commentOpenandcommentAtMsstate to track composer visibility and the pinned timestamp. - Made the video wrapper
relativeso the overlay positions correctly. - Replaced the
EditableRecordingTitlein the reactions row withTimestampedCommentButton. - On successful comment submission, switches the side panel to "comments" and refetches player data.
- Added
https://github.com/user-attachments/assets/0ecc2e26-de1d-421a-bacb-057e074ddf4d
To clone this PR locally use the Github CLI with command gh pr checkout 1641
You can tag me at @builderio for anything you want me to fix or change
Deploy Preview for agent-native-scheduling ready!
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-scheduling/deploys/6a42602bf7e7d30008e09e06 |
| Deploy Preview | https://deploy-preview-1641--agent-native-scheduling.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
| Make changes | Run an agent on this branch |
To edit notification comments on pull requests, go to your Netlify project configuration.
Deploy Preview for nutritrack-daily-calories canceled.
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/nutritrack-daily-calories/deploys/6a42602b10fc4a0008757ee9 |
Deploy Preview for agent-native-voice ready!
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-voice/deploys/6a42602b5e66130007bc0246 |
| Deploy Preview | https://deploy-preview-1641--agent-native-voice.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
| Make changes | Run an agent on this branch |
To edit notification comments on pull requests, go to your Netlify project configuration.
Deploy Preview for agent-native-meeting-notes ready!
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-meeting-notes/deploys/6a42602c86ee0400096f6067 |
| Deploy Preview | https://deploy-preview-1641--agent-native-meeting-notes.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
| Make changes | Run an agent on this branch |
To edit notification comments on pull requests, go to your Netlify project configuration.
Deploy Preview for agent-native-design ready!
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-design/deploys/6a42602c389d9a0007479fd9 |
| Deploy Preview | https://deploy-preview-1641--agent-native-design.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
| Make changes | Run an agent on this branch |
To edit notification comments on pull requests, go to your Netlify project configuration.
Deploy Preview for agent-native-brain canceled.
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-brain/deploys/6a42602b03d243000893dd6d |
Deploy Preview for agent-native-content canceled.
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-content/deploys/6a42602cebcd710008356396 |
Deploy Preview for agent-native-images canceled.
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-images/deploys/6a42602bd4c06500093bc0e9 |
Deploy Preview for agent-native-dispatch canceled.
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-dispatch/deploys/6a42602b168d200008e4de0f |
Deploy Preview for agent-native-macros canceled.
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-macros/deploys/6a42602cdbe78600085fef50 |
Deploy Preview for agent-native-calendar canceled.
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-calendar/deploys/6a42602b5eddc70008693e94 |
Deploy Preview for agent-native-starter canceled.
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-starter/deploys/6a42602c03d243000893dd72 |
Deploy Preview for agent-native-forms canceled.
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-forms/deploys/6a42602ca06c4400082bf1f0 |
Deploy Preview for agent-native-slides canceled.
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-slides/deploys/6a42602c32f1e500097de411 |
Deploy Preview for agent-native-videos canceled.
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-videos/deploys/6a42602c9607850008f747d3 |
Deploy Preview for agent-native-mail canceled.
| Name | Link |
|---|---|
| Latest commit | 6d7bd33a7d8e2e3eea757a92fa8b6e2486bd2640 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-mail/deploys/6a42602c7aefef0008045bae |
@builderio-bot look at latest PR feedback and fix anything you agree with. Be skeptical. Reply to every comment (directly on the comment thread of each comment) if you fixed it or not and why. then check back every 2 minutes on a loop and see if any new feedback posted, until at least 20 minutes go by without any new feedback posted we want to address, including making sure CI passes too and no merge conflicts (make sure code is mergeable)
Thanks for the review — addressed the items and the failing CI:
🟡 MEDIUM #1 — compact/mobile: comments tab selected but sheet not opened after submit — Fixed. onAdded now also calls setSidePanelOpen(true) when isCompactLayout, so the Activity sheet opens and the new comment is visible as confirmation (desktop already showed the persistent side panel).
CI — Lint & format (oxfmt --check) — Fixed. Ran oxfmt --write on the changed files (import ordering + button formatting).
CI — Security guards (guard:i18n-catalogs) — Fixed. The composer had raw visible strings. Moved them to i18n: added commentsPanel.commentButton, composerPlaceholder, mentionSomeone, addEmoji to the en-US source catalog (reusing common.cancel and commentsPanel.commentAt), wired them via useT(), and added translations to all 10 non‑English catalogs. pnpm guards now passes.
Typecheck passes. Pushed in 5fce19b2.
Note: the review summary appears truncated mid-sentence, so I could only see the first MEDIUM finding in full. If there's a second finding (e.g., from the browser-testing pass), please post it and I'll address it.
There was a problem with your request, please try again later. Error id: 34414109a3984fa6ba8ca0716dca3e49