Skip to content
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

Create selectors to retrieve admin-menu data from state #45466

Closed
getdave opened this issue Sep 8, 2020 · 0 comments · Fixed by #45576
Closed

Create selectors to retrieve admin-menu data from state #45466

getdave opened this issue Sep 8, 2020 · 0 comments · Fixed by #45576
Assignees

Comments

@getdave
Copy link
Contributor

getdave commented Sep 8, 2020

This is a Sub Issue of #45435.

The task is to write the Redux selectors required to retrieve the data likely to be required by components that will build the sidebar navigation in Calypso.

These could be written in isolation (with tests!) or alongside a very simple "mega" component which utilises the selectors in order to build a very basic implementation of the navigation. Indeed writing alongside a component may be necessary in order to fully stress test the selectors and to ensure we are getting the "right" data.

Tasks

  • Write selector to retrieve "all" nav menu items.
  • Write any other selectors required to build and render a simple Nav build from API data.
  • Write basic unit tests if this is helpful and aids in development.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants