Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions src/renderer/src/components/HubImportModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -644,12 +644,9 @@ export function HubImportModal({ open, onClose, preselectedIds }: Props): React.
store.upsertHubTemplate(importId, record)
}

store.pushNotification(
useDropParent
? `Imported "${concept.name}" into "${dropParent!.label}"`
: `Imported "${concept.name}"`,
'info',
)
// No success toast: the modal itself marks each concept as imported,
// and a blueprint with its related concepts would otherwise stack a
// dozen toasts over the template-parameter form that follows.
// In preselected (hub import) mode: mark as done and close only when all imported.
if (preselectedIds && preselectedIds.length > 0) {
setImportedIds((prev) => {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/hub/importConcept.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export function importHubConceptIntoDiagram(
store.upsertHubTemplate(importId, record)
}

store.pushNotification(`Imported "${concept.name}"`, 'info')
// No success toast — callers show the imported state on the card itself.

return { nodeIds: Object.keys(newNodes) }
}
Loading