Skip to content

PR size limit: hide credit packs, simplify review prompt, and refresh popup copy #281

Description

@cursor

Summary

Track the work delivered in pull request #279 (feature/pr-size-limit-hide-credit-packs).

Pull request: #279

Changes

1. Hide credit packs on PR size limit upgrade prompt

  • Added hideCreditPacks option to showUpgradeMessage() / revealUpgradePrompt() in content.js.
  • When a PR exceeds the free-plan patch size limit, the upgrade prompt now shows subscription plans only and hides prepaid credit pack actions.
  • showPatchTooLargeMessage() passes { hideCreditPacks: true } so users are steered toward upgrading rather than buying credits for oversized PRs.

2. Simplify in-extension review prompt

  • Removed the 5-star rating UI and related CSS from components/review-prompt/.
  • Submit now opens the correct browser store review page (Chrome Web Store vs Firefox Add-ons) based on moz-extension:// detection.
  • Added submitSuppressCutoffDate (2026-06-07) so only feedback submissions on/after that date permanently suppress the prompt; older submits are ignored so users see the updated flow.
  • Updated default prompt copy (e.g. “Would you mind leaving us a quick review?”).
  • Relaxed cloud-service.js validation so submit no longer requires a star rating.

3. Popup header and manifest copy refresh

  • Updated popup subtitle and welcome hero copy to “Agentic code reviews built into every PR page”.
  • Reordered platform list to “GitLab, Azure DevOps, GitHub & Bitbucket” in popup and manifest.
  • Refreshed manifest name / description to match the new positioning.
  • Scaled popup header title/logo via CSS variables so title and subtitle stay visually balanced across breakpoints.

Files touched

  • content.js
  • components/review-prompt/review-prompt.js
  • components/review-prompt/review-prompt.css
  • components/integrated-review.js
  • services/cloud-service.js
  • popup.html, popup.css
  • manifest.json

Acceptance criteria

  • Oversized PR upgrade prompt shows plans only (no credit packs).
  • Review prompt routes Chrome users to Chrome Web Store and Firefox users to Firefox Add-ons.
  • Users who submitted feedback before 2026-06-07 can see the updated review prompt again.
  • Popup and manifest copy reflect the new agentic positioning.

Auto-created from PR #279.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions