codeforbtv / baby-equipment-exchange

MIT License
0 stars 8 forks source link

Styles, donations flow, introduce new roles #42

Closed NathanWEdwards closed 11 months ago

NathanWEdwards commented 1 year ago

This request proposes several style changes, additions/modifications to support donation flow, a calendar component, and additional support for custom claims.

This request performs back-end Firebase tasks with cloud functions (functions/src/index.ts). src/api/firebase-admin.ts has been refactored into src/api/firebase.ts .

A document's field member that references another document should be of a DocumentReference type. Changes throughout the source code have been made to accomodate this request. For example, when adding a new event with src/api/firebase-admin.ts:addEvent(...), the createdBy property of an event should be a document reference to a system account.

NathanWEdwards commented 12 months ago

This is great @NathanWEdwards . Love the styling changes and all the Material UI components look great. All the backend changes look good to me, and I like the use of docRefs instead of strings for images. Only things I noticed were:

  • you can no longer select multiple images on the donation page, you have to add one at a time.
  • the footer links all cram together on mobile Screen Shot 2023-11-24 at 4 53 12 PM

Thanks, @bryanparmelee.