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

Campaign Applications (alpha) #1930

Merged

Commits on Sep 21, 2024

  1. feat: file upload and summary

    - 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
    gparlakov committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    9fbeecb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8537b81 View commit details
    Browse the repository at this point in the history
  3. 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
    gparlakov committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    72c77b1 View commit details
    Browse the repository at this point in the history
  4. 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
    gparlakov committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    cb2792e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    742fb05 View commit details
    Browse the repository at this point in the history
  6. feat: admin edit

    - 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
    gparlakov committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    be2d98d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a8639fd View commit details
    Browse the repository at this point in the history
  8. fix: small fixes

    gparlakov committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    c088257 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    14cb2cc View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. fix: missing method

    gparlakov committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    15df898 View commit details
    Browse the repository at this point in the history