feat: rebrand from Dyad to MoreMinimore
- Update package.json description to reflect new branding - Add fix_chat_input function to update Pro URL references - Rename all Dyad-related functions and tags to MoreMinimore - Update test files to use new function names - Remove Pro restrictions from Annotator component - Update branding text throughout the application
This commit is contained in:
@@ -11,11 +11,11 @@ import remarkGfm from "remark-gfm";
|
||||
export function ChatErrorBox({
|
||||
onDismiss,
|
||||
error,
|
||||
isDyadProEnabled,
|
||||
isMoreMinimoreProEnabled,
|
||||
}: {
|
||||
onDismiss: () => void;
|
||||
error: string;
|
||||
isDyadProEnabled: boolean;
|
||||
isMoreMinimoreProEnabled: boolean;
|
||||
}) {
|
||||
if (error.includes("doesn't have a free quota tier")) {
|
||||
return (
|
||||
@@ -23,7 +23,7 @@ export function ChatErrorBox({
|
||||
{error}
|
||||
<span className="ml-1">
|
||||
<ExternalLink
|
||||
href="https://dyad.sh/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=free-quota-error"
|
||||
href="https://moreminimore.com/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=free-quota-error"
|
||||
variant="primary"
|
||||
>
|
||||
Access with MoreMinimore Pro
|
||||
@@ -41,7 +41,7 @@ export function ChatErrorBox({
|
||||
// show the upgrade to MoreMinimore Pro link in that case because they are
|
||||
// already on the MoreMinimore Pro plan.
|
||||
if (
|
||||
!isDyadProEnabled &&
|
||||
!isMoreMinimoreProEnabled &&
|
||||
(error.includes("Resource has been exhausted") ||
|
||||
error.includes("https://ai.google.dev/gemini-api/docs/rate-limits") ||
|
||||
error.includes("Provider returned error"))
|
||||
@@ -51,13 +51,13 @@ export function ChatErrorBox({
|
||||
{error}
|
||||
<div className="mt-2 space-y-2 space-x-2">
|
||||
<ExternalLink
|
||||
href="https://dyad.sh/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=rate-limit-error"
|
||||
href="https://moreminimore.com/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=rate-limit-error"
|
||||
variant="primary"
|
||||
>
|
||||
Upgrade to MoreMinimore Pro
|
||||
</ExternalLink>
|
||||
|
||||
<ExternalLink href="https://dyad.sh/docs/help/ai-rate-limit">
|
||||
<ExternalLink href="https://moreminimore.com/docs/help/ai-rate-limit">
|
||||
Troubleshooting guide
|
||||
</ExternalLink>
|
||||
</div>
|
||||
@@ -71,7 +71,7 @@ export function ChatErrorBox({
|
||||
<span>
|
||||
Looks like you don't have a valid MoreMinimore Pro key.{" "}
|
||||
<ExternalLink
|
||||
href="https://dyad.sh/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=invalid-pro-key-error"
|
||||
href="https://moreminimore.com/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=invalid-pro-key-error"
|
||||
variant="primary"
|
||||
>
|
||||
Upgrade to MoreMinimore Pro
|
||||
@@ -81,7 +81,7 @@ export function ChatErrorBox({
|
||||
</ChatInfoContainer>
|
||||
);
|
||||
}
|
||||
if (isDyadProEnabled && error.includes("ExceededBudget:")) {
|
||||
if (isMoreMinimoreProEnabled && error.includes("ExceededBudget:")) {
|
||||
return (
|
||||
<ChatInfoContainer onDismiss={onDismiss}>
|
||||
<span>
|
||||
@@ -110,17 +110,17 @@ export function ChatErrorBox({
|
||||
<ChatErrorContainer onDismiss={onDismiss}>
|
||||
{error}
|
||||
<div className="mt-2 space-y-2 space-x-2">
|
||||
{!isDyadProEnabled &&
|
||||
{!isMoreMinimoreProEnabled &&
|
||||
error.includes(AI_STREAMING_ERROR_MESSAGE_PREFIX) &&
|
||||
!error.includes("TypeError: terminated") && (
|
||||
<ExternalLink
|
||||
href="https://dyad.sh/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=general-error"
|
||||
href="https://moreminimore.com/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=general-error"
|
||||
variant="primary"
|
||||
>
|
||||
Upgrade to MoreMinimore Pro
|
||||
</ExternalLink>
|
||||
)}
|
||||
<ExternalLink href="https://www.dyad.sh/docs/faq">
|
||||
<ExternalLink href="https://www.moreminimore.com/docs/faq">
|
||||
Read docs
|
||||
</ExternalLink>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user