GeezerVison is showing github.com — fix(legal): close remaining #874 consent-dialog, wording and template-chooser gaps by nikunjdecyb · Pull Request #888 · OpenResilienceInitiative/ORISO-Admin
Conversation
Problem
Issue #874’s original ten PRs are already on pre-dev. Three leftovers were still visible in production:
- The live consent dialog never passed the house checkbox into the Modal head (Storybook did; the dialog CSS hides the editor’s own
[data-head-icon]).
- Unlock / pending gate copy still said AVV / DPA / Vertrag / agreement after chore(i18n): one term for the contract documents, in both languages #873.
- The agency consent template chooser (feat(legal-editor): consent template chooser in the agency DPP function bar #864 review notes) still inserted the UI-locale sentence and kept the selected template after a language or department switch.
What changed
LegalConsentField passes LegalConsentHeadIcon into PlaceholderTemplateDialog.
dpaUnlock.* and leftover dpaPending.gatedNote / recheckRejected now use Vertragsunterlagen / contract documents (plural grammar). The third-party AI vendor DPA string is untouched (chore(i18n): one term for the contract documents, in both languages #873 exclusion).
useConsentTemplates(contentLanguage) looks up the sentence with t(key, { lng }); the chooser label stays in the admin UI language.
DepartmentDataProtectionCard clears consentTemplateId when activeLanguage or departmentName changes.
Already on pre-dev (not in this PR)
| Job |
PR |
State |
| 1 agency editor width |
#863 |
merged |
| 2 consentSlot in function bar |
#864 |
merged 2026-08-27 |
| 4/head icon + full-width copy |
#872 |
merged (Storybook only until this PR) |
| 5 consent/publish sync |
#866 |
merged |
| 7–9 contract gate |
#867 |
merged |
| 10 quiet scrollbars |
#868 |
merged |
| 11 forwarded-mail footer |
#869 |
merged |
| bonus save-draft |
#870 |
merged |
| wording (most strings) |
#873 |
merged |
Out of scope: Job 12 lives in ORISO-Frontend. Job 3 was Storybook ingress, already fixed.
Verification
Environment: local only (no Pre-Dev image swap).
npm run test -- LegalConsentField + wording + useConsentTemplates + DepartmentDataProtectionCard.consentTemplate → 18/18
- Related LegalText / DpaBlocker / AgencyLegalTextContainer → 82/82
npx eslint --max-warnings=0 and npx prettier --check on touched files → clean
Reviewer test plan
- Agency DPP card → open consent dialog: house checkbox sits above the title
- UI language DE, edit EN consent, pick the platform template: English sentence lands, German label on the button
- Switch language or Fachbereich: chooser returns to “Vorlage wählen”, previous language’s sentence is unchanged
- Unsigned-contract unlock dialog: “Vertragsunterlagen unterzeichnet” / “Contract documents signed”, no AVV/DPA
- Tenant/platform legal editor still has no consentSlot
-
mediaAiScanUnavailable still mentions a vendor data processing agreement
Closes #874
Made with Cursor
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…act gate
The original review-round PRs are already on pre-dev. The live consent dialog still had no house head icon, unlock/pending copy still said AVV/DPA, and the agency template chooser still followed the UI locale.
Co-authored-by: Cursor <[email protected]>
coderabbitai
Bot
commented
Aug 30, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 2af146f4-167d-4195-b4b2-81ab1908f17f
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
CI failed prettier --check on docs/agent-tasks/index.md. Agents now write-format every touched path so Markdown and JSON cannot skip the gate.
Co-authored-by: Cursor <[email protected]>
Keep both #874 and #678 agent-task entries and learnings after merging origin/pre-dev.
Uh oh!
There was an error while loading. Please reload this page.
Hassan9215
added a commit
that referenced
this pull request
Aug 31, 2026
Picks up #888 (legal-review gaps for #874) and the Prettier CI change,
which landed on pre-dev after this branch was last refreshed. Merged clean.
Co-Authored-By: Claude Opus 5 <[email protected]>
Reviewers
Shirloin
Awaiting requested review from Shirloin
shazia-k
Awaiting requested review from shazia-k
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|