Open Ullas-A-2000 opened 2 weeks ago
Could you please reproduce the issue in a simple code example?: https://code.balkan.app/familytreejs/getting-started#JS
https://github.com/BALKANGraph/FamilyTreeJS/assets/137074479/13f39933-c04e-47e0-b44a-3cd01ac29c21
please refer this recording tree is going to its initial position after adding member and calling api
@plamen-peshev @ZornitsaPesheva
Having the below example:
https://code.balkan.app/family-tree-js/122#JS
adding a parent to amber's grandfather you get this:
Please send us a screenshot of what you expect.
Having the below example: https://code.balkan.app/family-tree-js/122#JS adding a parent to amber's grandfather you get this:
Please send us a screenshot of what you expect.
@ZornitsaPesheva
In above mentioned video https://github.com/BALKANGraph/FamilyTreeJS/issues/122#issuecomment-2167235461, WN card having the external tree , If I add any member that relative to the WN and after called the API , that position was changed in that video , Actually we want to stay in same external tree WN
What is WN?
We have watched the video and looks that it works as expected, what exactly is the issue, can you explain step by step what is the Actual Behavior and what is the Expected Behavior
On the video, you are adding members only to the GN branch. How the issue is related to the video?
Now please edit this example, so we can reproduce the issue in it, as we don't know what you have in your code that is causing the issue: https://code.balkan.app/family-tree-js/122#JS
https://github.com/BALKANGraph/FamilyTreeJS/assets/137074479/5059de22-a9f1-4e16-bc25-97e99bb406c0
please check this, after i traverse too much in tree and add a member the tree loads again due to new data and it refreshes the tree position to initial state
this reset position we dont want even after refresh
@plamen-peshev @ZornitsaPesheva
I think I already understood the issue, but I need you to create an example in our code app and send us the link, so we can see what is causing that issue.
When you refresh a page in Code app it will load the initial data. Why do you refresh the page? You don't need to refresh the page when you add a member.
I have implemented balkan tree by integrating backend database, and calling api for the tree data ,
The problem I'm facing is, every time I add a person using add member, I have to refresh the api, but in that time the tree is not staying in that position, it is refreshing back to it's initial state, please provide a solution for this,
FYI :- i tried states of localstorage as per your documentation but did not work correctly for me
@plamen-peshev @ZornitsaPesheva