Files
deerflow-code/frontend-web
xuhdandClaude Sonnet 4.6 0e7149eec3 feat(notebook): load notebook space via token and pre-select docs/sources
- NotebookAIWritingPage reads `token` from URL, fetches space data from
  notebook-token API (search_space_id, doc_ids, user_token) and space
  name from searchspaces API; keep-alive ping every 50s resets Redis TTL
- Pass user_token as studioToken through AIWritingPage → AIWritingLayout
  → WritingFormPanel → AIWritingPanel → AIWritingForm to skip
  getTokenByEmail when studio token is already available
- useStudioNotebooks accepts enabled flag; useNotebookSources accepts
  overrideToken to bypass the internal token fetch
- AIWritingForm hides notebook selector when studioToken is provided
  (notebook is pre-locked) and pre-selects initialDocumentIds

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 13:38:08 +08:00
..
2026-06-04 18:50:31 +08:00
2026-06-04 18:50:31 +08:00
2026-06-04 18:50:31 +08:00
2026-06-04 18:50:31 +08:00
2026-06-04 18:50:31 +08:00
2026-06-04 18:50:31 +08:00
2026-05-22 15:26:20 +08:00
2026-05-18 17:44:08 +08:00
2026-06-04 11:03:50 +08:00
2026-05-13 14:36:44 +08:00
2026-05-24 22:16:25 +08:00