The hidden & active query parameter is not reflected in the ER diagram during back/forward navigation
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
Cloud or Self Hosted
Cloud
Version (only for Self Hosted)
No response
Steps to reproduce
Go to https://liambx.com/erd/p/github.com/mastodon/mastodon/blob/main/db/schema.rb?active=accounts
https://github.com/user-attachments/assets/a14edb4c-fa9f-44d5-8487-cd3ed6e2eea7
Expected Behavior
Table highlight and hidden state of table can be transitioned by back/forward navigation.
Actual Behavior
No response
Additional Context
I want it fixed so that this test passes.
https://github.com/liam-hq/liam/blob/26c024bc70c1ff0132ec85c527d6b7891cb293d0/frontend/packages/e2e/tests/e2e/navigation.test.ts#L95
is this issue open, can i work on this issue??
@prakha How wonderful you are 🚀
hii @MH4GF, i am thinking of reloading the page when there is forward and backward navigation.
will that be okay
@prakha If possible, we would like to implement this without reloading. Do you remember where the selection state is reflected? @junkisai That implementation should be helpful.
@prakha @MH4GF
The hook that controls the ERD display state when using the browser's back/forward buttons is usePopStateListener.
https://github.com/liam-hq/liam/blob/main/frontend/packages/erd-core/src/features/erd/components/ERDContent/hooks/usePopStateListener.ts
It seems that the behavior reported in this issue is occurring due to either an error in the implementation of this hook itself, or in one of the functions used within the hook.
@MH4GF , @junkisai i have created the pull request. #1091
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.