Skip to content

feat: add Roadiz event schema org data - #613

Merged
manuelodelain merged 6 commits into
mainfrom
feat/event-schema-org
Aug 14, 2026
Merged

feat: add Roadiz event schema org data#613
manuelodelain merged 6 commits into
mainfrom
feat/event-schema-org

Conversation

@manuelodelain

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds new Roadiz-focused composables to build schema.org-compatible data for Events/Places, while centralizing image URL resolution and standardizing page-title generation for meta handling.

Changes:

  • Introduce useRoadizSchemaOrgEvent and useRoadizSchemaOrgPlace composables for schema.org payload shaping.
  • Add useRoadizResolvedImage to safely resolve image URLs (SSR-safe runWithContext + await).
  • Update useRoadizMeta to use the new helpers, add a share-image fallback URL, and remove the old place schema-org composable.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
app/composables/use-roadiz-schema-org-place.ts New place-to-schema.org mapping (address/geo/images/opening hours).
app/composables/use-roadiz-schema-org-event.ts New event-to-schema.org mapping (status, offers, performers, location).
app/composables/use-roadiz-resolved-image.ts New shared helper for resolving Roadiz image URLs safely in SSR.
app/composables/use-roadiz-place-schema-org.ts Removed legacy place schema.org composable.
app/composables/use-roadiz-page-title.ts New Roadiz-specific page title builder (includes search params label).
app/composables/use-roadiz-meta.ts Switch to new title/image helpers; add share-image fallback behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/composables/use-roadiz-schema-org-event.ts Outdated
Comment thread app/composables/use-roadiz-schema-org-event.ts Outdated
Comment thread app/composables/use-roadiz-schema-org-event.ts Outdated
Comment thread app/composables/use-roadiz-schema-org-event.ts Outdated
Comment thread app/composables/use-roadiz-schema-org-place.ts Outdated
manuelodelain and others added 5 commits July 17, 2026 10:54
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@manuelodelain
manuelodelain merged commit 6c79278 into main Aug 14, 2026
2 checks passed
@manuelodelain
manuelodelain deleted the feat/event-schema-org branch August 14, 2026 12:24
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.

3 participants