Note:
- This is the very first implementation to lay the foundation for sub-referencing in VE.
- The UI work is kept simple and will be improved in a later iteration.
- If we find edge cases pertaining to this task, we will write them down.
User Story:
As a user of Visual Editor I want to reuse a reference and add different details to create a precise reference, e.g. with page numbers.
Scope:
- Temporary button in the Reuse tab next to the existing references.
- Use cases:
- First time sub-referencing of an existing reference (the existing reference will be be given a name and become the parent reference (if it does not already have one) and a sub-reference is created with the parent ref name)
- Second sub-referencing of an existing reference (only a sub reference is created with the parent ref name )
Not in scope
- Reuse-dialog displays all existing sub-references in the article
- sub-referencing an existing subreference is also out of scope for now.
- Do not change any existing behavior
- This task is not about references created by templates. Only refs that already show up in the reuse tab.
- Moving the reference into the reference list
- No changes to ref list.
Deployment:
- This must be behind a feature flag