fix pubilsh job posting

This commit is contained in:
2026-08-14 18:01:43 +05:30
parent 4fdfb90326
commit b349f2db61
3 changed files with 76 additions and 13 deletions

View File

@@ -967,9 +967,14 @@ const positionsNeedingAttention = (f) => {
*
* A draft is a real record with real values on it and no way for anyone to
* apply to it, which makes it the one thing on this page that is genuinely
* unfinished. Each one is offered with the control that finishes it: the same
* authoring form, told which draft it is continuing, with everything already
* entered still in place.
* unfinished. Each one is named, with what it already holds.
*
* It reports, it does not reopen. This used to attach "Continue to save" to
* every draft, routing to the authoring form — so a question asked in the panel
* could end with the reader back inside Create Position, and a position that
* had been saved minutes earlier was presented as still needing saving. The
* draft is on the Positions list marked Draft and its own card opens the form;
* the panel says where it is rather than taking anyone there.
*
* Read from `postings` by status — no list of drafts is kept anywhere, and a
* position stops appearing here the moment it is published.
@@ -991,9 +996,8 @@ const positionDrafts = (f) => {
p.location,
'Not published yet, so nobody can apply and no screening runs.',
].filter(Boolean).join(' · '),
action: { label: 'Continue to save', to: `/admin/positions/new?draft=${encodeURIComponent(p.id)}` },
}))),
note('Continuing reopens the same form with everything already entered — the vetting weights included. Publishing it there is what makes it an active position.')
note('Each one is on the Positions list marked Draft. Opening its card reopens the form with everything already entered — the vetting weights included — and publishing it there is what makes it an active position.')
);
};