Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Document addon configuration fields for Replicator/Bard sets

Offen
#1,983 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Dokumentation
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
laravel, php
Bereich
documentation

Rechercherichtung

The API is proposed in statamic/cms#15422, a draft that is not merged, so the docs cannot be verified against shipped code yet. Read that PR for Statamic\Fieldtypes\Sets::appendSetConfigField() and appendSetConfigFields(), then cover the checklist in the issue body. Done means a docs page that separates set configuration from per-block fields and includes single, grouped and multiple-field examples, and wait for the API to be accepted before finalising.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Companion tracking issue for the proposed API in statamic/cms#15422. The PR is a draft and has not been merged.

The change adds Statamic\Fieldtypes\Sets::appendSetConfigField($handle, $config) and appendSetConfigFields($fields) to register native configuration fields in the Edit Set stack for Replicator and Bard.

Documentation should distinguish reusable set configuration in a blueprint/fieldset from fields stored on individual content blocks. For example, an addon can register an editorial note or a native group of guidance fields. The values are saved alongside that set's native configuration.

Suggested coverage once the API is accepted:

  • Register fields during a service provider's boot phase, using keyed native field definitions.
  • Single-field and multiple-field examples, including a group for namespaced nested configuration.
  • Native preprocessing, metadata, validation, and processing apply. Validation is enforced when applying/saving the containing field.
  • Edit Set's Confirm button updates the containing field editor; save the field and blueprint/fieldset to persist changes.
  • Native set keys are reserved. Use addon-specific handles.
  • Existing custom metadata remains intact when its addon is not registered.

The extension is generic; no AI-specific settings are added to core.

Vorherrschende Sprache
PHP
Sterne
133
Forks
405
Ø Merge
21 Std. 45 Min.
Gemergte PRs (30 T.)
12

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus statamic/docs

Alle Issues in statamic/docs

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.