feat: Add ZiviZ engagement-field classification (v2.19.0)#61
Merged
Conversation
New optional autosuggest field "In welchem Engagementfeld ist die Organisation aktiv?" in step 1 (Grundlegende Informationen), backed by a bundled ZiviZ engagement-field vocabulary (config/vocabularies/engagementfeld.json, 16 SKOS concepts). The label→URI resolution reuses odw_resolve_vocab_uri(). - Emitted in JSON-LD as dct:subject; combined with a CESSDA topic, dct:subject becomes an array - Vocabulary passed to the generic data-odw-vocab autosuggest - Also listed in the frontend widget's "Alle Metadaten anzeigen" accordion - 5 new UI strings translated in en_US Version 2.19.0. Tests: 151 pass, PHPStan clean, PHPCS exit 0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JB1xUQM892bVZ4Yv3MZjvq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
#3 — ZiviZ-Engagementfelder (letzter Punkt der Liste)
Neues optionales Auto-Suggest-Feld „In welchem Engagementfeld ist die Organisation aktiv?" im Schritt „Grundlegende Informationen".
config/vocabularies/engagementfeld.json(16 Konzepte — Soziale Dienste, Kultur, Sport, Umwelt- und Naturschutz, Gesundheitswesen …).data-odw-vocab-Autosuggest; dieziviz.de-URI wird beim Speichern viaodw_resolve_vocab_uri()automatisch aufgelöst.dct:subjectausgegeben. Zusammen mit einer CESSDA-Klassifikation wirddct:subjectzu einem Array (beide Themenzuordnungen bleiben erhalten).Dateien
config/vocabularies/engagementfeld.json(neu),class-fields.php(Feld + JSON-LD-Subject-Array),class-admin.php(Vokabular ans JS),class-shortcode.php(Accordion-Zeile),languages/*(5 neue Strings).Verifikation
dct:subject).🎉 Damit ist die komplette Liste abgearbeitet
CESSDA-Verschiebung · DCAT-AP.de-Lizenzen · Datei-Link/Upload · Datenatlas-Link · Widget-Redesign · ZiviZ-Engagementfelder.
🤖 Generated with Claude Code
Generated by Claude Code