fix(brainstorm): notebookId URL param + lookup carnet + bouton 'Open notebook'
Some checks failed
CI / Lint, Unit Tests & Build (push) Failing after 4m13s
CI / Deploy production (on server) (push) Has been skipped

- brainstorm-page.tsx: lit urlNotebookId depuis URL params
- useConvertIdea accepte targetNotebookId (hook mis à jour)
- handleConvert prend le carnet ciblé en paramètre
- URL notebookId propage via router.push depuis le modal de confirmation
- toast inclut le nom du carnet et un bouton 'Open notebook' qui redirige vers /home?notebook=X
- peek panel affiche un lien vers le carnet source en haut du titre
- useNotebooks pour le lookup du nom depuis notebooks

Vrai fix: les notes vont maintenant là où l'utilisateur a choisi,
pas dans un carnet auto-créé sans qu'il s'en aperçoive.
This commit is contained in:
Antigravity
2026-07-05 20:01:12 +00:00
parent 02b835fb13
commit 5aa7202abe
4 changed files with 31 additions and 9 deletions

View File

@@ -3076,7 +3076,8 @@
"noNotebook": "No notebook",
"launching": "Launching…",
"launch": "Brainstorm",
"noteCreatedIn": "Note created in"
"noteCreatedIn": "Note created in",
"openNotebook": "Open notebook"
},
"byokSettings": {
"title": "Your API keys (BYOK)",

View File

@@ -3080,7 +3080,8 @@
"noNotebook": "Aucun carnet",
"launching": "Lancement…",
"launch": "Brainstormer",
"noteCreatedIn": "Note créée dans"
"noteCreatedIn": "Note créée dans",
"openNotebook": "Ouvrir le carnet"
},
"byokSettings": {
"title": "Vos clés API (BYOK)",