-
-
Notifications
You must be signed in to change notification settings - Fork 875
Adds Realtime concurrency limits to the billing page pricing tiers #1500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -190,6 +190,11 @@ const pricingDefinitions = { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| content: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "A single email address, Slack channel, or webhook URL that you want to send alerts to.", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| realtime: { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| title: "Realtime connections", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| content: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "Realtime allows you to send the live status and data from your runs to your frontend. This is the number of simultaneous Realtime connections that can be made.", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type PricingPlansProps = { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -494,6 +499,7 @@ export function TierFree({ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <LogRetention limits={plan.limits} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <SupportLevel limits={plan.limits} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <Alerts limits={plan.limits} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <RealtimeConnecurrency limits={plan.limits} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </ul> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| )} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -608,6 +614,7 @@ export function TierHobby({ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <LogRetention limits={plan.limits} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <SupportLevel limits={plan.limits} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <Alerts limits={plan.limits} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <RealtimeConnecurrency limits={plan.limits} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </ul> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </TierContainer> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -678,6 +685,7 @@ export function TierPro({ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <LogRetention limits={plan.limits} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <SupportLevel limits={plan.limits} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <Alerts limits={plan.limits} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <RealtimeConnecurrency limits={plan.limits} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </ul> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </TierContainer> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -950,3 +958,18 @@ function Alerts({ limits }: { limits: Limits }) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </FeatureItem> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| function RealtimeConnecurrency({ limits }: { limits: Limits }) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| return ( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <FeatureItem checked> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {limits.realtimeConcurrentConnections.number} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {limits.realtimeConcurrentConnections.canExceed ? "+" : ""}{" "} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <DefinitionTip | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| title={pricingDefinitions.realtime.title} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| content={pricingDefinitions.realtime.content} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| concurrent Realtime connections | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </DefinitionTip> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </FeatureItem> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+962
to
+975
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix typo in component name: "Connecurrency" → "Concurrency" The component name contains a typo that should be corrected for clarity and consistency. Apply this diff to fix the typo: -function RealtimeConnecurrency({ limits }: { limits: Limits }) {
+function RealtimeConcurrency({ limits }: { limits: Limits }) {
return (
<FeatureItem checked>
{limits.realtimeConcurrentConnections.number}
{limits.realtimeConcurrentConnections.canExceed ? "+" : ""}{" "}
<DefinitionTip
title={pricingDefinitions.realtime.title}
content={pricingDefinitions.realtime.content}
>
concurrent Realtime connections
</DefinitionTip>
</FeatureItem>
);
}📝 Committable suggestion
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update component references after fixing the typo
After renaming the component from
RealtimeConnecurrencytoRealtimeConcurrency, update all references:Apply this diff to update the references:
Also applies to: 617-617, 688-688