feat: show recipe source link, keep screen awake while viewing a recipe
- sourceUrl was already saved on URL import but never displayed — render it as a link (hostname only) under the description. - Extract cook-mode's wake lock into a reusable useWakeLock hook, add visibility-change re-acquisition (a wake lock releases when the tab goes background and won't come back on its own), and use it on the regular recipe view too, not just cook mode. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
"mention": "{name} vous a mentionné dans un commentaire"
|
||||
},
|
||||
"recipe": {
|
||||
"source": "Source",
|
||||
"share": "Partager",
|
||||
"shareLinkCopied": "Lien copié dans le presse-papiers",
|
||||
"shareCopyFailed": "Échec de la copie du lien",
|
||||
|
||||
Reference in New Issue
Block a user