podkrepi-bg / frontend

Charity platform https://podkrepi.bg Docs https://docs.podkrepi.bg
https://podkrepi.bg
MIT License
177 stars 88 forks source link

Campaign Applications (alpha) #1930

Closed gparlakov closed 2 months ago

gparlakov commented 2 months ago

Editing and file upload and admin section for campaign applications - finalizes first alpha version of the whole process

feat: file upload and summary

send campaignTypeId instead of the category (which is a property of the campaign type and is not enough to uniquely distinguish the type)

chore: test create application

chore: add tests for the createOrEdit application hook

feat: admin edit

feat: actual list of campaign applications

1842

Screenshots:

Before After
https://drive.google.com/file/d/15LWbhsaTiZxSnytUefZ6zHJ-T4w4158e/view?usp=sharing

Testing

Steps to test

Affected urls

/campaigns/application /campaigns/application/eb4347a2-c8b4-47f1-83e5-67457b20909c /admin/campaign-applications /admin/campaign-applications/edit/eb4347a2-c8b4-47f1-83e5-67457b20909c

New or updated dependencies:

Dependency name Previous version Updated version Details
msw v1.x.x - DEV mock service worker allows for mocking server responses in tests
github-actions[bot] commented 2 months ago

✅ Tests will run for this PR. Once they succeed it can be merged.