From 934b4b8f4278fb03071a65c444f2902c242e241d Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Wed, 22 Jul 2026 18:33:44 +0800 Subject: [PATCH] =?UTF-8?q?release(browser):=200.9.0=20=E2=80=94=20meeting?= =?UTF-8?q?=20type=20badge=20+=20Type=20facet=20+=20composed=20card=20head?= =?UTF-8?q?line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Consumes the changeset from PR #46. Bumps @edoxen/browser 0.8.0 -> 0.9.0 (minor: new config knob + new UI feature). Example apps bumped in lockstep. --- .changeset/meeting-card-place-headline.md | 14 -------------- examples/bilingual/CHANGELOG.md | 7 +++++++ examples/bilingual/package.json | 2 +- examples/minimal/CHANGELOG.md | 7 +++++++ examples/minimal/package.json | 2 +- examples/multibody/CHANGELOG.md | 7 +++++++ examples/multibody/package.json | 2 +- examples/standalone/CHANGELOG.md | 7 +++++++ examples/standalone/package.json | 2 +- packages/browser/CHANGELOG.md | 15 +++++++++++++++ packages/browser/package.json | 2 +- 11 files changed, 48 insertions(+), 19 deletions(-) delete mode 100644 .changeset/meeting-card-place-headline.md diff --git a/.changeset/meeting-card-place-headline.md b/.changeset/meeting-card-place-headline.md deleted file mode 100644 index 64541b2..0000000 --- a/.changeset/meeting-card-place-headline.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'@edoxen/browser': minor ---- - -Expose Meeting.type as an i18n'd badge + filterable Type facet. - -- `MeetingListItem` carries `type` (MeetingType enum) and `MeetingListFacets` exposes a `types[]` list. `/data/meetings.json` now includes the type per item. -- `MeetingCard` renders a type badge in the meta row (small caps muted label), resolved through the new `meetingTypeLabel()` helper. -- `MeetingDetail` badge row uses the helper instead of the raw enum value. -- The search island adds a Type facet (between Year and Location, meetings mode) β€” chip labels are humanized enum values; selection round-trips via `#types=plenary,working_group` in the URL hash. The facet text is also part of the search haystack so typing "plenary" filters meetings. -- Card headline is composed from place (flag + "City, Country" or "🌐 Virtual"), with the entity title carried as the link's `title` attribute tooltip. Detail h1, JSON-LD, sitemaps, and `` continue to use the entity title. Falls back to the title when no place data is present. -- New config knob: `terminology.meetingTypes` β€” per-locale overrides (`{ eng: { plenary: 'PlΓ©niΓ¨re CIML' } }`). Resolution order: consumer override β†’ built-in i18n table (`meeting.type.<value>`) β†’ humanized enum value. The built-in table ships English + French for all 17 MeetingType values; other locales fall back to English until they're translated. - -`@edoxen/edoxen` (separate package) gains a symmetric `meetingTypeLabel(type)` helper + `MEETING_TYPE_LABELS` constant, mirroring the existing `actionTypeLabel` pattern. diff --git a/examples/bilingual/CHANGELOG.md b/examples/bilingual/CHANGELOG.md index b59ddbf..6811b7f 100644 --- a/examples/bilingual/CHANGELOG.md +++ b/examples/bilingual/CHANGELOG.md @@ -1,5 +1,12 @@ # @edoxen/browser-example-bilingual +## 0.0.17 + +### Patch Changes + +- Updated dependencies [58b36c6] + - @edoxen/browser@0.9.0 + ## 0.0.16 ### Patch Changes diff --git a/examples/bilingual/package.json b/examples/bilingual/package.json index 640f1d7..11cabda 100644 --- a/examples/bilingual/package.json +++ b/examples/bilingual/package.json @@ -1,6 +1,6 @@ { "name": "@edoxen/browser-example-bilingual", - "version": "0.0.16", + "version": "0.0.17", "private": true, "type": "module", "description": "Bilingual @edoxen/browser example β€” EN + FR content via per-field LocalizedString.", diff --git a/examples/minimal/CHANGELOG.md b/examples/minimal/CHANGELOG.md index c2a025c..a399d22 100644 --- a/examples/minimal/CHANGELOG.md +++ b/examples/minimal/CHANGELOG.md @@ -1,5 +1,12 @@ # @edoxen/browser-example-minimal +## 0.0.17 + +### Patch Changes + +- Updated dependencies [58b36c6] + - @edoxen/browser@0.9.0 + ## 0.0.16 ### Patch Changes diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 6e92535..77e41d3 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -1,6 +1,6 @@ { "name": "@edoxen/browser-example-minimal", - "version": "0.0.16", + "version": "0.0.17", "private": true, "type": "module", "description": "Minimal @edoxen/browser example β€” single-locale, decisions-only.", diff --git a/examples/multibody/CHANGELOG.md b/examples/multibody/CHANGELOG.md index b924d94..e446abd 100644 --- a/examples/multibody/CHANGELOG.md +++ b/examples/multibody/CHANGELOG.md @@ -1,5 +1,12 @@ # @edoxen/browser-example-multibody +## 0.0.17 + +### Patch Changes + +- Updated dependencies [58b36c6] + - @edoxen/browser@0.9.0 + ## 0.0.16 ### Patch Changes diff --git a/examples/multibody/package.json b/examples/multibody/package.json index 1271054..800ccb8 100644 --- a/examples/multibody/package.json +++ b/examples/multibody/package.json @@ -1,6 +1,6 @@ { "name": "@edoxen/browser-example-multibody", - "version": "0.0.16", + "version": "0.0.17", "private": true, "type": "module", "description": "Multi-body @edoxen/browser example β€” CIML + Conference + DC badges.", diff --git a/examples/standalone/CHANGELOG.md b/examples/standalone/CHANGELOG.md index e837325..74dfb96 100644 --- a/examples/standalone/CHANGELOG.md +++ b/examples/standalone/CHANGELOG.md @@ -1,5 +1,12 @@ # @edoxen/browser-example-standalone +## 0.0.17 + +### Patch Changes + +- Updated dependencies [58b36c6] + - @edoxen/browser@0.9.0 + ## 0.0.16 ### Patch Changes diff --git a/examples/standalone/package.json b/examples/standalone/package.json index 7da8f89..cd46796 100644 --- a/examples/standalone/package.json +++ b/examples/standalone/package.json @@ -1,6 +1,6 @@ { "name": "@edoxen/browser-example-standalone", - "version": "0.0.16", + "version": "0.0.17", "private": true, "type": "module", "description": "Standalone-mode @edoxen/browser showcase β€” no astro.config: edoxen.config.ts + data + src/styles/override.css theming demo.", diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index bfddb3d..c4e592d 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -1,5 +1,20 @@ # @edoxen/browser +## 0.9.0 + +### Minor Changes + +- 58b36c6: Expose Meeting.type as an i18n'd badge + filterable Type facet. + + - `MeetingListItem` carries `type` (MeetingType enum) and `MeetingListFacets` exposes a `types[]` list. `/data/meetings.json` now includes the type per item. + - `MeetingCard` renders a type badge in the meta row (small caps muted label), resolved through the new `meetingTypeLabel()` helper. + - `MeetingDetail` badge row uses the helper instead of the raw enum value. + - The search island adds a Type facet (between Year and Location, meetings mode) β€” chip labels are humanized enum values; selection round-trips via `#types=plenary,working_group` in the URL hash. The facet text is also part of the search haystack so typing "plenary" filters meetings. + - Card headline is composed from place (flag + "City, Country" or "🌐 Virtual"), with the entity title carried as the link's `title` attribute tooltip. Detail h1, JSON-LD, sitemaps, and `<title>` continue to use the entity title. Falls back to the title when no place data is present. + - New config knob: `terminology.meetingTypes` β€” per-locale overrides (`{ eng: { plenary: 'PlΓ©niΓ¨re CIML' } }`). Resolution order: consumer override β†’ built-in i18n table (`meeting.type.<value>`) β†’ humanized enum value. The built-in table ships English + French for all 17 MeetingType values; other locales fall back to English until they're translated. + + `@edoxen/edoxen` (separate package) gains a symmetric `meetingTypeLabel(type)` helper + `MEETING_TYPE_LABELS` constant, mirroring the existing `actionTypeLabel` pattern. + ## 0.8.0 ### Minor Changes diff --git a/packages/browser/package.json b/packages/browser/package.json index 922e197..8251d72 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,6 +1,6 @@ { "name": "@edoxen/browser", - "version": "0.8.0", + "version": "0.9.0", "description": "Astro-based browser for edoxen YAML data β€” drop in your data and ship a resolutions archive site.", "type": "module", "license": "BSD-2-Clause",