Background
When the result recommends specialist advice, the user is sent to the organisations directory.
At that point, the app may already know useful non-sensitive context, such as the user's province.
Problem
The directory currently opens generically.
Users may not know what kind of organisation to look for or where to start.
Proposed change
When linking from the result page to the directory, include safe context where useful.
Use:
- province, if already collected
- a generic source marker such as
from=result
Do not expose sensitive details in the URL.
Avoid query parameters like:
criminal_record_worry
identity_missing_or_mismatch
asylum_case_not_clear
Possible safe URL pattern
/es/organisations?province=28&from=result
Then show a neutral banner on the directory page:
Busca una organización que pueda revisar tu caso. Si puedes, contacta con una entidad que trabaje con extranjería, asilo o acompañamiento jurídico.
Files likely affected
src/routes/[lang=lang]/result/+page.server.ts
src/routes/[lang=lang]/result/+page.svelte
src/routes/[lang=lang]/organisations/+page.server.ts
src/routes/[lang=lang]/organisations/+page.svelte
src/lib/content/es.ts
src/lib/content/en.ts
src/lib/content/fr.ts
src/lib/content/ar.ts
Acceptance criteria
Why this matters
It connects the form result to the next practical action, rather than making the user start again in the directory.
Background
When the result recommends specialist advice, the user is sent to the organisations directory.
At that point, the app may already know useful non-sensitive context, such as the user's province.
Problem
The directory currently opens generically.
Users may not know what kind of organisation to look for or where to start.
Proposed change
When linking from the result page to the directory, include safe context where useful.
Use:
from=resultDo not expose sensitive details in the URL.
Avoid query parameters like:
criminal_record_worryidentity_missing_or_mismatchasylum_case_not_clearPossible safe URL pattern
Then show a neutral banner on the directory page:
Files likely affected
src/routes/[lang=lang]/result/+page.server.tssrc/routes/[lang=lang]/result/+page.sveltesrc/routes/[lang=lang]/organisations/+page.server.tssrc/routes/[lang=lang]/organisations/+page.sveltesrc/lib/content/es.tssrc/lib/content/en.tssrc/lib/content/fr.tssrc/lib/content/ar.tsAcceptance criteria
Why this matters
It connects the form result to the next practical action, rather than making the user start again in the directory.