-
Notifications
You must be signed in to change notification settings - Fork 122
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
fix: billing email and deploy paywall copy #6132
Conversation
AdityaHegde
commented
Nov 22, 2024
•
edited
Loading
edited
- Update various email related copy https://www.notion.so/rilldata/Email-adjustments-146ba33c8f57808e9eddc1a3828d6bdc
- Update the paywall during deploy to be aware of trial plan.
- Update the percent calculation on trial orgs usage.
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.
Code looks good. Note that I did not QA the product flow – assuming you have.
@@ -15,7 +15,7 @@ | |||
<mj-body> | |||
<mj-section padding-top="24px"> | |||
<mj-column> | |||
<mj-image container-background-color="#FFF" width="48px" src="https://cdn.rilldata.com/email-transactional/rill-logo.png" /> | |||
<mj-image container-background-color="#FFF" width="48px" src="https://cdn.rilldata.com/email-transactional/rill-logo-purple-square" /> |
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.
It'd be nice if this asset had a file extension
export function extractDeployError(error: ConnectError): DeployError { | ||
export function extractDeployError( | ||
error: ConnectError, | ||
orgOnTrial: boolean, |
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.
This feels like a random parameter to add to this function – because it doesn't relate to "extracting" information from the error message. Maybe it'd make sense with a small name change: makeDeployError
, makePrettyDeployError
?
* Update some billing email copy * Update quota error to match plan * Fix trial org usage percent * PR comments