Skip to content

⚡️(frontend) improve tree stability #1207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AntoLC
Copy link
Collaborator

@AntoLC AntoLC commented Jul 22, 2025

Purpose

Improve tree stability by limiting the requests.

Proposal

We now only load the tree request one time then we let the treeContext handle the state without mutating it directly.
We do not do the doc subpage request anymore, the treeContext seems to have already the data we need, we just need to update the tree node when needed.

@AntoLC AntoLC self-assigned this Jul 22, 2025
@AntoLC AntoLC added enhancement improve an existing feature frontend refacto labels Jul 22, 2025
@AntoLC AntoLC force-pushed the improve/tree-stability branch 2 times, most recently from abd1c6d to cf90aba Compare July 22, 2025 15:50
Improve tree stability by limiting the requests,
we now only load the tree request one time then
we let the treeContext handle the state without
mutating it directly.
We do not do the doc subpage request anymore,
the treeContext has already the data we need,
we just need to update the tree node when needed.
@AntoLC AntoLC force-pushed the improve/tree-stability branch from cf90aba to b88041b Compare July 22, 2025 15:53
@AntoLC AntoLC requested review from lunika and PanchoutNathan July 22, 2025 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve an existing feature frontend refacto
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant