Describe the Bug
Currently the document node is rendered as a root node of the tree, but it's basically a duplicate of the header. We should instead render from the root field in case the document is structured (i.e. schema is attached)
Source Body
Body is a root node where the header above also shows Body. We should instead show Cart as a root node
Source Param
In this case since param name (=document name) and the root node are both named Account, it ends up showing Account 3 times
Target Body
Not only Body is a duplicate, but it also duplicates the Attach/Detach schema buttons as well. We should show them only on the header. However once the root node is correctly shown, buttons would also go away.
Steps to Reproduce the Bug or Issue
- Attach schema
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 0.30.0]
Describe the Bug
Currently the document node is rendered as a root node of the tree, but it's basically a duplicate of the header. We should instead render from the root field in case the document is structured (i.e. schema is attached)
Source Body
Bodyis a root node where the header above also showsBody. We should instead showCartas a root nodeSource Param
In this case since param name (=document name) and the root node are both named
Account, it ends up showingAccount3 timesTarget Body
Not only
Bodyis a duplicate, but it also duplicates the Attach/Detach schema buttons as well. We should show them only on the header. However once the root node is correctly shown, buttons would also go away.Steps to Reproduce the Bug or Issue
Screenshots or Videos
No response
Platform