With the on-going state management refactor using custom hooks (#630), we are able to implement expand/close functionality for each section in the structured navigation in Ramp.
We were not able to do this before due re-rendering in StructuredNavigation component, therefore this functionality was implemented in Avalon code.
Done Looks Like
[ ] Implement expand/close sections button in StructuredNavigation component
[ ] Use a prop that goes into StructuredNavigation component to turn on/off the display of this button
[ ] Document props in styleguidist docs and GitHub wiki
[ ] Test functionality in all supported platforms
[ ] Removed related code in Avalon when this is brought into Avalon
Related work
https://github.com/samvera-labs/ramp/pull/644
This work is based off of state management refactor. So if this work is re-purposed when working on this issue it needs to be rebased off main branch.
Description
With the on-going state management refactor using custom hooks (#630), we are able to implement expand/close functionality for each section in the structured navigation in Ramp. We were not able to do this before due re-rendering in StructuredNavigation component, therefore this functionality was implemented in Avalon code.
Done Looks Like
Related work
https://github.com/samvera-labs/ramp/pull/644 This work is based off of state management refactor. So if this work is re-purposed when working on this issue it needs to be rebased off
main
branch.