eAPD icon indicating copy to clipboard operation
eAPD copied to clipboard

Refactor: Remove Section and Waypoint components from each section, put them in the ApdApplication instead

Open mgwalker opened this issue 5 years ago • 1 comments

Having each section component (e.g., "state profile", "previous activities", etc.) be responsible for wrapping themselves in Waypoint and Section components is silly and creates an extra layer of complexity towards understanding the sections and/or creating new ones. It also scatters important information throughout the app, such as waypoint and section IDs. Instead, the wrapping can be done by the ApdApplication component, which would make it easier to change out the wrapping in the future if necessary and would pull all of the ID information into one place, making the individual sections responsible for a little bit less.

This task is done when...

  • [ ] StateProfile component no longer has Section or WayPoint components
  • [ ] ApdSummary component no longer has Section or WayPoint components
  • [ ] PreviousActivities component no longer has Section or WayPoint components
  • [ ] Activities component no longer has Section or WayPoint components
  • [ ] ScheduleSummary component no longer has Section or WayPoint components
  • [ ] ProposedBudget component no longer has Section or WayPoint components
  • [ ] AssurancesAndCompliance component no longer has Section or WayPoint components
  • [ ] ExecutiveSummary component no longer has Section or WayPoint components
  • [ ] Export component no longer has Section or WayPoint components
  • [ ] ApdApplication is updated to wrap all of those components in Section and WayPoint

mgwalker avatar Jun 06 '19 15:06 mgwalker