Skip to content

Toggle views

Michiya requested to merge toggle-views into master

Feature Merge Request

Related Issue

resolves #59 (closed), #49 (closed), #52 (closed)

Description of Feature

  • Add file for app/components/Body/View/index.ts for consistency among component folders
  • Make ClaimDetail view more human readable
  • correct the positioning of CancelButton -- place it relative to modal/form, instead of page
  • Make separate ClaimDetailJson view to display json source data
  • Enable toggling between default (ClaimDetail) view and json source (ClaimDetailJson) view

Description of follow-up Refactor

  • make /ClaimDetail and /ClaimList into their own component folders, within /Body (and remove /View)
  • make /ClaimDetail/index a stateful class component, and ClaimDetailJson a stateless functional component
  • make corrections to routing, to sync with the changes above
  • clean up and abstract away logic in /ClaimDetail, where possible
  • format data in ClaimDetailJson (e.g., use indentation), for readability

What's Next?

  • Implement rows and columns for rendered claims

Edited by Jared Pereira

Merge request reports