Skip to content

Allow users to withdraw job applications#276

Open
GHX5T-SOL wants to merge 1 commit into
algora-io:mainfrom
GHX5T-SOL:fix/171-withdraw-job-application
Open

Allow users to withdraw job applications#276
GHX5T-SOL wants to merge 1 commit into
algora-io:mainfrom
GHX5T-SOL:fix/171-withdraw-job-application

Conversation

@GHX5T-SOL
Copy link
Copy Markdown

Summary

  • add a current-user-scoped Jobs.withdraw_application/2 helper
  • show a Withdraw action for already-applied jobs on the org jobs page
  • refresh the job list state after a successful withdrawal

Fixes #171

Validation

  • TEST_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres MIX_ENV=test mix test test/algora/jobs_test.exs test/algora_web/live/org/jobs_live_test.exs -> 3 tests, 0 failures
  • mix format --check-formatted lib/algora/jobs/jobs.ex lib/algora_web/live/org/jobs_live.ex test/algora/jobs_test.exs test/algora_web/live/org/jobs_live_test.exs
  • git diff --cached --check
  • git diff --cached --no-ext-diff | gitleaks detect --pipe --redact --no-banner -> no leaks found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to withdraw job application

1 participant