fix(web): share dialog states the links-off policy in place of the form (#351) #387

Merged
Cordy merged 4 commits from share-off-ui into main 2026-09-01 17:54:05 +00:00
Owner

Closes #351 with the dialog-notice pattern (per decision): Share stays reachable; when shareLinksDisabled is set the dialog opens showing a peernotice in place of the form — "Public share links are turned off on this server. This is instance policy — links that already exist keep working." (all four locales). The quick Copy-link menu action shows the same notice as a toast instead of firing a doomed request; the submit handler is belt-and-braces guarded. WebDAV/API callers already get the policy-worded 400 from #352, unchanged. This is the reusable pattern for future instance-wide switches, matching the peering not-enabled precedent (#131).

Closes #351 with the dialog-notice pattern (per decision): Share stays reachable; when `shareLinksDisabled` is set the dialog opens showing a `peernotice` in place of the form — "Public share links are turned off on this server. This is instance policy — links that already exist keep working." (all four locales). The quick Copy-link menu action shows the same notice as a toast instead of firing a doomed request; the submit handler is belt-and-braces guarded. WebDAV/API callers already get the policy-worded 400 from #352, unchanged. This is the reusable pattern for future instance-wide switches, matching the peering not-enabled precedent (#131).
Cordy merged commit d98634055a into main 2026-09-01 17:54:05 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#387
No description provided.