Remove date field from contract signing section #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
plan-wkq→ Phase 14 (Billing Tiers & Contracts) — simplification from E2E testingRepo
forgejo_admin/westside-contractsUser Story
As a parent signing a contract on mobile
I want a clean signing experience without a non-functional date field
So that I'm not confused by UI elements I can't interact with
Context
The date field on the contract signing page adds no value. The server records
contract_signed_at = NOW()independently. The display date is cosmetic. The field has caused two bugs (#9 SSR timezone, #11 no calendar picker) and still shows raw ISO format on some browsers. Remove it entirely. The success overlay already shows "Signed on {date}" which is sufficient.File Targets
src/routes/contract/[token]/+page.svelte— remove the date form-group div (the label + input for "Date"), removedateStrstate variable and its onMount logic, keepdisplayDatederived for the success overlayAcceptance Criteria
Test Expectations
npm run build && npm testConstraints
displayDatederived value for the success overlaydateStr$state and its onMount block if no longer neededChecklist
Related
project-westside-basketballforgejo_admin/westside-contracts #9— SSR timezone fix (now moot)forgejo_admin/westside-contracts #11— calendar picker fix (now moot)