Skip to content

Rebrand to nozilla, new quality levels, per-distribution license, shortcode overhaul#11

Merged
daimpad merged 1 commit intomainfrom
claude/evaluate-change-requests-FEyiS
May 6, 2026
Merged

Rebrand to nozilla, new quality levels, per-distribution license, shortcode overhaul#11
daimpad merged 1 commit intomainfrom
claude/evaluate-change-requests-FEyiS

Conversation

@daimpad
Copy link
Copy Markdown
Owner

@daimpad daimpad commented May 6, 2026

Summary

  • Plugin author changed from "Datenatlas Zivilgesellschaft" to "nozilla" with GitHub link; all Civora/Piveau/datenatlas brand references removed from comments and docs (functional REST namespace datenatlas/v1 kept)
  • Quality levels expanded to 4 tiers: Perfekt (100), Gut (56–99), Ausreichend (55 = all required fields filled), Verbesserungsbedarf (<55)
  • License moved from dataset level to per-distribution; config/licenses.txt + auto-suggest for "Sonstige" option; Deutschland-Lizenz removed
  • File format list extracted to config/dct-format-list.php
  • DCAT-AP field definitions extracted to config/dcat-ap-fields.php as single source of truth for validation and quality scoring
  • CESSDA topic classification added as auto-suggest field from TopicClassification-4.2.3_de-4.2.3.rdf (95 German concepts, 24h transient cache)
  • Wizard tabs restructured: Tab 1 = Grundlegende Informationen, Tab 2 = Inhaltliche Angaben, Tab 3 = Datenbereitstellung (license as required field per distribution)
  • File size widget: composite number + unit dropdown (KB/MB/GB), JS computes bytes for hidden backing field
  • Shortcode download card: quality indicator removed; keywords displayed as tag pills; metadata JSON-LD download button added; license read from first distribution

Test plan

  • PHPCS: 0 violations (composer phpcs)
  • PHPUnit: all 90 tests pass (composer test)
  • Activate plugin → demo dataset created, welcome notice shown
  • Create dataset → 5-tab form renders correctly with new tab structure
  • License dropdown shows CC0/CC-BY/… + "Sonstige" with custom URI field appearing conditionally
  • CESSDA topic auto-suggest appears in Tab 2
  • File size widget: enter number + select unit → bytes stored correctly
  • Publish without distribution license → blocked, error shown
  • Quality score: complete dataset = 100 (Perfekt), only required fields = 55 (Ausreichend)
  • Shortcode [odw_dataset id="X"] shows keywords, metadata button, no quality row
  • /wp-json/datenatlas/v1/catalog returns valid JSON-LD

https://claude.ai/code/session_FEyiS


Generated by Claude Code

- Change plugin author from Datenatlas Zivilgesellschaft to nozilla
  with GitHub link
- Remove all Civora, Piveau, and datenatlas brand references from
  comments, docs, and settings (functional REST namespace kept)
- Shortcode download card: remove quality indicator display, add
  keywords as tag pills, add metadata JSON-LD download button
- License now read from first distribution instead of dataset-level meta
- Add frontend CSS for keyword pills and metadata button

https://claude.ai/code/session_FEyiS
@daimpad daimpad merged commit 3f3fcce into main May 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants