|
| 1 | +# KT Questions |
| 2 | + |
| 3 | +## Existing |
| 4 | + |
| 5 | +1. What is the use case for the setup wizard? |
| 6 | +1. What is the difference between the wizard and bin/setup/index.js? |
| 7 | + |
| 8 | +one is ui, one is api but there may be overlap - please call out in issues |
| 9 | + |
| 10 | +1. Why is the roles defined in setup/index.js different than the roles defined in setup-wizard.js? |
| 11 | + |
| 12 | +only need publish |
| 13 | + |
| 14 | +1. https://prerender.aem-storefront.com/ - what is this? |
| 15 | + |
| 16 | +- repo in adobe-rnd: https://github.com/adobe-rnd/aem-commerce-prerender-ui |
| 17 | +- gets url of overlay where markup is stored, automatically used by wizard but before wizard, you had to manually set it |
| 18 | +- form submit at end of wizard to prerender.aem-storefront.com with creds to create context in local storage for interface |
| 19 | + |
| 20 | +1. What is content url, products template, and commerce store url and why do they need defined in the setup wizard? |
| 21 | + |
| 22 | +They should prepopulate from org/site - if they did not it is a bug. |
| 23 | +Only relevant if merchant has different paths. |
| 24 | +path format likely needs to be changed. |
| 25 | +Template depends on locales or not. |
| 26 | + |
| 27 | +1. Is there any code that needs removed or refactored? |
| 28 | + |
| 29 | +github issues reference relevant. |
| 30 | +do not consider low priority issues (see label) |
| 31 | +others, recommend to start working |
| 32 | +generic code cleanup issue would be good |
| 33 | +for prerender setup, and "prerender" |
| 34 | + |
| 35 | +1. What do you wish could be done before you return from PTO |
| 36 | + |
| 37 | +p0: |
| 38 | + |
| 39 | +- Alberto is mostly worried about existing customer support. |
| 40 | +- In JIRA, priority tickets such as to fix DKV. |
| 41 | + |
| 42 | +p1: next/generic ssg issues, cleanup, etc. |
| 43 | + |
| 44 | +In reference impl, we do not show anything more than the markup. |
| 45 | +The rest of the pdp page loads as usual. Up to customer to embed further information. |
| 46 | + |
| 47 | +1. How can I view, assess, and regenerate the index file? |
| 48 | + |
| 49 | +1. How can I refresh products? |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | +## New Features |
| 55 | + |
| 56 | +1. If I wanted to add a new fetcher for categories, where do I put that? actions/fetch-all-categories/index.js? |
| 57 | + |
| 58 | +1. Could we obtain more "dynamic" things, such as the graphql operations, templates, etc, from a service? Queries can change, and we have hardcoded them here. |
| 59 | +1. Since product details query are prerendered, what happens if customer has custom query? For example, if they want to extend or override certain fields? |
| 60 | + |
| 61 | + Yes - make issue. It is ref impl, but maybe ways to make more generic/customizable rather than having to change code files directly. |
| 62 | + |
| 63 | +1. Is there a reason we did not use a multi-tenant approach? |
| 64 | + |
| 65 | +* catalog service public events were not yet available when this was built. |
| 66 | +* all events trigger change, so would be too noisy - would have to keep a cache/etc to reduce |
| 67 | +* poller allows customer to be in control of what/when they want to trigger |
| 68 | +* rendering process is heavily customized |
| 69 | + |
| 70 | +1. Would you be interested in moving UI flows to storefront-tools? |
| 71 | + |
| 72 | +Yes - shared with Alberto |
0 commit comments