Actions
Feature #27853
closedIntegrate modals with Redux store
Description
Depends on https://github.com/theforeman/foreman/pull/7039
User stories:
Users should be able to check a status of a modal by id
Users should be able to close/open Modals by id
Added by Jeremy Lenz over 5 years ago
Actions
Fixes #27853: Connect ForemanModal to Redux store
For unsquashed commits, see jeremylenz/27853-modals-redux-unsquashed
Connect ForemanModal React component to Redux store.
Add useForemanModal hook
for reusing stateful logic in any ForemanModal component.
Modal state is now controlled by id with Redux actions.
Uses react-redux v7.1,
which includes useSelector hook
and allows use of Redux without connect,
mapStateToProps or mapDispatchToProps.