strapi-plugin-navigation
strapi-plugin-navigation copied to clipboard
refactor: major components refactor [CU-2rh6w78]
Ticket
NA
Summary
Remove prop drilling from major components. Divide overgrown parts of code into smaller "one purpose" components. Introduce types to edited code.
Test Plan
- [x] - Edit title, path, and type in navigation items (external, internal, and wrappers)
- [x] - Edit related field in internal items
- [x] - Change from single content type to collection type
- [x] - Change collection type entity
- [x] - Change collection type and collection type entity
- [x] - Edit order through drag and drop
- [x] - Remove items ( check all types: internal, wrapper, external )
- [x] - Try adding items with the same paths, the same related items, and the same names
- [x] - Try adding items with default title, and path ( set on Settings Page first )
- [x] - Test navigation manager
- [x] - Try saving different items in different navigations
- [x] - Try changing and saving all options on the Settings Page
- [x] - Test API endpoints
Task linked: CU-2rh6w78 DataManagerProvider Refactor