Skip to content

Change pricing Pro max to 5B#7717

Draft
hasparus wants to merge 2 commits intomainfrom
pricing-5b
Draft

Change pricing Pro max to 5B#7717
hasparus wants to merge 2 commits intomainfrom
pricing-5b

Conversation

@hasparus
Copy link
Collaborator

Background

https://linear.app/the-guild/issue/CONSOLE-1866/change-pro-pricing-slider-up-to-5b

Description

Quick draft, didn't test it much yet, and I feel even with the slider already being logarithmic it might be a weird UX, gotta use it a bit.

Checklist

  • Testing

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @hasparus, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request extends the maximum limit for the "Pro" pricing tier from 300 million to 5 billion operations. It involves updating the range and display of the operations rate limit slider in the subscription management interface and adjusting the corresponding pricing plan logic and slider component in the documentation.

Highlights

  • Increased Operations Rate Limit: The maximum value for the operations rate limit slider in the organization subscription management page has been increased from 300 (representing 300M) to 5000 (representing 5B).
  • Updated Slider Labels: The visual labels below the operations rate limit slider were updated to reflect billions (1B, 2B, 3B, 4B, 5B) instead of millions (100M, 200M, 300M).
  • Adjusted Pricing Plan Logic: The logic for determining the 'Pro' plan in the pricing component was updated to accommodate the new higher slider range, changing the threshold from 'value < 280' to 'value < 4800'.
  • Extended Pricing Slider Max: The 'max' property of the 'PricingSlider' component was increased from 300 to 5000, and its maximum display text was changed from '{max}M' to '5B'.
Changelog
  • packages/web/app/src/pages/organization-subscription-manage.tsx
    • Increased the 'max' property of the 'Slider' component from 300 to 5000.
    • Modified the displayed labels below the slider from "100M", "200M", "300M" to "1B", "2B", "3B", "4B", "5B".
  • packages/web/docs/src/components/pricing/index.tsx
    • Updated the condition for assigning the 'Pro' plan, changing 'value < 280' to 'value < 4800'.
  • packages/web/docs/src/components/pricing/pricing-slider.tsx
    • Changed the 'max' constant from 300 to 5000.
    • Updated the maximum value display from '{max}M' to "5B".
Activity
  • No activity has been recorded on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The PR increases the Pro plan limit to 5B. This change introduces UX challenges due to the linear slider scale and creates unit inconsistencies between the slider and plan cards. A changeset for the hive scope is required.

<Slider
min={1}
max={300}
max={5000}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Increasing the slider maximum to 5000 (5B) on a linear scale makes it extremely difficult to select lower values precisely. For instance, 100M is now at the 2% mark. Consider using a logarithmic scale or adding a numeric input field for better precision, especially since intermediate labels like 100M/200M were removed.

}}
/>
<span className="font-medium">{max}M</span>
<span className="font-medium">5B</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The end label '5B' is inconsistent with the start label '1M' (line 52) and the current value display (line 38), which still appends 'M' to the raw number (resulting in '5000 M' at the maximum). Units should be consistent across the component.

className="mt-6 lg:mt-12"
onChange={value => {
const newPlan = value === 1 ? 'Hobby' : value < 280 ? 'Pro' : 'Enterprise';
const newPlan = value === 1 ? 'Hobby' : value < 4800 ? 'Pro' : 'Enterprise';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The Enterprise threshold (4800) is very close to the maximum, and the slider continues to show a calculated Pro price for values >= 4800 even though the Enterprise card is highlighted. The slider should ideally show 'Contact us' or hide the price once the Enterprise threshold is reached to avoid confusion.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 21, 2026

🐋 This PR was built and pushed to the following Docker images:

Targets: build

Platforms: linux/amd64

Image Tag: 70c9bd68c0cfdf9a2210cbd5a652607b2390a964

@github-actions
Copy link
Contributor

💻 Website Preview

The latest changes are available as preview in: https://pr-7717.hive-landing-page.pages.dev

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant