Skip to content

feat(inbox): resurface reviews edited after a published reply - #27

Merged
thomasorgeval merged 5 commits into
mainfrom
feat/26-resurface-edited-reviews
Sep 20, 2026
Merged

thomasorgeval merged 5 commits into
mainfrom
feat/26-resurface-edited-reviews

Conversation

@thomasorgeval

@thomasorgeval thomasorgeval commented Sep 20, 2026 •

Copy link
Copy Markdown
Member

Closes #26

Summary

Les Reviews modifiées après une Published Reply réapparaissent dans la Reply Inbox avec une comparaison avant/après, pour publier explicitement une réponse mise à jour ou ignorer la modification.

 reviews
+ changed_after_reply: boolean
+ reply_baseline: { title, body, rating } | null

 Sync Run : titre, texte ou note modifiés après publication
+ conserver la référence de comparaison → pending
+ invalider le brouillon devenu obsolète

 Action humaine
+ ignorer → ignored jusqu’à une nouvelle modification
+ publier → remplacer la Published Reply, actualiser la référence → published
+ refuser enregistrement/publication/ignorance si le contenu affiché a changé entre-temps

Test plan

  • pnpm format:check, pnpm lint, pnpm typecheck, pnpm test, pnpm build : OK.
  • Tests rapides des brouillons et des appels Apple/Google ; vérification locale du workflow sur PostgreSQL et de l’interface avec des données fictives.
  • Tests sans BDD des échecs IA tardifs après modification ou action humaine.
  • Tests sans BDD du contrôle de contenu (titre, texte, note) et du contrat exigeant ce contrôle pour enregistrer, publier, ignorer ou rétablir une Review.

Risk

  • Appliquer la migration 0007_resurface_edited_reviews.sql avant le nouveau code ; aucune version historique n’est inventée pour les anciennes Reviews.
  • Les tests avec BDD ne sont pas ajoutés à la CI ; aucune publication sur un store réel n’a été effectuée.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-20T18:14:32.786500Z c8c1aee New commits
🔒 Security Review ✅ Completed 2026-09-20T17:34:51.806558Z 697b06d PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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: 697b06d07e

ℹ️ 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 apps/api/src/routes/reply-inbox.ts

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

Copy link
Copy Markdown

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: 5448f6cd94

ℹ️ 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 apps/api/src/routes/reply-inbox.ts

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

Copy link
Copy Markdown

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: e4875e0fde

ℹ️ 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 apps/api/src/routes/reply-inbox.ts
Comment thread packages/reply-drafts/src/generate-reply-draft-for-review.ts
@thomasorgeval
thomasorgeval merged commit eb35049 into main Sep 20, 2026
1 check passed
@thomasorgeval
thomasorgeval deleted the feat/26-resurface-edited-reviews branch September 20, 2026 18:15
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.

Resurface reviews edited after a reply with before-and-after comparison

1 participant