-
Notifications
You must be signed in to change notification settings - Fork 88
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
Campaign Applications (alpha) #1930
Merged
sashko9807
merged 10 commits into
podkrepi-bg:master
from
gparlakov:admin-list-campaign-appications-actual
Sep 25, 2024
Merged
Campaign Applications (alpha) #1930
sashko9807
merged 10 commits into
podkrepi-bg:master
from
gparlakov:admin-list-campaign-appications-actual
Sep 25, 2024
Commits on Sep 21, 2024
-
- handle file upload one by one to allow for handling errors individually (otherwise the server just returns response failed for any one file that fails and no information about the successful uploads) - add summary where the uploaded and failed (if any) files are top and center - add a short explanation of what to do about failed files
Configuration menu - View commit details
-
Copy full SHA for 9fbeecb - Browse repository at this point
Copy the full SHA 9fbeecbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8537b81 - Browse repository at this point
Copy the full SHA 8537b81View commit details -
fix: send campaignTypeId + editing + visuals
- send campaignTypeId instead of the category (which is a property of the campaign type and is not enough to uniquely distinguish the type) - allow for editing and re-editing - style the summary - fix linting errors
Configuration menu - View commit details
-
Copy full SHA for 72c77b1 - Browse repository at this point
Copy the full SHA 72c77b1View commit details -
chore: test create application
- moved the useCreateOrEditApplication hook to own file to reuse for the admin campaign edit - added campaign end date handling (if the user selects a date for the end it pops up an input and fills in the preselected by user date or today if none) - removed some unused props from the cam app details - added msw v1 https://v1.mswjs.io/docs/getting-started/mocks/rest-api to mock the server responses for testing (Mock Service Worker) - expanded the test setup to provide Session and QueryClient
Configuration menu - View commit details
-
Copy full SHA for cb2792e - Browse repository at this point
Copy the full SHA cb2792eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 742fb05 - Browse repository at this point
Copy the full SHA 742fb05View commit details -
- it uses the same controls/steps as the organizer edit but adds the admin only props on top - adds a link and copy button for the link where organizer can edit so as to include it if sending a mail to the org (e.g. for more info) - deletes the admin types - using same as regular - adds the status dropdown for admin edit - allows the accept terms checkboxes to be disabled for admin
Configuration menu - View commit details
-
Copy full SHA for be2d98d - Browse repository at this point
Copy the full SHA be2d98dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8639fd - Browse repository at this point
Copy the full SHA a8639fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for c088257 - Browse repository at this point
Copy the full SHA c088257View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14cb2cc - Browse repository at this point
Copy the full SHA 14cb2ccView commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 15df898 - Browse repository at this point
Copy the full SHA 15df898View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.