Skip to content

[Client] Replace application picker with case selector - #668

Merged
danielsjoo merged 4 commits into
masterfrom
ai/definitive-case-selector-client
Jul 19, 2026
Merged

[Client] Replace application picker with case selector#668
danielsjoo merged 4 commits into
masterfrom
ai/definitive-case-selector-client

Conversation

@danielsjoo

@danielsjoo danielsjoo commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace the bundled JSON picker with the published server-driven case tree.
  • Support responsive SVG/photo answers, registered React interactions, outcome instructions, PDF upload, confirmed notes, service records, and direct application handoff.
  • Add a neutral manual opt-out path for custom Markdown instructions plus optional completed-PDF upload.
  • Add semantic organization-document assignment under My Organization: admins/directors map authored labels such as “Director ID photocopy” to an uploaded organization PDF; workers can see the mapping but cannot change it.
  • Keep instruction sheets white and print-oriented.

Review walkthrough

  1. An author defines a semantic document label; an organization admin opens My Organization and selects the actual reusable PDF from a dropdown.
  2. Outcome automation references the stable label, not a raw organization-specific document UUID.
  3. The case flow resolves client/date/response directives and can propose a note, upload a completed PDF, or continue into an application.
  4. Workers can opt out of the tree and record custom instructions when the definitive flow does not fit.

Verification

  • npm run build
  • npx eslint src/components/AccountSettings/MyOrganization.tsx
  • Full-stack browser walkthrough against server-next: admin assignment, persisted selection, desktop/mobile layouts, and console check

Screenshots

Organization document label assignment

SVG and photo answer choices

Neutral manual fallback and print-style sheet

Notes

@danielsjoo
danielsjoo marked this pull request as ready for review July 19, 2026 17:15
@danielsjoo
danielsjoo requested a review from crchong1 as a code owner July 19, 2026 17:15
@danielsjoo
danielsjoo merged commit ff5ce8f into master Jul 19, 2026
5 checks passed
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