Skip to content

Implement Subjection creation flow #427

@JeroenDeDauw

Description

@JeroenDeDauw

AC:

  • A simple temporary UI element that allows starting the "create subject flow" is shown on existing pages. This does not need to look nice. It opens the (to be created) "Creation Choice Dialog"
  • The "Creation Choice Dialog" allows picking an existing Schema or choosing to create a new Schema. The former opens the Subject Editor, the later opens the Schema Editor, in such a way that when the new Schema is created, the Subject Editor is opened
  • On exiting the flows, AutomaticInfobox should is shown by inserting the temporary HTML content thing we have into the page

Key considerations:

  • Our Figma mockups are only directionally correct; they still have a bunch of issues.
  • As usual, not everything needs to be implemented at once. The "create new schema" flow in particular seems like most of the work for a small part of the value, so should not block the "use existing schema" flow. Inserting the AutomaticInfobox HTML thing is also a nice dedicated task

Figma

Related chats:

Existing code:

  • SubjectEditor(Dialog).vue
  • SchemaEditor(Dialog).vue
  • SchemaStore (for getting Schema names (old usage), new implementation might differ, i.e. maybe we just list all Schema for now rather than doing search autocomplete)
  • AFAIK current master does not have anything for the Creation Choice Dialog or button yet, though we removed some old shitty code that had some of it. My level of confidence here is not high, there might be stuff I have forgotten about

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions