fix(core): add ai 7 day trial hint (#10587)
Fix issue [BS-2739](https://linear.app/affine-design/issue/BS-2739).
This commit is contained in:
@@ -186,7 +186,7 @@ export class AIErrorWrapper extends SignalWatcher(WithDisposable(LitElement)) {
|
|||||||
|
|
||||||
const PaymentRequiredErrorRenderer = (host: EditorHost) => html`
|
const PaymentRequiredErrorRenderer = (host: EditorHost) => html`
|
||||||
<ai-error-wrapper
|
<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'}
|
.actionText=${'Upgrade'}
|
||||||
.onClick=${() => AIProvider.slots.requestUpgradePlan.emit({ host })}
|
.onClick=${() => AIProvider.slots.requestUpgradePlan.emit({ host })}
|
||||||
></ai-error-wrapper>
|
></ai-error-wrapper>
|
||||||
|
|||||||
@@ -164,7 +164,8 @@ export class AIPanelError extends WithDisposable(LitElement) {
|
|||||||
() =>
|
() =>
|
||||||
html` <div class="error-info">
|
html` <div class="error-info">
|
||||||
You've reached the current usage cap for AFFiNE AI. You can
|
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>
|
||||||
<div class="action-button-group">
|
<div class="action-button-group">
|
||||||
<div @click=${this.config.cancel} class="action-button">
|
<div @click=${this.config.cancel} class="action-button">
|
||||||
|
|||||||
Reference in New Issue
Block a user