Refactor SliceSelections ids propagation #420
Labels
Enhancement 🌪
Things that improve our project.
Frontend 🖥
Stuff related to Frontend part.
P2
Things with #2 Priority
Current Behavior
Slice selections IDs are auto incremented and set when new SliceSelection object is created. It is now coliding with Brush/Eraser Selector and in future can cause problem with other new tools.
Expected Behavior
We should use service that will keep track of IDs. Using this kind of component we can get next id, reset id counter and other possible id operations. Without auto ids we can create objects that will reuse other id without incrementing id pool.
Additional comment (optional)
Connected with #397
The text was updated successfully, but these errors were encountered: