team-four-ics414 / voluntree

https://team-four-ics414.github.io/
MIT License
0 stars 0 forks source link

Review3: Schemas and PropTypes #70

Open mikhail-shkaralevich opened 8 months ago

mikhail-shkaralevich commented 8 months ago

Overview

The focus for this code review will be centered around structure and organization of schemas and propTypes in the project. For better re-usability and maintenance, we should consider storing all our schemas and propTypes in one location.

Please pay attention to:

Review Branch

review-70

Files to review

Checklists

Due date

12, February 11:55pm

For more information

The review process is documented at: http://courses.ics.hawaii.edu/ics414s21/morea/review/reading-idpm-review.html

joelvanta commented 8 months ago

DBSchemas.js

JS-01: allowedValues in the type should be [Charitable, Church/Religious, Private Foundations, Political Organization, Other] 'mission' can be omitted 'location' can be named as address of the organization to avoid confusion add contactPerson with contactInfo

PropTypes.js

JS-01: 'mission' can be omitted 'location' can be named as address of the organization to avoid confusion add contactPerson with contactInfo

mikhail-shkaralevich commented 8 months ago

/propTypes

AR-01: /propTypes directory should be written /prop-types.

DBSchema.js

The Collection should be split into 2: Organization & Individual. JS-01: type should be updated with new values or removed.

PropTypes.js

JS-01: Update the propType in accordance with DBSchema.js

silviadebenedictis commented 8 months ago

PropTypes.js

JS-01: What does 'location' refer to: the organization's or event's location?

DBSchemas.js

JS-01:

JS-08: Add some comments to avoid confusion

mnakagawa14 commented 8 months ago

PropTypes.js JS-01: Mission should be clarified. Nonprofits may have multiple missions. Is it a description of the nonprofit?

DBSchemas.js JS-01: What is the difference between Business and Organization? Mission should be clarified (same as above). Should an Individual have a mission?