Skip to content

Unpublish Job Button + Other Updates#250

Merged
markmcguire011 merged 8 commits into
developfrom
unpublish-job-button
Jun 4, 2025
Merged

Unpublish Job Button + Other Updates#250
markmcguire011 merged 8 commits into
developfrom
unpublish-job-button

Conversation

@sgill33
Copy link
Copy Markdown
Collaborator

@sgill33 sgill33 commented Jun 3, 2025

Developer: Shawn GIll

Closes #N/A

Pull Request Summary

  • Added Unpublish Job Button to live jobs in nonprofit dashboard
    • Moved job to expired by changing job status, no matter a users role
  • Added confirmation modal for renewing or unpublishing jobs
  • Renewed jobs will now be moved to pending instead of live for nonprofits
  • Replaced IsMoreThanThirtyDaysAgo function with isExpired util function that also checks job status
  • Updated Admin Card expiration logic to use util isExpired function

Pull Request Checklist

  • Code is neat, readable, and works
  • Comments are appropriate
  • The commit messages follows our guidelines
  • The developer name is specified
  • The summary is completed
  • Assign reviewers

Screenshots/Screencast

Screenshot 2025-06-03 at 1 23 08 PM
Screenshot 2025-06-03 at 3 45 08 PM
Screenshot 2025-06-03 at 3 45 17 PM
Screenshot 2025-06-03 at 3 45 23 PM

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spokes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 3, 2025 10:52pm

Copy link
Copy Markdown
Collaborator

@markmcguire011 markmcguire011 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Un-publish button looks great.

@markmcguire011 markmcguire011 merged commit 0e63009 into develop Jun 4, 2025
6 checks passed
@markmcguire011 markmcguire011 deleted the unpublish-job-button branch June 4, 2025 00:22
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.

2 participants