Repository navigation
feat(plugin-og): follow the embedding page in the address bar - #438
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
👁️🗨️ Review this pull request with grouped, summarized diffs at: raw result💭 analyzed by {
"headSha": "ee7e1a5bed7c037ed1c6c874bec8dc339c533913",
"result": {
"overallSummary": "Adds the ability for the Open Graph devframe to follow the embedding app page's address when run inside a hub dock: the address bar accepts page paths resolved against the host origin, follows navigation automatically, gains a manual refresh button, and shows the resolved URL/HTTP status in the toolbar instead of the panel body. The standalone viewer/CLI are unaffected since they have no host page.",
"groups": [
{
"key": "follow-host-page",
"label": "Follow embedding page",
"summary": "Implements the core logic: detect the app page embedding the og viewer, track its navigation, and resolve/format page paths against its origin so typed paths and full URLs both work.",
"category": "core",
"filePaths": [
"plugins/og/app/app/composables/useHostPage.ts",
"plugins/og/app/app/composables/useOgViewer.ts",
"plugins/og/app/app/utils/address.ts"
]
},
{
"key": "ui-toolbar",
"label": "Toolbar UI updates",
"summary": "Updates the address bar toolbar to show a refresh action and the resolved URL/status, and adapts placeholder/labels for embedded mode; wires the new state through app.vue.",
"category": "ui",
"filePaths": [
"plugins/og/app/app/app.vue",
"plugins/og/app/app/components/ViewerToolbar.vue",
"plugins/og/app/app/components/ViewerToolbar.stories.ts"
]
},
{
"key": "tests",
"label": "Address utility tests",
"summary": "Unit tests covering the new `formatAddress`/`resolveAddress` helpers for same-origin, cross-origin, and standalone (no embedding page) cases.",
"category": "tests",
"filePaths": [
"plugins/og/test/address.test.ts"
]
}
],
"schemaVersion": 1,
"source": "llm",
"generatedAt": "2026-10-06T04:01:51.421Z",
"model": "vercel-ai-gateway/anthropic/claude-sonnet-5",
"locale": "en"
}
} |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the Open Graph devframe runs in a hub dock inside an app, it now inspects the page that you are on.
/or/posts. You can type a path to inspect a page of the app. A fullhttps://URL still inspects a remote site.http://localhost:5175/ HTTP 200.The standalone viewer and the CLI keep full URLs, because they have no app page to resolve a path against.
Created with the help of an agent.