copy improvement

This commit is contained in:
DaKheera47 2026-02-15 19:16:55 +00:00
parent 8b8120bf1d
commit 8d2d80fcc1
2 changed files with 6 additions and 10 deletions

View File

@ -47,7 +47,8 @@ export const GhostwriterDrawer: React.FC<GhostwriterDrawerProps> = ({
<SheetHeader>
<SheetTitle>Ghostwriter</SheetTitle>
<SheetDescription>
{job && `${job.title} at ${job.employer}.`}
The Ghostwriter will use the context of this job and your resume,
along with your writing style to help you craft the perfect message.
</SheetDescription>
</SheetHeader>
</div>

View File

@ -14,13 +14,8 @@ export const MessageList: React.FC<MessageListProps> = ({
streamingMessageId,
}) => {
return (
<div className="space-y-3">
{messages.length === 0 ? (
<div className="rounded-md border border-dashed border-border/60 p-3 text-xs text-muted-foreground">
Ask for interview prep, response drafts, or application strategy for
this job.
</div>
) : (
<div className='space-y-3'>
{messages.length > 0 && (
messages.map((message) => {
const isUser = message.role === "user";
const isActiveStreaming =
@ -37,7 +32,7 @@ export const MessageList: React.FC<MessageListProps> = ({
: "border-border/60 bg-background"
}`}
>
<div className="mb-1 text-[10px] uppercase tracking-wide text-muted-foreground">
<div className='mb-1 text-[10px] uppercase tracking-wide text-muted-foreground'>
{isUser
? "You"
: `Ghostwriter${message.version > 1 ? ` v${message.version}` : ""}`}
@ -45,7 +40,7 @@ export const MessageList: React.FC<MessageListProps> = ({
{isActiveStreaming ? (
<StreamingMessage content={message.content} />
) : (
<div className="whitespace-pre-wrap text-sm leading-relaxed text-foreground">
<div className='whitespace-pre-wrap text-sm leading-relaxed text-foreground'>
{message.content ||
(message.role === "assistant" ? "..." : "")}
</div>