Skip to content

feat(frontend): allow editable rejection date in RejectModal - #102

Merged
SagiEv merged 1 commit into
mainfrom
feat/reject-modal-date
Nov 27, 2026
Merged

SagiEv merged 1 commit into
mainfrom
feat/reject-modal-date

Conversation

@SagiEv

@SagiEv SagiEv commented Nov 27, 2026

Copy link
Copy Markdown
Owner

the plan has been implemented and tested:

Changes Implemented

  1. RejectModal.jsx:
    • Added rejectDate state defaulting to today's local date (YYYY-MM-DD).
    • Added date input field (className="field-input", type="date", required).
    • Added automatic reset of rejectDate to today upon modal opening, closing, or form submission.
    • Included date: rejectDate in onConfirm payload.
  2. ApplicationsPage.jsx:
    • Updated onConfirm handler to pass date to updateApplication instead of null.
  3. ApplicationDetailPage.jsx:
    • Updated onConfirm handler to pass date to onUpdate instead of null.
  4. Tests Added & Updated:
    • Created RejectModal.test.jsx covering default date rendering, date modifications, autoReject checkbox, and modal actions.
    • Updated ApplicationDetailPage.test.jsx to verify custom date submission through the modal.
    • All tests passing (13/13 across RejectModal, ApplicationDetailPage, and ApplicationsPage).

@vercel

vercel Bot commented Nov 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
job-pilot Ready Ready Preview Nov 27, 2026 12:09pm UTC

@SagiEv
SagiEv merged commit efaf132 into main Nov 27, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — df5401fe Deployed Nov 27, 2026 by vercel[bot]
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.

1 participant