Skip to content

Add native labor support signing UI and billing contract viewing - #61

Closed
sokanacollectiveCRM wants to merge 447 commits into
disc-template:mainfrom
sokanacollectiveCRM:feat/native-labor-support-contracts
Closed

sokanacollectiveCRM wants to merge 447 commits into
disc-template:mainfrom
sokanacollectiveCRM:feat/native-labor-support-contracts

Conversation

@sokanacollectiveCRM

Copy link
Copy Markdown

Summary

  • Adds the public signing experience at /signing/:token with PDF overlays, typed/drawn signature adoption, Great Vibes styling, and completion redirect to /contract-signed.
  • Updates billing portal with signed-contract viewing (blob preview in new tab), sidebar/nav fixes, and deep-link login preservation via postLoginRedirect.
  • Persists session token in localStorage (with sessionStorage migration) so new-tab contract viewing works across billing routes.

Test plan

  • Point frontend at backend with NATIVE_CONTRACTS_ENABLED=true
  • Send a labor support contract and open the signing link
  • Complete initials, signature, and FINISH; confirm redirect to /contract-signed
  • Log in as billing/admin and open View contract from Signed Contracts list and detail page
  • Confirm pop-up is not blocked and PDF loads in new tab
  • Verify login deep link works for /billing/contracts/:id
  • Run frontend tests for public-signing and billing portal pages

Made with Cursor

keigocodes and others added 30 commits May 21, 2025 22:13
… (could cause problems for others?? but haven't seen)
… (could cause problems for others?? but haven't seen)
sokanacollectiveCRM and others added 25 commits August 20, 2026 10:49
Load multiselect and scalar intake values from fetched client detail, map them through the client DTO, and route age to intake_age_years on save.

Co-authored-by: Jerry Bony <info@techluminateacademy.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
* Improve Lead Profile UX and prefetch client detail for faster loads.

Add client detail cache with in-flight deduplication, prefetch on row click,
sticky view/edit mode bar, and clearer read-only affordances so services and
home type appear immediately when cached.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix Prettier formatting for Lead Profile UX PR lint gate.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Jerry Bony <info@techluminateacademy.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Restore boolean second-arg compatibility for deep-link loader while
keeping optional force refresh for cache invalidation.

Co-authored-by: Jerry Bony <info@techluminateacademy.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Stop rendering raw HTML API failures in Lead Profile billing, isolate card-on-file load failures from Payment Schedule, and show the Export button only for admins.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…error-ux

Harden Payment Schedule errors and admin-only CSV Export
Replace PHI/token/body console usage with metadata-only safeLog, add a CI gate that blocks console.log/debug regressions, and cover production no-op logger behavior with unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
…-sensitive-logging

HIPAA-07: remove sensitive frontend console logging
Silences Radix DialogContent warning when opening a lead profile from the Leads tab.

Co-authored-by: Cursor <cursoragent@cursor.com>
…og-description

Add Lead Profile DialogDescription (a11y follow-up)
- scripts/lint-changed.mjs mirrors CI (eslint + prettier on changed files)
- Husky pre-push hook runs npm run lint:push automatically
- Fix Prettier errors blocking lint workflow on LeadProfileModal

Co-authored-by: Cursor <cursoragent@cursor.com>
…ve UI.

Use PUT /clients/:id/birth-outcomes for structured dropdown/checkbox fields and drop free-text birth_outcomes from types and profile views.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…og-description

Add pre-push lint checker + fix LeadProfileModal CI failures
…atar does not flash the default image.

Keep a local preview and loading state until the saved photo has loaded, and surface the real save error from the API.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…pload-ui

Improve profile photo upload UI and loading state
* Quiet CRM deep-link misses instead of dual error UI.

When an email link targets a missing client, return to the clients list without the list error banner or Client Not Found modal.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix Playwright smoke by stubbing the dedicated birth-outcomes API.

The save path moved to PUT /clients/:id/birth-outcomes, so the old client PUT stub never recorded Induction: Yes.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Jerry Bony <info@techluminateacademy.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Remove vercel.json and update production backend URL error text for Cloud Run builds.

Co-authored-by: Cursor <cursoragent@cursor.com>
Retire Vercel deploy config from frontend-crm
…ews.

Replace public Supabase template URLs with backend signed-url/download fallbacks, and wire staff CRM login/session for Identity Platform alongside existing auth modes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Apply Prettier formatting and remove unused catch bindings so the PR lint workflow passes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Forward Firebase password-reset query params from /login to /auth/reset-password so admin migration emails can complete password setup.

Co-authored-by: Cursor <cursoragent@cursor.com>
…bcode-redirect

Fix Identity Platform admin reset link token routing
Ship the public signing experience, Great Vibes signature styling, signed-contract viewing in billing, and CRM navigation updates for the native contract flow.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@jbony2888 is attempting to deploy a commit to the DISC NU's projects Team on Vercel.

A member of the Team first needs to authorize it.

@sokanacollectiveCRM
sokanacollectiveCRM deleted the feat/native-labor-support-contracts branch August 31, 2026 04:28
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.

5 participants