open-notebook/frontend
Luis Novo 301dd4e20a
fix: async insight creation to prevent transaction conflicts (#512)
Migrate insight creation to the command system with automatic retry logic
to prevent SurrealDB transaction conflicts during batch imports.

Changes:
- Add create_insight_command with retry logic for transaction conflicts
- Add run_transformation_command for async transformation execution
- Make Source.add_insight() fire-and-forget (returns command_id)
- Update POST /sources/{id}/insights to return 202 Accepted immediately
- Frontend polls command status until complete, then refreshes
- Auto-update notebook page icon when source gains insights
- Add i18n keys for insight generation feedback

Related to #489
2026-01-31 15:51:27 -03:00
..
public Version 1 (#160) 2025-10-18 12:46:22 -03:00
src fix: async insight creation to prevent transaction conflicts (#512) 2026-01-31 15:51:27 -03:00
.gitignore chore: export docs for custom gpt 2025-10-18 20:26:11 -03:00
components.json Version 1 (#160) 2025-10-18 12:46:22 -03:00
eslint.config.mjs Version 1 (#160) 2025-10-18 12:46:22 -03:00
next.config.ts fix: add type assertion for experimental proxyClientMaxBodySize config 2026-01-09 20:44:43 -03:00
package-lock.json chore(deps): bump next from 16.1.1 to 16.1.5 in /frontend (#482) 2026-01-29 22:43:54 -03:00
package.json chore(deps): bump next from 16.1.1 to 16.1.5 in /frontend (#482) 2026-01-29 22:43:54 -03:00
postcss.config.mjs Version 1 (#160) 2025-10-18 12:46:22 -03:00
start-server.js fix: use Node.js wrapper for cross-platform PORT fallback 2026-01-14 22:51:39 -03:00
tailwind.config.ts Feat/localization tests docker (#371) 2026-01-15 13:51:05 -03:00
tsconfig.json Feat/localization tests docker (#371) 2026-01-15 13:51:05 -03:00
vitest.config.ts Feat/localization tests docker (#371) 2026-01-15 13:51:05 -03:00