Skip to content

Codex/UI redesign#62

Merged
Abdulmuiz44 merged 3 commits into
mainfrom
codex/ui-redesign
Apr 6, 2026
Merged

Codex/UI redesign#62
Abdulmuiz44 merged 3 commits into
mainfrom
codex/ui-redesign

Conversation

@Abdulmuiz44
Copy link
Copy Markdown
Collaborator

No description provided.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 6, 2026

Deploy Preview for tera-ai ready!

Name Link
🔨 Latest commit 8cda8d0
🔍 Latest deploy log https://app.netlify.com/projects/tera-ai/deploys/69d35af49210bb00080f814c
😎 Deploy Preview https://deploy-preview-62--tera-ai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Abdulmuiz44 Abdulmuiz44 merged commit 31f859a into main Apr 6, 2026
4 of 6 checks passed
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8cda8d0ba8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/actions/generate.ts
Comment on lines 187 to +189
if (error) {
console.error('[chat_update_failed]', { userId: authorId, chatId, error })
const errorMessage = 'Your response was generated, but we could not save this chat. Please try again.'
return {
answer: errorMessage,
sessionId: sessionId,
chatId: chatId,
error: errorMessage
}
persistenceWarning = 'We generated your response, but could not save this chat message.'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Surface persistence failures through existing error channel

This change converts chat save failures into warning only, but the current caller path still checks result.error (see components/PromptShell.tsx where error is destructured and handled) and does not consume warning, so persistence outages become silent data-loss events: users see a normal answer even though the message was not stored and are never prompted to retry. Please keep a machine-readable error signal for persistence failures (or wire warning in the caller) before removing the old error return behavior.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant