Merged
Conversation
Neuer Shortcode gibt eine strukturierte Download-Card im Frontend aus; neue Shortcode-Spalte in der Admin-Übersicht für schnellen Copy-Paste. - class-shortcode.php: Shortcode-Handler; liest _odw_theme, _odw_license, _odw_quality_level/score, _odw_file_id; ermittelt Dateigröße und Format automatisch via get_attached_file(); CSS wird nur geladen wenn der Shortcode tatsächlich auf der Seite verwendet wird - assets/css/frontend.css: strukturelles Layout (Flexbox/Grid) ohne feste Farben oder Schriften — erbt vollständig vom aktiven Theme - class-fields.php: File-Feld odw_file_id (→ _odw_file_id) in Tab 3 für Mediathek-Verknüpfung der Download-Datei - class-admin.php: odw_shortcode-Spalte mit readonly-Input (Klick = Select) - admin.css: .column-odw_shortcode Breite + .odw-shortcode-input Monospace-Style https://claude.ai/code/session_013ma6QYffgnE2eKgDfh1Qgn
Beim ersten Admin-Aufruf nach der Aktivierung wird automatisch ein vollständig befüllter Demo-Datensatz erstellt und eine einmalige Willkommens-Notice mit fertigem Shortcode angezeigt. - class-setup.php: on_activation() setzt nur eine Option (kein CF-Zugriff); maybe_create_demo() läuft auf admin_init wenn CF vollständig initialisiert ist; erstellt odw_dataset mit allen Meta-Feldern, CF-Distribution und berechnetem Qualitätsscore; importiert Beispiel-CSV in die Mediathek; handle_dismiss() löscht Option nach Nonce-Check + Redirect; render_welcome_notice() zeigt Shortcode-Input (click-to-select) + Links - assets/sample/beispiel-datensatz.csv: 8 fiktive zivilgesellschaftliche Organisationen als Demo-Download - open-data-wizard.php: class-setup.php früh laden (vor Bootstrap); ODW_Setup::on_activation() in odw_activate(); ODW_Setup::init() im Bootstrap https://claude.ai/code/session_013ma6QYffgnE2eKgDfh1Qgn
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.
No description provided.