Skip to content

Open organisations directory with relevant context after specialist-review results #8

Description

@jokroese

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

  • If province is known, the directory link from the result page includes the province filter.
  • The directory page can display a neutral "coming from result" guidance panel.
  • Sensitive result flags are not exposed in the URL.
  • Users can clear filters.
  • No sensitive analytics dimensions are added.
  • Spanish, English, French, and Arabic copy remain aligned.
  • Tests pass.

Why this matters

It connects the form result to the next practical action, rather than making the user start again in the directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions