There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(core): add ai 7 day trial hint (#10587)
akumatus321247a2fa57
diff --git a/packages/frontend/core/src/blocksuite/ai/messages/error.ts b/packages/frontend/core/src/blocksuite/ai/messages/error.tsindex de910b56e2..702df3d858 100644--- a/packages/frontend/core/src/blocksuite/ai/messages/error.ts+++ b/packages/frontend/core/src/blocksuite/ai/messages/error.ts@@ -186,7 +186,7 @@ export class AIErrorWrapper extends SignalWatcher(WithDisposable(LitElement)) {const PaymentRequiredErrorRenderer = (host: EditorHost) => html`<ai-error-wrapper- .text=${"You've reached the current usage cap for AFFiNE AI. You can subscribe to AFFiNE AI to continue the AI experience!"}+ .text=${"You've reached the current usage cap for AFFiNE AI. You can subscribe to AFFiNE AI(with free 7-day-trial) to continue the AI experience!"}.actionText=${'Upgrade'}.onClick=${() => AIProvider.slots.requestUpgradePlan.emit({ host })}></ai-error-wrapper>diff --git a/packages/frontend/core/src/blocksuite/ai/widgets/ai-panel/components/state/error.ts b/packages/frontend/core/src/blocksuite/ai/widgets/ai-panel/components/state/error.tsindex 2f13d900d2..2d9bf37559 100644--- a/packages/frontend/core/src/blocksuite/ai/widgets/ai-panel/components/state/error.ts+++ b/packages/frontend/core/src/blocksuite/ai/widgets/ai-panel/components/state/error.ts@@ -164,7 +164,8 @@ export class AIPanelError extends WithDisposable(LitElement) {() =>html` <div class="error-info">You've reached the current usage cap for AFFiNE AI. You can- subscribe to AFFiNE AI to continue the AI experience!+ subscribe to AFFiNE AI(with free 7-day-trial) to continue the AI+ experience!</div><div class="action-button-group"><div @click=${this.config.cancel} class="action-button">