源码快照 @ 2026-09-02 (source-only, 剔除非源码素材)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import { FeedbackEmail, type FeedbackEmailProps } from "../src/templates/feedback"
|
||||
|
||||
export default function FeedbackPreview(props: FeedbackEmailProps) {
|
||||
return <FeedbackEmail {...props} />
|
||||
}
|
||||
|
||||
FeedbackPreview.PreviewProps = {
|
||||
name: "Jane Doe",
|
||||
email: "jane@example.com",
|
||||
message: "I tried to connect a worker from Settings, but the connection stayed pending after the token was accepted.",
|
||||
source: "openwork-app",
|
||||
entrypoint: "settings",
|
||||
deployment: "desktop",
|
||||
appVersion: "0.13.5",
|
||||
openworkServerVersion: "0.13.5",
|
||||
opencodeVersion: "1.4.9",
|
||||
osName: "macOS",
|
||||
osVersion: "15.4",
|
||||
platform: "MacIntel",
|
||||
diagnosticsSummary: "Source: openwork-app\nEntrypoint: settings\nDeployment: desktop\nApp version: 0.13.5\nOS: macOS 15.4\nPlatform: MacIntel",
|
||||
submittedAt: "2026-05-11T18:30:00.000Z",
|
||||
} satisfies FeedbackEmailProps
|
||||
@@ -0,0 +1,16 @@
|
||||
import {
|
||||
OrganizationInviteEmail,
|
||||
type OrganizationInviteEmailProps,
|
||||
} from "../src/templates/organization-invite"
|
||||
|
||||
export default function OrganizationInvitePreview(props: OrganizationInviteEmailProps) {
|
||||
return <OrganizationInviteEmail {...props} />
|
||||
}
|
||||
|
||||
OrganizationInvitePreview.PreviewProps = {
|
||||
inviteLink: "https://app.openworklabs.com/join-org?invite=invitation_preview",
|
||||
invitedByName: "Ada Lovelace",
|
||||
invitedByEmail: "ada@example.com",
|
||||
organizationName: "OpenWork Preview",
|
||||
role: "admin",
|
||||
} satisfies OrganizationInviteEmailProps
|
||||
@@ -0,0 +1,9 @@
|
||||
import { PasswordResetEmail, type PasswordResetEmailProps } from "../src/templates/password-reset"
|
||||
|
||||
export default function PasswordResetPreview(props: PasswordResetEmailProps) {
|
||||
return <PasswordResetEmail {...props} />
|
||||
}
|
||||
|
||||
PasswordResetPreview.PreviewProps = {
|
||||
resetLink: "https://app.openworklabs.com/api/auth/reset-password/example-token?callbackURL=https%3A%2F%2Fapp.openworklabs.com%2Freset-password",
|
||||
} satisfies PasswordResetEmailProps
|
||||
@@ -0,0 +1,9 @@
|
||||
import { VerificationEmail, type VerificationEmailProps } from "../src/templates/verification"
|
||||
|
||||
export default function VerificationPreview(props: VerificationEmailProps) {
|
||||
return <VerificationEmail {...props} />
|
||||
}
|
||||
|
||||
VerificationPreview.PreviewProps = {
|
||||
verificationCode: "123456",
|
||||
} satisfies VerificationEmailProps
|
||||
Reference in New Issue
Block a user