Refactor all menu selection data fetch and permission checks into compomnent #38523
Labels
[Block] Navigation
Affects the Navigation Block
[Type] Code Quality
Issues or PRs that relate to code quality
Follow up to #38179 (comment)_. We need to pull all the:
...so that it is within the
Select menus
component itself. This means we don't have to keep compiling the arguments each time we need it.This could also be within a hook in order that we can retain a separation of concerns between component and logic.
Related: #37190
Adam and I discussed off Github about tackling this incrementally. I'll now follow up to consolidate all the data fetching and permissions checking into one single component which we can reuse everywhere.
Originally posted by @getdave in #38179 (comment)
The text was updated successfully, but these errors were encountered: