Skip to content

fix(ux): widen Term select in Configure Purchase modal - #1430

Merged
cristim merged 1 commit into
mainfrom
fix/1402-term-select-width
Jul 17, 2026
Merged

fix(ux): widen Term select in Configure Purchase modal#1430
cristim merged 1 commit into
mainfrom
fix/1402-term-select-width

Conversation

@cristim

@cristim cristim commented Jul 17, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace abbreviated 1yr/3yr option text in the Term select with 1 Year/3 Years using the existing formatTerm() helper
  • Add min-width: 5.5rem to .purchase-row-term in modals.css so the full label is never clipped
  • Add test asserting option labels contain "1 Year" and "3 Years", not abbreviated forms

Closes #1402

Replace abbreviated "1yr"/"3yr" option labels with "1 Year"/"3 Years"
via the existing formatTerm() helper, and add min-width: 5.5rem to the
.purchase-row-term select so the full label is never clipped.

Closes #1402
@cristim cristim added triaged Item has been triaged priority/p3 Polish / idea / may never ship severity/low Minor harm urgency/this-quarter Within the quarter impact/many Affects most users effort/xs Trivial / one-liner type/bug Defect labels Jul 17, 2026
@cristim

cristim commented Jul 17, 2026

Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 53 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

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

Run ID: a8bcd896-23c9-47ce-b17c-9def542adaa7

📥 Commits

Reviewing files that changed from the base of the PR and between 473f69b and 44ba115.

📒 Files selected for processing (3)
  • frontend/src/__tests__/recommendations.test.ts
  • frontend/src/recommendations.ts
  • frontend/src/styles/modals.css
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/1402-term-select-width

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

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@cristim
cristim merged commit 979038a into main Jul 17, 2026
20 checks passed
@cristim
cristim deleted the fix/1402-term-select-width branch July 17, 2026 06:50
@cristim

cristim commented Jul 17, 2026

Copy link
Copy Markdown
Member Author

Merged to main after independent review (SHIP) + all CI green. widen the Configure-Purchase Term select and show full 'N Years' labels (option value contract unchanged).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/xs Trivial / one-liner impact/many Affects most users priority/p3 Polish / idea / may never ship severity/low Minor harm triaged Item has been triaged type/bug Defect urgency/this-quarter Within the quarter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ux(opportunities): Configure Purchase modal - Term select box too narrow to show selected value

1 participant