**Description:** Several parts of the recipe-editing flow can lead to lost work or an inconsistent user journey: - **Concurrent edits:** Updating a recipe does not check whether it has changed since the editor was loaded. If the same recipe is edited in multiple tabs, saving an outdated version can silently overwrite newer changes. - **Unsaved changes:** The editor does not warn users before navigating away, refreshing, or closing the tab with unsaved changes. - **Drafts and logout:** Signing out intentionally deletes locally saved drafts for privacy, but users are not warned that those drafts will be permanently lost. An offered draft can also be overwritten without first restoring or discarding it. - **Authentication redirects:** Accessing `/recipes/:id/edit` while logged out redirects to login, but does not return the user to the requested editor after authentication. These issues all affect the reliability of the recipe-editing journey and can cause avoidable frustration or data loss. **Suggested improvements:** - Detect outdated recipe updates and reject them with a clear conflict message. - Warn users before leaving the editor with unsaved changes. - Warn users before logout if saved drafts will be deleted, and prevent accidental overwriting of an existing draft. - Preserve recipe edit destinations after authentication. - Add targeted tests covering these scenarios. **Relevant files:** `RecipeCreatePage.tsx`, `recipeRepository.ts`, `recipeDrafts.ts`, `store.ts`, `authNavigation.ts`, `RequireAuth.tsx`, `schema.graphql`