Skip to content

Conversation

@JeroenDeDauw
Copy link
Member

@JeroenDeDauw JeroenDeDauw commented Jan 30, 2026

Generated by claude based on extensive context I built up yesterday. Reviewed and approved. Locally tested in browser.

Follow up to

Summary

  • Replace the two-dialog subject creation flow (schema picker → editor dialog) with a single dialog containing toggle buttons, schema lookup, label input, statement editor, and edit summary
  • Remove Subject.createNew() which created Subjects with dummy IDs — the dialog now works with loose data and calls subjectStore.createMainSubject directly
  • Delete the now-unnecessary SubjectCreator.vue component, folding its responsibilities into SubjectCreatorDialog.vue
  • Replace window.location.reload() with mw.notify success/error messages
  • Use i18n keys for all user-facing strings

The two-dialog approach (schema picker → editor dialog) created Subjects
with dummy IDs and used window.location.reload() after creation. Replace
with a single dialog that contains toggle buttons, schema lookup, label
input, statement editor, and edit summary. The dialog works with loose
data (label, schemaName, statements) instead of constructing a Subject
object, and calls subjectStore.createMainSubject directly. Remove
Subject.createNew() and the now-unnecessary SubjectCreator.vue component.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants