Skip to content
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

Update RAV samples to work with fetchWith create option #773

Merged
merged 59 commits into from
Aug 13, 2021
Merged
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
bea11e3
Add --fetchWith to Vue sample
CobyPear Aug 3, 2021
0ebd6c0
Removed prerender check in if statement
CobyPear Aug 3, 2021
d8e5dd1
Use correct file extensions
CobyPear Aug 3, 2021
8a37096
Fix filename
CobyPear Aug 3, 2021
02ef91f
Update names in imports/exports
CobyPear Aug 3, 2021
080c479
Update config path
CobyPear Aug 3, 2021
52ff9aa
Refactored graphql components: vue
CobyPear Aug 4, 2021
f8a5928
Merge dev
CobyPear Aug 4, 2021
9b982b4
Extract services into factory patern - ng
CobyPear Aug 4, 2021
75d5363
Remove unused method getPlaceholderData - ng
CobyPear Aug 4, 2021
46fc7d4
Update ng graphQL components for edge schema
CobyPear Aug 4, 2021
acc1d9b
Fix lint - ng
CobyPear Aug 4, 2021
996a155
Add comment about root item ID to ng dictionary service
CobyPear Aug 4, 2021
0bb3192
Rename some variables
CobyPear Aug 4, 2021
ee052ba
Refactor react services to use factory pattern
CobyPear Aug 4, 2021
182520e
Refactor components that use an instance of the service factories
CobyPear Aug 4, 2021
7f4141e
Mend transcription errors
CobyPear Aug 4, 2021
984bbeb
Update jss-create - react
CobyPear Aug 4, 2021
2bb26db
Refactor graphql components to use edge schema - react
CobyPear Aug 4, 2021
fd4abe2
Add the call to fetchWith in jss-create - ng, react
CobyPear Aug 4, 2021
332cb89
Fix typo in variable
CobyPear Aug 4, 2021
165c03c
Fix typo
CobyPear Aug 4, 2021
635c497
Fix filepath - react
CobyPear Aug 4, 2021
d48c1d1
Import chalk to jss-create - ng
CobyPear Aug 5, 2021
bfa9a04
Update 'did you know' - ng
CobyPear Aug 5, 2021
b3a7664
Update 'did you know' - vue
CobyPear Aug 5, 2021
8e140f0
Fix filename - ng
CobyPear Aug 5, 2021
53b6d9f
Merge branch 'dev' of github.com:Sitecore/jss into feature/488863
CobyPear Aug 5, 2021
068232c
Update graphql endpoint in RAV package.json
CobyPear Aug 5, 2021
2905205
Update headless-ssr-experience-edge readme
CobyPear Aug 5, 2021
89c9ebb
Remove 'legacy' gql config - ng, react
CobyPear Aug 5, 2021
051cb60
Fix options
CobyPear Aug 5, 2021
ccff2b5
Remove querystring param from generate-config script - RAV
CobyPear Aug 5, 2021
f6ac54f
Update GraphQL Integrated Demo query - RAV
CobyPear Aug 5, 2021
d59d7d3
Add 'jss' and 'default' config patches and configName to rest layout …
CobyPear Aug 5, 2021
5dffd59
Update GraphQL endpoint in RAV sitecore configs
CobyPear Aug 5, 2021
01e691e
Update path to sample2 url - react
CobyPear Aug 10, 2021
f9abcd6
Add api key to graphql header
CobyPear Aug 10, 2021
f5ec4b2
Merge branch 'dev' of github.com:Sitecore/jss into feature/488863
CobyPear Aug 10, 2021
bf0ad20
Update GraphQLData.js to accept language variable - react
CobyPear Aug 10, 2021
8e2976f
Update angular graphql
CobyPear Aug 10, 2021
d202386
Update vue GraphQL components to accept language variable
CobyPear Aug 10, 2021
5ce7a07
Add instance of factory - vue
CobyPear Aug 10, 2021
5296e55
Add sc_apikey header to GraphQLClientFactory - vue
CobyPear Aug 10, 2021
8901b5a
Update jss-create to set credentials - vue
CobyPear Aug 10, 2021
3594bd8
Update node-headless-ssr-experience-edge README
CobyPear Aug 10, 2021
a815e53
Revert analytics: false
CobyPear Aug 10, 2021
f019ec9
Merge branch 'dev' of github.com:Sitecore/jss into feature/488863
CobyPear Aug 12, 2021
e1b92a1
Fix config file formatting
CobyPear Aug 12, 2021
bc96690
Remove sneaky console.log 🐱‍👤
CobyPear Aug 12, 2021
274f983
Create instance of dictionary service - vue
CobyPear Aug 12, 2021
3a66d90
Add mistakenly removed comment from configs
CobyPear Aug 12, 2021
4f7a217
Update misleading comment about sc_apikey header
CobyPear Aug 12, 2021
59e6318
Remove setCredentials
CobyPear Aug 12, 2021
4d8b525
Remove note in headless-ssr-ee readme
CobyPear Aug 12, 2021
297b938
Merge branch 'dev' of github.com:Sitecore/jss into feature/488863
CobyPear Aug 13, 2021
23c7ccd
Hardcode omit/flase credentials for GraphQL client
CobyPear Aug 13, 2021
8de8b31
Actually remove credentials header 🙃
CobyPear Aug 13, 2021
ad59373
Apply proper formatting to XML configs
CobyPear Aug 13, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add comment about root item ID to ng dictionary service
CobyPear committed Aug 4, 2021
commit 996a155cea8700a2b400c82163d07d5a5cdb0377
Original file line number Diff line number Diff line change
@@ -7,6 +7,12 @@ export class DictionaryServiceFactory {
endpoint: env.graphQLEndpoint,
apiKey: env.sitecoreApiKey,
siteName: env.jssAppName,
/*
The Dictionary Service needs a root item ID in order to fetch dictionary phrases for the current
app. If your Sitecore instance only has 1 JSS App, you can specify the root item ID here;
otherwise, the service will attempt to figure out the root item for the current JSS App using GraphQL and app name.
rootItemId: '{GUID}'
*/
});
}
}