WORK-310
Setting up your dashboard 0 entities found · 9/32 branches scanned
ID:WORK-310Status:done

Places plugin migration to metaFields + zones

Phase 2 of SPEC-079. Migrates the places plugin's meta-bearing rune (Event) from the legacy slots + structure config shape to the new metaFields + zones + contentSlots model.

Priority:mediumComplexity:simpleMilestone:v0.17.0Source:SPEC-079
changeset-release/main View source

Criteria completion

Criteria completion: 0 of 6 (0%) checked; tracking started on Jun 2, no incremental history yet0%25%50%75%100%Jun 2Jun 15

Tracking started Jun 2 — check back for trends.

Branches 2
changeset-release/main current done
claude/spec-079-implementation donemain done
History 4
  1. da5f6f0
    Created (done)by github-actions[bot]
  2. e4d5cbc
    Content editedby Claude
    feat: migrate remaining meta-bearing runes to blocks/layout (WORK-319)
  3. 81ceb3b
    Content editedby Claude
    plan: retarget SPEC-079 work items to v0.17.0 (Phase 1+2) / v0.18.0 (Pha
  4. 4f945b1
    Content editedby Claude
    plan: WORK-307 through WORK-313 — SPEC-079 Phase 2 + Phase 3 breakdown

Acceptance Criteria

  • plugins/places/src/config.ts Event entry rewritten.

    • Event: date, endDate, location. No eyebrow projected (or optional — depends on whether date reads more naturally as an eyebrow than as a metadata cell). Metadata: all three fields, with date and endDate using tag: 'time' for proper <time datetime="…"> output.
    • The date-range pattern (date — endDate rendered as a single visual unit in the legacy structure) needs the same effect via the new model. Options: (a) declare both fields in metadata and let the def-list render two rows; (b) keep them as a custom dateRange zone using chip-row to render side-by-side; (c) project them as an eyebrow with split (left: date, right: endDate).
    • Decision deferred to the implementer — pick whichever reads best in the rendered site.
  • Itinerary / Map / MapPin untouched. Either no meta projection or container runes — stay on the existing path.

  • Per-rune CSS updated. Selectors in plugins/places/styles/event.css referencing __header-primary / __header-secondary rewritten.

  • Plugin tests updated. Tests in plugins/places/test/ reflect the new DOM shape.

  • Backwards-compat shim warning silent for places.

  • Docs. Event rune doc page (site/content/runes/places/event.md) — output-contract snippets updated.

Approach

Single-rune migration. The date-range visual is the only place that needs design judgement — try the simple two-row def-list first, escalate to a custom zone if it reads worse than today's side-by-side.

Dependencies

  • WORK-305 — engine + layout primitives (done).
  • WORK-306 — plan plugin migration reference (done).

References

  • SPEC-079 — the spec being implemented.

Resolution

Completed: 2026-06-02

Superseded by WORK-319. Targeted the SPEC-079 zones model; places (Event) migrated straight to the SPEC-080 blocks/layout model instead on branch claude/definitions-list-styling-9nOGL.