Skip to content

feat: add pause button to front page for in-progress items - #84

Merged
CodeWithMa merged 3 commits into
CodeWithMa:devfrom
CodeWithMaBot:feature/pause-button
Aug 16, 2026
Merged

feat: add pause button to front page for in-progress items#84
CodeWithMa merged 3 commits into
CodeWithMa:devfrom
CodeWithMaBot:feature/pause-button

Conversation

@CodeWithMaBot

@CodeWithMaBot CodeWithMaBot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

fixes #81

Summary by CodeRabbit

  • New Features

    • Added Pause buttons for upcoming series and movie actions.
    • Pausing an in-progress item now returns it to a “Not Started” status.
  • Bug Fixes

    • Improved watch-list status handling when pausing items.

@vercel

vercel Bot commented Aug 16, 2026

Copy link
Copy Markdown

@CodeWithMaBot is attempting to deploy a commit to the Ma's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Aug 16, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@CodeWithMa, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 42 minutes

Limit details: You’ve used all 1 included review currently available under your plan.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 824c61e1-2c99-491d-b07f-875de4764776

📥 Commits

Reviewing files that changed from the base of the PR and between 09985a7 and 6ed333a.

📒 Files selected for processing (2)
  • src/app/components/home/home.component.ts
  • src/app/services/watch-list.service.spec.ts

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: ddc2e002-6a66-4dbf-9140-6506102c0705

📥 Commits

Reviewing files that changed from the base of the PR and between 435d36e and 09985a7.

📒 Files selected for processing (3)
  • src/app/components/home/home.component.ts
  • src/app/services/watch-list.service.spec.ts
  • src/app/services/watch-list.service.ts

Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The home page now provides Pause buttons for the next series and movie. The pause action changes an existing watch-list item to not-started, with service test coverage.

Changes

Pause action

Layer / File(s) Summary
Persist paused status
src/app/services/watch-list.service.ts, src/app/services/watch-list.service.spec.ts
markPaused updates an existing item to not-started. Tests verify the status transition.
Home page pause controls
src/app/components/home/home.component.ts
Pause buttons for the next series and movie call markItem with the paused action. markItem routes this action to markPaused.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 09985

This localized change adds pause behavior for in-progress items without any identified merge-blocking risk; it is merge-ready after normal checks and review.

Suggested reviewers: codewithma

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes adding a pause button to the front page for in-progress items.
Linked Issues check ✅ Passed The changes add front-page pause actions and set paused items to the required "not-started" state.
Out of Scope Changes check ✅ Passed All changes support the linked issue by adding pause actions, implementing the state transition, and testing the behavior.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@vercel

vercel Bot commented Aug 16, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
watch-list Ready Ready Preview Aug 16, 2026 9:13am

@CodeWithMa
CodeWithMa merged commit b05d244 into CodeWithMa:dev Aug 16, 2026
6 checks passed
@CodeWithMaBot
CodeWithMaBot deleted the feature/pause-button branch August 16, 2026 15:27
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.

Add a "pause" button on front page

2 participants