Skip to content

fix(timeline): implement functional track visibility toggle#691

Open
nino-chavez wants to merge 1 commit intoOpenCut-app:mainfrom
nino-chavez:fix/timeline-eye-button-658
Open

fix(timeline): implement functional track visibility toggle#691
nino-chavez wants to merge 1 commit intoOpenCut-app:mainfrom
nino-chavez:fix/timeline-eye-button-658

Conversation

@nino-chavez
Copy link

Summary

  • Added hidden property to TimelineTrack interface
  • Implemented toggleTrackVisibility function in timeline store
  • Eye icon now toggles between Eye/EyeOff on click
  • Hidden tracks display with 50% opacity

Related Issue

Fixes #658

Test plan

  • Eye icon on timeline track is clickable
  • Clicking toggles between Eye and EyeOff icons
  • EyeOff shows in destructive (red) color
  • Hidden track content has reduced opacity
  • Toggle persists across interactions
  • Playwright E2E test included

Note

The underlying preview system has known memory management issues (VideoFrame not being closed) which can cause crashes during video playback. This fix follows the same pattern as the existing toggleTrackMute function and does not introduce new issues.

🤖 Generated with Claude Code

…penCut-app#658)

- Added `hidden` property to TimelineTrack interface
- Added `toggleTrackVisibility` function to timeline store
- Updated Eye icon in timeline to toggle visibility on click
- Show EyeOff icon in red when track is hidden
- Hidden tracks now appear semi-transparent (50% opacity)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Jan 29, 2026

@nino-chavez is attempting to deploy a commit to the OpenCut OSS Team on Vercel.

A member of the Team first needs to authorize it.

@netlify
Copy link

netlify bot commented Jan 29, 2026

👷 Deploy request for appcut pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit bc26237

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 29, 2026

Warning

Rate limit exceeded

@nino-chavez has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 29 minutes and 23 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

[BUG] Non-functional Eye Button on Timeline Track

1 participant

Comments