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

Code Cleanup: Summary Data Formatter Util #23

Open
4 tasks
VigM-Figure opened this issue Mar 15, 2021 · 0 comments
Open
4 tasks

Code Cleanup: Summary Data Formatter Util #23

VigM-Figure opened this issue Mar 15, 2021 · 0 comments
Labels
endpoint Update/Add an endpoint enhancement New feature or request

Comments

@VigM-Figure
Copy link
Collaborator

Summary

Create a summary data formatter similar to formatTableData.js

Problem Definition

Every time we use the summary component we need to manually massage and manipulate the data so it looks right. The table data already does this so we should somehow tap in and use that instead of manually doing it in each component using a summary

This will prevent writing extra code that muddies up and bloats components, follows more DRY rules, will tidy up components the way the table components are

Proposal

Either connect the summary data into the formatTableData function or create a similar util function for summary data to use


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@VigM-Figure VigM-Figure added enhancement New feature or request endpoint Update/Add an endpoint labels Mar 15, 2021
@VigM-Figure VigM-Figure self-assigned this Mar 15, 2021
@VigM-Figure VigM-Figure changed the title Summary Data Formatter Util Code Cleanup: Summary Data Formatter Util Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
endpoint Update/Add an endpoint enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant