Skip to content

[stable35] feat: add frontend support for signer geolocation - #8359

Merged
vitormattos merged 16 commits into
stable35from
backport/8327/stable35
Sep 11, 2026
Merged

[stable35] feat: add frontend support for signer geolocation#8359
vitormattos merged 16 commits into
stable35from
backport/8327/stable35

Conversation

@backportbot-libresign

Copy link
Copy Markdown

Backport of PR #8327

Capture agreed terms from the frontend geolocation design so optional
mode is not confused with soft collection.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Register disabled/optional/required radios and clarify that optional
lets requesters require device location for selected signers.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Show the requester toggle only when geolocation mode is optional and
persist geolocationRequired on signature requests.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Request browser location only when frozen requirement is required,
with privacy consent, fresh high-accuracy options, and retry/exit on
failure without sending non-collected statuses.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Render stored coordinates in SignerDetails and EnvelopeValidation as
device-reported location, without map visualization.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Add focused coverage for the privacy dialog, successful collected
payload submit, failure retry/dismiss, cancel without collection, and
the disabled path that skips geolocation.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Expose and assert device-reported location formatting in
EnvelopeValidation for present and absent geolocation metadata.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Drop collected coordinates when signature submit fails so the next attempt reopens the privacy dialog and fetches a fresh position. Also share CollectedGeolocation typing and resolve frozen requirement via a helper.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Add an explicit not-verified physical presence disclaimer and TRANSLATORS comments on the audit label.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Use glossary wording on the requester toggle and prefer logical CSS properties for the geolocation wrapper.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Add coverage for frozen requirement resolution, stale-after-failed-submit, distinct collection failure messages, absent metadata, and the audit disclaimer.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Do not overwrite an existing geolocationRequirement freeze when later request saves omit geolocationRequired.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Re-send and restore the requester toggle from metadata.geolocationRequirement so notify/update no longer drops a required freeze.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Add regression coverage for omitted-flag preservation, metadata rehydration, and toggle restore when editing.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Show only the section label when collapsed, and reveal latitude, longitude, and the physical-presence disclaimer inside the expandable region.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Use the file policy snapshot for the requester toggle, show locale-aware accuracy with a local copy-coordinates action, and drop CONTEXT.md.

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
@github-project-automation github-project-automation Bot moved this from 0. Backlog to 1. to do in Roadmap Sep 11, 2026
@vitormattos
vitormattos merged commit 05392ed into stable35 Sep 11, 2026
64 checks passed
@vitormattos
vitormattos deleted the backport/8327/stable35 branch September 11, 2026 03:45
@github-project-automation github-project-automation Bot moved this from 1. to do to 4. to release in Roadmap Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 4. to release

Development

Successfully merging this pull request may close these issues.

2 participants