Skip to content

Conversation

Rajesh-Nagarajan-11
Copy link
Member

@Rajesh-Nagarajan-11 Rajesh-Nagarajan-11 commented Oct 1, 2025

Description

Hacktoberfest Contribution 🎉

This PR fixes #6949
This PR implements a restriction for Enterprise user seat allocation, capping the number of seats at 2,500 to ensure fair access and system stability

Screencast.from.2025-10-01.08-22-52.webm

Notes for Reviewers

  • Ensure that the maximum number of Enterprise users is restricted to 2,500.
  • Increases the width of the TextField to improve readability
  • Removed inputProps from TextField in Sistent as it was not working

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Rajesh-Nagarajan-11 <[email protected]>
Signed-off-by: Rajesh-Nagarajan-11 <[email protected]>
@l5io
Copy link
Contributor

l5io commented Oct 1, 2025

🚀 Preview for commit 060adfb at: https://68dca9c6275b3bc14a8d1f6f--layer5.netlify.app

@l5io
Copy link
Contributor

l5io commented Oct 1, 2025

🚀 Preview for commit 16df167 at: https://68dced376fda866fac755cde--layer5.netlify.app

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Enforces a hard cap of 2,500 seats for Enterprise users in the pricing UI and tweaks the input field width for readability.

  • Add input validation to restrict Enterprise user count to the [1, 2500] range.
  • Increase TextField width from 50px to 65px.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/components/Pricing/PricingAddons/index.js Adds onChange validation to enforce the 2,500-seat cap and removes inputProps.
src/components/Pricing/PricingAddons/styles.js Widens the enterprise user input TextField for readability.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@l5io
Copy link
Contributor

l5io commented Oct 4, 2025

🚀 Preview for commit 0ee4895 at: https://68e14ec24ad867d118ce9aa2--layer5.netlify.app

@leecalcote leecalcote added the hacktoberfest Happy contributing! label Oct 5, 2025
@saurabhraghuvanshii saurabhraghuvanshii merged commit b5c6f50 into layer5io:master Oct 6, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Happy contributing!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Restrict Enterprise Users to a Predefined Limit
7 participants