Sync westside-contract.html with deployed SvelteKit contract page #5

Open
opened 2026-03-24 10:19:43 +00:00 by forgejo_admin · 0 comments

Type

Feature

Lineage

Standalone -- sync task from westside-app#72

Repo

forgejo_admin/pal-e-playground

User Story

As a developer
I want the playground prototype to match the deployed SvelteKit contract page
So that the playground remains a reliable source of truth for future design iterations

Context

The SvelteKit contract page (westside-contracts/src/routes/contract/[token]/+page.svelte) received direct edits that diverged from the playground HTML. The playground needs to be updated to reflect these production changes so the two stay in sync.

Key content changes made in SvelteKit:

  • First monthly fee changed from flat "$200" to "prorated" language
  • Local practice schedule now has team-specific dates instead of generic text
  • Split payment wording changed from "$100 on the 15th, $100 on the 30th" to "half on the 1st, half on the 15th"
  • Local contract Rules of Conduct section was removed entirely

File Targets

Files the agent should modify:

  • westside-contract.html -- sync content with deployed SvelteKit version

Files the agent should NOT touch:

  • Any SvelteKit files -- SvelteKit is the source; playground is the target

Acceptance Criteria

  • Travel contract first monthly fee shows "prorated" language
  • Local contract first monthly fee shows "prorated" language
  • Split payment text updated in both travel and local sections
  • Local practice schedule updated with team-specific dates and "Season starts week of April 6"
  • Local Rules of Conduct section removed
  • All other travel contract content matches SvelteKit

Test Expectations

  • Visual: open westside-contract.html in browser, verify travel contract content matches SvelteKit
  • Visual: open westside-contract.html?type=local in browser, verify local contract content matches SvelteKit

Constraints

  • Playground is static HTML -- Svelte template syntax (e.g. {#if}, ${proratedFee}) must be converted to hardcoded values
  • Use $165 as the prorated amount (based on $200 monthly fee, 25/30 rounded to nearest $5)
  • Preserve all existing CSS and JS -- only update contract body content

Checklist

  • PR opened
  • No unrelated changes
  • westside-app#72
### Type Feature ### Lineage Standalone -- sync task from westside-app#72 ### Repo `forgejo_admin/pal-e-playground` ### User Story As a developer I want the playground prototype to match the deployed SvelteKit contract page So that the playground remains a reliable source of truth for future design iterations ### Context The SvelteKit contract page (`westside-contracts/src/routes/contract/[token]/+page.svelte`) received direct edits that diverged from the playground HTML. The playground needs to be updated to reflect these production changes so the two stay in sync. Key content changes made in SvelteKit: - First monthly fee changed from flat "$200" to "prorated" language - Local practice schedule now has team-specific dates instead of generic text - Split payment wording changed from "$100 on the 15th, $100 on the 30th" to "half on the 1st, half on the 15th" - Local contract Rules of Conduct section was removed entirely ### File Targets Files the agent should modify: - `westside-contract.html` -- sync content with deployed SvelteKit version Files the agent should NOT touch: - Any SvelteKit files -- SvelteKit is the source; playground is the target ### Acceptance Criteria - [ ] Travel contract first monthly fee shows "prorated" language - [ ] Local contract first monthly fee shows "prorated" language - [ ] Split payment text updated in both travel and local sections - [ ] Local practice schedule updated with team-specific dates and "Season starts week of April 6" - [ ] Local Rules of Conduct section removed - [ ] All other travel contract content matches SvelteKit ### Test Expectations - [ ] Visual: open westside-contract.html in browser, verify travel contract content matches SvelteKit - [ ] Visual: open westside-contract.html?type=local in browser, verify local contract content matches SvelteKit ### Constraints - Playground is static HTML -- Svelte template syntax (e.g. `{#if}`, `${proratedFee}`) must be converted to hardcoded values - Use $165 as the prorated amount (based on $200 monthly fee, 25/30 rounded to nearest $5) - Preserve all existing CSS and JS -- only update contract body content ### Checklist - [ ] PR opened - [ ] No unrelated changes ### Related - westside-app#72
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo_admin/pal-e-playground#5
No description provided.