open-notebook/api
Luis Novo 992442150e
feat: add ability to link existing sources to notebooks (OSS-311) (#177)
* fix: small issue where users cant change podcast segments

* chore: remove playwright mcp from gut

* feat: add ability to link existing sources to notebooks (OSS-311)

Implemented bidirectional source-notebook linking functionality:

Backend changes:
- Add POST endpoint to link sources to notebooks
- Include notebook associations in source detail response
- Implement idempotent linking with proper RecordID handling

Frontend changes:
- Add AddExistingSourceDialog with search and multi-select
- Add NotebookAssociations component for source detail view
- Add dropdown menu to "Add Source" button (new/existing)
- Implement useAddSourcesToNotebook hook with graceful error handling
- Fix dialog pointer-events during close animation
- Add loading states and disable checkboxes for linked sources
- Optimize dialog width with proper responsive breakpoints

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: address PR review feedback

- Fix sources.py query to use correct reference direction (OUT where IN)
- Remove debug console.log statements
- Add truncation warning for 100+ source lists

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-19 17:52:14 -03:00
..
routers feat: add ability to link existing sources to notebooks (OSS-311) (#177) 2025-10-19 17:52:14 -03:00
__init__.py Api podcast migration (#93) 2025-07-17 08:36:11 -03:00
auth.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
chat_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
client.py Fix/increase fix: increase API client timeouts for transformation operations timeouts (#170) 2025-10-19 11:37:24 -03:00
command_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
context_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
embedding_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
episode_profiles_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
insights_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
main.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
models.py feat: add ability to link existing sources to notebooks (OSS-311) (#177) 2025-10-19 17:52:14 -03:00
models_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
notebook_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
notes_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
podcast_api_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
podcast_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
search_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
settings_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
sources_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00
transformations_service.py Version 1 (#160) 2025-10-18 12:46:22 -03:00