GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@nikunjdecyb

@nikunjdecyb nikunjdecyb commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator

Problem

Issue #874’s original ten PRs are already on pre-dev. Three leftovers were still visible in production:

  1. 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]).
  2. Unlock / pending gate copy still said AVV / DPA / Vertrag / agreement after chore(i18n): one term for the contract documents, in both languages #873.
  3. 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.

All reactions
@nikunjdecyb @cursoragent
fix(legal): close remaining #874 gaps on the consent dialog and contr…
28f720e
…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]>
@nikunjdecyb
nikunjdecyb requested review from Shirloin, shanzaeimran and shazia-k August 30, 2026 12:23
@coderabbitai

coderabbitai Bot commented Aug 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

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

Warning

Your free Security trial is over. An organization admin can activate Security or dismiss this notice.


Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nikunjdecyb nikunjdecyb mentioned this pull request Aug 30, 2026
Owner review round 2026-08-20: legal editor, consent dialog, contract gate and wording #874
Closed
nikunjdecyb and others added 2 commits August 30, 2026 17:59
@nikunjdecyb @cursoragent
fix(ci): format agent-task index and require Prettier on every change
d15b460
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]>
@shanzaeimran
merge: resolve pre-dev conflicts for #874 legal-review-gaps
a03272c
Keep both #874 and #678 agent-task entries and learnings after merging origin/pre-dev.
shanzaeimran
shanzaeimran approved these changes Aug 31, 2026
View reviewed changes
@shanzaeimran
shanzaeimran merged commit 2a93d48 into pre-dev Aug 31, 2026
5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@shanzaeimran
shanzaeimran deleted the cursor/874/legal-review-gaps branch August 31, 2026 05:24
Hassan9215 added a commit that referenced this pull request Aug 31, 2026
@Hassan9215 @claude
Merge current pre-dev into the sync branch
c6c920d
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]>
@Storypapst Storypapst mentioned this pull request Sep 7, 2026
Consent template chooser is hidden for departments without an existing consent sentence #929
Closed
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@shanzaeimran shanzaeimran shanzaeimran approved these changes
@Shirloin Shirloin Awaiting requested review from Shirloin
@shazia-k shazia-k Awaiting requested review from shazia-k

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

2 participants

@nikunjdecyb @shanzaeimran
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.