You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ENG-1611 Add provisional status to imported relation schemas (#948)
* ENG-1611 Add provisional status to imported relation schemas
Mark newly imported relation types and triplets as provisional so they
don't appear in creation UIs until explicitly accepted by the user.
- Add ImportStatus type and status? field to DiscourseRelationType and DiscourseRelation
- Add isAcceptedSchema / isProvisionalSchema helpers (imported + no status = provisional)
- Set status: "provisional" on all newly imported relation types and triplets
- Fix provisional: true on imported relation instances (was incorrectly false)
- Settings UI: show Provisional badge + Accept/Delete buttons for provisional imported schemas
- Accepting a triplet cascades to also accept its relation type
- Filter provisional schemas from all creation panels (canvas tool, RelationshipSection, RelationPanel)
- Guard publishNewRelation and sync against provisional schemas
- Prevent status from leaking into literal_content.source_data in conceptConversion
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* lint
* Fix tentative semantics and missing provisional filter
- tentative: false = unreviewed (not tentative: true); fix importRelations,
publishNode guard, and syncDgNodesToSupabase filter accordingly
- Add isAcceptedSchema to compatible node types useEffect in RelationshipSection
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* add guards in more relation creation flows
---------
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
0 commit comments