refactor: Remove Ugly hack to open manage tags or manage collections in sidebar#91
refactor: Remove Ugly hack to open manage tags or manage collections in sidebar#91ChrisChV wants to merge 1 commit intochris/FAL-4175-tag-section-subsectionsfrom
Conversation
…in sidebar * `navigateTo` Updated to support a callback function. * `useRunOnNextRender` Updated to support args. * `setSidebarTab` Updated to use `useRunOnNextRender` * `setSidebarAction` Updated to use `useRunOnNextRender`
The But it seems that this solution is a bit unstable, because it works in most cases, but it doesn't work for the "add to collections" in the component card menu. I'm out of ideas now. |
|
Why are we navigating then changing the sidebar tab? Can't we just make the sidebar tab so that it's completely based on the query string / search params, and then we just need to navigate to |
navigateToUpdated to support a callback function.useRunOnNextRenderUpdated to support args.setSidebarTabUpdated to useuseRunOnNextRendersetSidebarActionUpdated to useuseRunOnNextRender