-
Couldn't load subscription status.
- Fork 682
feat(targets): Targets for navigable, externally injected content #2461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
Performance Test Results The following fails have been reported by WebpageTest. These numbers indicates a possible performance issue with the PR which requires further manual testing to validate. https://pr-2461.pwa-venia.com : LH Performance Expected 0.85 Actual 0.57, LH Best Practices Expected 1 Actual 0.92 |
| "start:debug": "node --inspect-brk ./node_modules/.bin/webpack-dev-server --progress --color --env.mode development", | ||
| "storybook": "echo 'Venia component stories have moved to @magento/venia-ui. Trying to run in sibling directory...' && (cd ../venia-ui && yarn run storybook:build)", | ||
| "storybook:build": "yarn run storybook", | ||
| "test": "yarn run -s prettier:check && yarn run -s lint && jest", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems to bring back changes from https://github.com/magento/pwa-studio/pull/2355/files
|
Can confirm that the |
Seems slightly inaccurate, when using a full url it prefixes the given href with the current route. So this becomes when on the /blog page or Also noted the order of the items is opposite to what I would have anticipated, ie last one is shown first. |
9c37eb9 to
5d72669
Compare
|
@zetlen should be solved with new target API lets mark as draw or close it |
|
From my point of we close this is very simple with new API to inject nav items. |
Description
apolloLinktarget, exposing the already composable concept of Apollo Links to PWA Studio extensionsnavItemstarget, exposing the main navigation menu in the same way thatroutesexposes the routing tableThis draft PR is to enable https://github.com/magento-research/pwa-studio-target-experiments/tree/master/packages/contentful-blog though it should be seriously considered as new API.
Acceptance
Verification Stakeholders
Community!
Verification Steps
Follow the walkthrough directions here for "contentful-blog"
Screenshots / Screen Captures (if appropriate)
Checklist