-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Problem
When someone first creates a subject but doesn't create an article, and someone else comes in and wants to create an article, how do we handle this under the hood with repositories?
Solution
We want to provide the same UX to all users when there are no articles shown, regardless of whether they created the subject or not.
Create a flow chart covering all edge cases per this comment:
Create a generalized algorithm for handling this.
This method prevents multi-root trees from occurring.
Alternatively - allow the first person to actually submit the article to become the root. This requires changes to how the backend works.
Handle the edge case where two or more people are working on the first article at the same time, Person A gets root, Person B then should be told that they can't create the article because someone else already did, to go back in the UI and send a CR, or fork the one that was created.
