Skip to content

[Submit] [PDF] App: register commands and the secure-link route #94029

Description

@iwiznia

Design doc: Submit via PDF for the Submit workspace (section: Detailed Implementation of the Solution)

  • Add a submitViaPDF field to the existing src/libs/API/parameters/SubmitReportParams.ts (PR #87998 already edits this file). Add only JOIN_REPORT_VIA_SECURE_LINK to WRITE_COMMANDS in src/libs/API/types.ts, with its parameter type under src/libs/API/parameters/.
  • The report route already accepts 2 params, we will add a new one secureKey query param (src/ROUTES.ts REPORT_WITH_ID/r/:reportID?secureKey=...). After authentication, fire JoinReportViaSecureLink here, if secureKey was in the route params. On success route to the report view, on failure route to the standard "Hmm… not there" 404.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions