Problem:
Currently, the only way to accurately (see #93522 for reason why paths is not accurate) know the position of an item is to traverse all modules and items down to the item that we want, this is costly and inefficient especially for Ids that comes from the documentation (ie intra-doc-links) because they can link to outside.
Solution:
Have a parent_id field that link the current Item to it's direct parent. This would mean that we could go from down (item) to upper (module) in a straightforward way.
Problem:
Currently, the only way to accurately (see #93522 for reason why
pathsis not accurate) know the position of an item is to traverse all modules and items down to the item that we want, this is costly and inefficient especially forIds that comes from the documentation (ie intra-doc-links) because they can link to outside.Solution:
Have a
parent_idfield that link the currentItemto it's direct parent. This would mean that we could go from down (item) to upper (module) in a straightforward way.