@salesforce/templates 66.5.6 → 66.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/generators/projectGenerator.d.ts +1 -1
- package/lib/generators/projectGenerator.js +3 -3
- package/lib/generators/projectGenerator.js.map +1 -1
- package/lib/templates/project/{reactb2e → reactexternalapp}/AGENT.md +6 -10
- package/lib/templates/project/{reactb2e → reactexternalapp}/CHANGELOG.md +59 -0
- package/lib/templates/project/{reactb2x → reactexternalapp}/README.md +14 -14
- package/lib/templates/project/{reactb2x/_p_/_m_/_d_/_s_/_a1_/appreacttemplateb2x1.digitalExperience-meta.xml → reactexternalapp/_p_/_m_/_d_/_s_/_a1_/reactexternalapp1.digitalExperience-meta.xml} +1 -1
- package/lib/templates/project/{reactb2x/_p_/_m_/_d_/_s_/_a1_/sfdc_cms__site/appreacttemplateb2x1 → reactexternalapp/_p_/_m_/_d_/_s_/_a1_/sfdc_cms__site/reactexternalapp1}/_meta.json +1 -1
- package/lib/templates/project/{reactb2x/_p_/_m_/_d_/_s_/_a1_/sfdc_cms__site/appreacttemplateb2x1 → reactexternalapp/_p_/_m_/_d_/_s_/_a1_/sfdc_cms__site/reactexternalapp1}/content.json +3 -3
- package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/README.md +2 -2
- package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/package.json +3 -3
- package/lib/templates/project/{reactb2x/_p_/_m_/_w_/_a_/appreacttemplateb2x.webapplication-meta.xml → reactexternalapp/_p_/_m_/_w_/_a_/reactexternalapp.webapplication-meta.xml} +1 -1
- package/lib/templates/project/{reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/pages/AccountSearch.tsx +82 -54
- package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/FilterContext.tsx +73 -0
- package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/PaginationControls.tsx +109 -0
- package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/BooleanFilter.tsx +16 -36
- package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/DateFilter.tsx +121 -0
- package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/DateRangeFilter.tsx +14 -23
- package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/MultiSelectFilter.tsx +18 -26
- package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/NumericRangeFilter.tsx +22 -39
- package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/SearchFilter.tsx +37 -0
- package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/SelectFilter.tsx +30 -34
- package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/TextFilter.tsx +74 -0
- package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/hooks/useAsyncData.ts +1 -0
- package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/hooks/useCachedAsyncData.ts +1 -0
- package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/hooks/useObjectSearchParams.ts +22 -0
- package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/src/api/graphqlClient.ts +25 -0
- package/lib/templates/project/{reactb2x/_p_/_m_/digitalExperienceConfigs/appreacttemplateb2x1.digitalExperienceConfig → reactexternalapp/_p_/_m_/digitalExperienceConfigs/reactexternalapp1.digitalExperienceConfig} +3 -3
- package/lib/templates/project/{reactb2x/_p_/_m_/networks/appreacttemplateb2x.network → reactexternalapp/_p_/_m_/networks/reactexternalapp.network} +4 -4
- package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/package.xml +4 -4
- package/lib/templates/project/{reactb2x/_p_/_m_/sites/appreacttemplateb2x.site → reactexternalapp/_p_/_m_/sites/reactexternalapp.site} +2 -2
- package/lib/templates/project/{reactb2e → reactexternalapp}/_r_/webapp-data.md +5 -5
- package/lib/templates/project/{reactb2x → reactexternalapp}/_r_/webapp-ui.md +2 -2
- package/lib/templates/project/{reactb2e → reactexternalapp}/package-lock.json +2 -2
- package/lib/templates/project/{reactb2e → reactexternalapp}/package.json +1 -1
- package/lib/templates/project/{reactb2x/_r_/skills/using-salesforce-data → reactexternalapp/scripts}/graphql-search.sh +73 -21
- package/lib/templates/project/{reactb2x → reactinternalapp}/AGENT.md +6 -10
- package/lib/templates/project/{reactb2x → reactinternalapp}/CHANGELOG.md +59 -0
- package/lib/templates/project/{reactb2e → reactinternalapp}/README.md +9 -9
- package/lib/templates/project/{reactb2e → reactinternalapp}/_p_/_m_/_w_/_a_/README.md +2 -2
- package/lib/templates/project/{reactb2e → reactinternalapp}/_p_/_m_/_w_/_a_/package.json +3 -3
- package/lib/templates/project/{reactb2e/_p_/_m_/_w_/_a_/appreacttemplateb2e.webapplication-meta.xml → reactinternalapp/_p_/_m_/_w_/_a_/reactinternalapp.webapplication-meta.xml} +1 -1
- package/lib/templates/project/{reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/pages/AccountSearch.tsx +82 -54
- package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/FilterContext.tsx +73 -0
- package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/PaginationControls.tsx +109 -0
- package/lib/templates/project/{reactb2e → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/BooleanFilter.tsx +16 -36
- package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/DateFilter.tsx +121 -0
- package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/DateRangeFilter.tsx +14 -23
- package/lib/templates/project/{reactb2e → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/MultiSelectFilter.tsx +18 -26
- package/lib/templates/project/{reactb2e → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/NumericRangeFilter.tsx +22 -39
- package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/SearchFilter.tsx +37 -0
- package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/SelectFilter.tsx +30 -34
- package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/TextFilter.tsx +74 -0
- package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/hooks/useAsyncData.ts +1 -0
- package/lib/templates/project/{reactb2e → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/hooks/useCachedAsyncData.ts +1 -0
- package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/hooks/useObjectSearchParams.ts +22 -0
- package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/api/graphqlClient.ts +25 -0
- package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/src/routes.tsx +21 -0
- package/lib/templates/project/{reactb2x → reactinternalapp}/_r_/webapp-data.md +5 -5
- package/lib/templates/project/{reactb2e → reactinternalapp}/_r_/webapp-ui.md +2 -2
- package/lib/templates/project/{reactb2x → reactinternalapp}/package-lock.json +2 -2
- package/lib/templates/project/{reactb2x → reactinternalapp}/package.json +1 -1
- package/lib/templates/project/{reactb2e/_r_/skills/using-salesforce-data → reactinternalapp/scripts}/graphql-search.sh +73 -21
- package/lib/templates/webapplication/reactbasic/package.json +3 -3
- package/lib/templates/webapplication/reactbasic/src/api/graphqlClient.ts +25 -0
- package/lib/utils/template-placeholders.js +8 -1
- package/lib/utils/template-placeholders.js.map +1 -1
- package/lib/utils/types.d.ts +1 -1
- package/lib/utils/webappTemplateUtils.d.ts +6 -4
- package/lib/utils/webappTemplateUtils.js +17 -11
- package/lib/utils/webappTemplateUtils.js.map +1 -1
- package/package.json +5 -5
- package/lib/templates/project/reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/components/FilterPanel.tsx +0 -127
- package/lib/templates/project/reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/components/PaginationControls.tsx +0 -151
- package/lib/templates/project/reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/DateFilter.tsx +0 -165
- package/lib/templates/project/reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/SearchFilter.tsx +0 -40
- package/lib/templates/project/reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/TextFilter.tsx +0 -77
- package/lib/templates/project/reactb2e/_p_/_m_/_w_/_a_/src/pages/TestAccPage.tsx +0 -19
- package/lib/templates/project/reactb2e/_p_/_m_/_w_/_a_/src/routes.tsx +0 -38
- package/lib/templates/project/reactb2e/_r_/skills/building-data-visualization/SKILL.md +0 -72
- package/lib/templates/project/reactb2e/_r_/skills/building-data-visualization/implementation/bar-line-chart.md +0 -316
- package/lib/templates/project/reactb2e/_r_/skills/building-data-visualization/implementation/dashboard-layout.md +0 -189
- package/lib/templates/project/reactb2e/_r_/skills/building-data-visualization/implementation/donut-chart.md +0 -181
- package/lib/templates/project/reactb2e/_r_/skills/building-data-visualization/implementation/stat-card.md +0 -150
- package/lib/templates/project/reactb2e/_r_/skills/building-react-components/SKILL.md +0 -96
- package/lib/templates/project/reactb2e/_r_/skills/building-react-components/implementation/component.md +0 -78
- package/lib/templates/project/reactb2e/_r_/skills/building-react-components/implementation/header-footer.md +0 -132
- package/lib/templates/project/reactb2e/_r_/skills/building-react-components/implementation/page.md +0 -93
- package/lib/templates/project/reactb2e/_r_/skills/configuring-csp-trusted-sites/SKILL.md +0 -90
- package/lib/templates/project/reactb2e/_r_/skills/configuring-csp-trusted-sites/implementation/metadata-format.md +0 -281
- package/lib/templates/project/reactb2e/_r_/skills/configuring-webapp-metadata/SKILL.md +0 -158
- package/lib/templates/project/reactb2e/_r_/skills/creating-webapp/SKILL.md +0 -140
- package/lib/templates/project/reactb2e/_r_/skills/deploying-to-salesforce/SKILL.md +0 -226
- package/lib/templates/project/reactb2e/_r_/skills/implementing-file-upload/SKILL.md +0 -396
- package/lib/templates/project/reactb2e/_r_/skills/installing-webapp-features/SKILL.md +0 -210
- package/lib/templates/project/reactb2e/_r_/skills/managing-agentforce-conversation-client/SKILL.md +0 -186
- package/lib/templates/project/reactb2e/_r_/skills/managing-agentforce-conversation-client/references/constraints.md +0 -134
- package/lib/templates/project/reactb2e/_r_/skills/managing-agentforce-conversation-client/references/examples.md +0 -132
- package/lib/templates/project/reactb2e/_r_/skills/managing-agentforce-conversation-client/references/style-tokens.md +0 -101
- package/lib/templates/project/reactb2e/_r_/skills/managing-agentforce-conversation-client/references/troubleshooting.md +0 -57
- package/lib/templates/project/reactb2e/_r_/skills/using-salesforce-data/SKILL.md +0 -363
- package/lib/templates/project/reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/components/FilterPanel.tsx +0 -127
- package/lib/templates/project/reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/components/PaginationControls.tsx +0 -151
- package/lib/templates/project/reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/DateFilter.tsx +0 -165
- package/lib/templates/project/reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/SearchFilter.tsx +0 -40
- package/lib/templates/project/reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/components/filters/TextFilter.tsx +0 -77
- package/lib/templates/project/reactb2x/_r_/skills/building-data-visualization/SKILL.md +0 -72
- package/lib/templates/project/reactb2x/_r_/skills/building-data-visualization/implementation/bar-line-chart.md +0 -316
- package/lib/templates/project/reactb2x/_r_/skills/building-data-visualization/implementation/dashboard-layout.md +0 -189
- package/lib/templates/project/reactb2x/_r_/skills/building-data-visualization/implementation/donut-chart.md +0 -181
- package/lib/templates/project/reactb2x/_r_/skills/building-data-visualization/implementation/stat-card.md +0 -150
- package/lib/templates/project/reactb2x/_r_/skills/building-react-components/SKILL.md +0 -96
- package/lib/templates/project/reactb2x/_r_/skills/building-react-components/implementation/component.md +0 -78
- package/lib/templates/project/reactb2x/_r_/skills/building-react-components/implementation/header-footer.md +0 -132
- package/lib/templates/project/reactb2x/_r_/skills/building-react-components/implementation/page.md +0 -93
- package/lib/templates/project/reactb2x/_r_/skills/configuring-csp-trusted-sites/SKILL.md +0 -90
- package/lib/templates/project/reactb2x/_r_/skills/configuring-csp-trusted-sites/implementation/metadata-format.md +0 -281
- package/lib/templates/project/reactb2x/_r_/skills/configuring-webapp-metadata/SKILL.md +0 -158
- package/lib/templates/project/reactb2x/_r_/skills/creating-webapp/SKILL.md +0 -140
- package/lib/templates/project/reactb2x/_r_/skills/deploying-to-salesforce/SKILL.md +0 -226
- package/lib/templates/project/reactb2x/_r_/skills/implementing-file-upload/SKILL.md +0 -396
- package/lib/templates/project/reactb2x/_r_/skills/installing-webapp-features/SKILL.md +0 -210
- package/lib/templates/project/reactb2x/_r_/skills/managing-agentforce-conversation-client/SKILL.md +0 -186
- package/lib/templates/project/reactb2x/_r_/skills/managing-agentforce-conversation-client/references/constraints.md +0 -134
- package/lib/templates/project/reactb2x/_r_/skills/managing-agentforce-conversation-client/references/examples.md +0 -132
- package/lib/templates/project/reactb2x/_r_/skills/managing-agentforce-conversation-client/references/style-tokens.md +0 -101
- package/lib/templates/project/reactb2x/_r_/skills/managing-agentforce-conversation-client/references/troubleshooting.md +0 -57
- package/lib/templates/project/reactb2x/_r_/skills/using-salesforce-data/SKILL.md +0 -363
- /package/lib/templates/project/{reactb2e → reactexternalapp}/.forceignore +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/.husky/pre-commit +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/.prettierignore +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/.prettierrc +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/.forceignore +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/.graphqlrc.yml +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/.prettierignore +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/.prettierrc +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/CHANGELOG.md +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/codegen.yml +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/components.json +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/e2e/app.spec.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/eslint.config.js +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/index.html +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/playwright.config.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/scripts/get-graphql-schema.mjs +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/scripts/rewrite-e2e-assets.mjs +0 -0
- /package/lib/templates/project/{reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/api/accountSearchService.ts +0 -0
- /package/lib/templates/project/{reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/api/query/distinctAccountIndustries.graphql +0 -0
- /package/lib/templates/project/{reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/api/query/distinctAccountTypes.graphql +0 -0
- /package/lib/templates/project/{reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/api/query/getAccountDetail.graphql +0 -0
- /package/lib/templates/project/{reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/api/query/searchAccounts.graphql +0 -0
- /package/lib/templates/project/{reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/pages/AccountObjectDetailPage.tsx +0 -0
- /package/lib/templates/project/{reactb2e/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactexternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/pages/Home.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/api/objectSearchService.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/ActiveFilters.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/ObjectBreadcrumb.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/SearchBar.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/SortControl.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/utils/debounce.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/utils/fieldUtils.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/utils/filterUtils.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/utils/sortUtils.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/api/userProfileApi.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/authHelpers.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/authenticationConfig.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/context/AuthContext.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/footers/footer-link.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/forms/auth-form.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/forms/submit-button.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/hooks/form.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/hooks/useCountdownTimer.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/hooks/useRetryWithBackoff.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/layout/card-skeleton.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/layout/centered-page-layout.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/layouts/AuthAppLayout.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/layouts/authenticationRouteLayout.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/layouts/privateRouteLayout.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/pages/ChangePassword.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/pages/ForgotPassword.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/pages/Login.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/pages/Profile.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/pages/Register.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/pages/ResetPassword.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/sessionTimeout/SessionTimeoutValidator.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/sessionTimeout/sessionTimeService.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/sessionTimeout/sessionTimeoutConfig.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/_f_/authentication/utils/helpers.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/api/graphql-operations-types.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/app.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/appLayout.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/assets/icons/book.svg +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/assets/icons/copy.svg +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/assets/icons/rocket.svg +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/assets/icons/star.svg +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/assets/images/codey-1.png +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/assets/images/codey-2.png +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/assets/images/codey-3.png +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/assets/images/vibe-codey.svg +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/alerts/status-alert.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/layouts/card-layout.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/alert.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/badge.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/breadcrumb.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/button.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/calendar.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/card.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/checkbox.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/collapsible.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/datePicker.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/dialog.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/field.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/index.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/input.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/label.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/pagination.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/popover.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/select.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/separator.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/skeleton.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/sonner.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/spinner.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/table.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/components/ui/tabs.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/lib/utils.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/navigationMenu.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/pages/Home.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/pages/NotFound.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/router-utils.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/_w_/_a_/src/routes.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/src/styles/global.css +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/tsconfig.json +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/tsconfig.node.json +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/vite-env.d.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/vite.config.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/vitest-env.d.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/vitest.config.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/vitest.setup.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/_p_/_m_/_w_/_a_/webapplication.json +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/classes/WebAppAuthUtils.cls +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/classes/WebAppAuthUtils.cls-meta.xml +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/classes/WebAppChangePassword.cls +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/classes/WebAppChangePassword.cls-meta.xml +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/classes/WebAppForgotPassword.cls +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/classes/WebAppForgotPassword.cls-meta.xml +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/classes/WebAppLogin.cls +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/classes/WebAppLogin.cls-meta.xml +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/classes/WebAppRegistration.cls +0 -0
- /package/lib/templates/project/{reactb2x → reactexternalapp}/_p_/_m_/classes/WebAppRegistration.cls-meta.xml +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/config/project-scratch-def.json +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/eslint.config.js +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/jest.config.js +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/scripts/apex/hello.apex +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/scripts/prepare-import-unique-fields.js +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/scripts/setup-cli.mjs +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/scripts/sf-project-setup.mjs +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/scripts/soql/account.soql +0 -0
- /package/lib/templates/project/{reactb2e → reactexternalapp}/sfdx-project.json +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/.forceignore +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/.husky/pre-commit +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/.prettierignore +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/.prettierrc +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/.forceignore +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/.graphqlrc.yml +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/.prettierignore +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/.prettierrc +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/CHANGELOG.md +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/codegen.yml +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/components.json +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/e2e/app.spec.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/eslint.config.js +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/index.html +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/playwright.config.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/scripts/get-graphql-schema.mjs +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/scripts/rewrite-e2e-assets.mjs +0 -0
- /package/lib/templates/project/{reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/api/accountSearchService.ts +0 -0
- /package/lib/templates/project/{reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/api/query/distinctAccountIndustries.graphql +0 -0
- /package/lib/templates/project/{reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/api/query/distinctAccountTypes.graphql +0 -0
- /package/lib/templates/project/{reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/api/query/getAccountDetail.graphql +0 -0
- /package/lib/templates/project/{reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/api/query/searchAccounts.graphql +0 -0
- /package/lib/templates/project/{reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/pages/AccountObjectDetailPage.tsx +0 -0
- /package/lib/templates/project/{reactb2x/_p_/_m_/_w_/_a_/src/_f_/_os_/__examples__ → reactinternalapp/_p_/_m_/_w_/_a_/src/_f_/_os_/_ex_}/pages/Home.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/api/objectSearchService.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/ActiveFilters.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/ObjectBreadcrumb.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/SearchBar.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/components/SortControl.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/utils/debounce.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/utils/fieldUtils.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/utils/filterUtils.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/_f_/_os_/utils/sortUtils.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/api/graphql-operations-types.ts +0 -0
- /package/lib/templates/project/{reactb2e → reactinternalapp}/_p_/_m_/_w_/_a_/src/app.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactinternalapp}/_p_/_m_/_w_/_a_/src/appLayout.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/assets/icons/book.svg +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/assets/icons/copy.svg +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/assets/icons/rocket.svg +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/assets/icons/star.svg +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/assets/images/codey-1.png +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/assets/images/codey-2.png +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/assets/images/codey-3.png +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/assets/images/vibe-codey.svg +0 -0
- /package/lib/templates/project/{reactb2e → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/AgentforceConversationClient.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/__inherit_AgentforceConversationClient.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/alerts/status-alert.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/layouts/card-layout.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/alert.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/badge.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/breadcrumb.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/button.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/calendar.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/card.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/checkbox.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/collapsible.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/datePicker.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/dialog.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/field.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/index.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/input.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/label.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/pagination.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/popover.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/select.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/separator.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/skeleton.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/sonner.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/spinner.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/table.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/components/ui/tabs.tsx +0 -0
- /package/lib/templates/project/{reactb2e → reactinternalapp}/_p_/_m_/_w_/_a_/src/index.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/lib/utils.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/navigationMenu.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/pages/Home.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/pages/NotFound.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/router-utils.tsx +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/src/styles/global.css +0 -0
- /package/lib/templates/project/{reactb2e → reactinternalapp}/_p_/_m_/_w_/_a_/src/types/conversation.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/tsconfig.json +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/tsconfig.node.json +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/vite-env.d.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/vite.config.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/vitest-env.d.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/vitest.config.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/vitest.setup.ts +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/_p_/_m_/_w_/_a_/webapplication.json +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/config/project-scratch-def.json +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/eslint.config.js +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/jest.config.js +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/scripts/apex/hello.apex +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/scripts/prepare-import-unique-fields.js +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/scripts/setup-cli.mjs +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/scripts/sf-project-setup.mjs +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/scripts/soql/account.soql +0 -0
- /package/lib/templates/project/{reactb2x → reactinternalapp}/sfdx-project.json +0 -0
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: installing-webapp-features
|
|
3
|
-
description: Search, describe, and install pre-built UI features (authentication, shadcn components, navigation, search, GraphQL, Agentforce AI) into Salesforce webapps. Use this when the user wants to add functionality to a webapp, or when determining what salesforce-provided features are available — whether prompted by the user or on your own initiative. Always check for an existing feature before building from scratch.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# webapps-features-experimental CLI — Agent Reference
|
|
7
|
-
|
|
8
|
-
**Always check for an existing feature before building something yourself.** This CLI installs pre-built, tested feature packages into Salesforce webapps. Features range from foundational UI component libraries (shadcn/ui with Button, Card, Input, Table, etc.) to full-stack application capabilities like authentication (login, registration, password flows, session management, and Apex backend classes), global search, navigation menus, GraphQL integrations, and Agentforce AI conversation UIs. Each feature ships as a complete implementation — including React components, context providers, route guards, and any required Salesforce server-side code — that already handles platform-specific concerns like Salesforce API integration, session management, and SFDX metadata structure. Building these from scratch is error-prone and unnecessary when a feature exists. **If no existing feature is found, ask the user before proceeding with a custom implementation — a relevant feature may exist under a different name or keyword.**
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
npx @salesforce/webapps-features-experimental <command> [options]
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Workflow: Search Project → Search Features → Describe → Install
|
|
15
|
-
|
|
16
|
-
**MANDATORY**: When the user asks to add ANY webapp functionality, follow this entire workflow. Do not skip steps.
|
|
17
|
-
|
|
18
|
-
### 1. Search existing project code
|
|
19
|
-
|
|
20
|
-
Before installing anything, check whether the functionality already exists in the **project source code** (not dependencies).
|
|
21
|
-
|
|
22
|
-
- **Always scope searches to `src/`** to avoid matching files in `node_modules/`, `dist/`, or `build/` output
|
|
23
|
-
- Use Glob with a scoped path: e.g., `src/**/Button.tsx`, `src/**/*auth*.tsx`
|
|
24
|
-
- Use Grep with the `path` parameter set to the `src/` directory, or use `glob: "*.{ts,tsx}"` to restrict file types
|
|
25
|
-
- Check common directories: `src/components/`, `src/lib/`, `src/pages/`, `src/hooks/`
|
|
26
|
-
- **Never** search from the project root without a path or glob filter — this will crawl `node_modules` and produce massive, unhelpful output
|
|
27
|
-
|
|
28
|
-
**If existing code is found** — read the files, present them to the user, and ask if they want to reuse or extend what's there. If yes, use the existing code and stop. If no, proceed to step 2.
|
|
29
|
-
|
|
30
|
-
**If nothing is found** — proceed to step 2.
|
|
31
|
-
|
|
32
|
-
### 2. Search available features
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
npx @salesforce/webapps-features-experimental list [options]
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Options:
|
|
39
|
-
|
|
40
|
-
- `-v, --verbose` — Show full descriptions, packages, and dependencies
|
|
41
|
-
- `--search <query>` — Filter features by keyword (ranked by relevance)
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
npx @salesforce/webapps-features-experimental list
|
|
45
|
-
npx @salesforce/webapps-features-experimental list --search "auth"
|
|
46
|
-
npx @salesforce/webapps-features-experimental list --search "button"
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
**If no matching feature is found** — ask the user before proceeding with a custom implementation. A relevant feature may exist under a different name or keyword.
|
|
50
|
-
|
|
51
|
-
### 3. Describe a feature
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
npx @salesforce/webapps-features-experimental describe <feature>
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
Shows description, package name, dependencies, components, copy operations, and example files.
|
|
58
|
-
|
|
59
|
-
```bash
|
|
60
|
-
npx @salesforce/webapps-features-experimental describe authentication
|
|
61
|
-
npx @salesforce/webapps-features-experimental describe shadcn
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
### 4. Install a feature
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
npx @salesforce/webapps-features-experimental install <feature> --webapp-dir <path> [options]
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
Resolves the feature name to an npm package, installs it and its dependencies (including transitive feature dependencies like `shadcn`), copies source files into your project, and reports any `__example__` files that require manual integration.
|
|
71
|
-
|
|
72
|
-
Options:
|
|
73
|
-
|
|
74
|
-
- `--webapp-dir <name>` (required) — Webapp name, resolves to `<sfdx-source>/webapplications/<name>`
|
|
75
|
-
- `--sfdx-source <path>` (default: `force-app/main/default`) — SFDX source directory
|
|
76
|
-
- `--dry-run` (default: `false`) — Preview changes without writing files
|
|
77
|
-
- `-v, --verbose` (default: `false`) — Enable verbose logging
|
|
78
|
-
- `-y, --yes` (default: `false`) — Skip all prompts (auto-skip conflicts)
|
|
79
|
-
- `--on-conflict <mode>` (default: `prompt`) — `prompt`, `error`, `skip`, or `overwrite`
|
|
80
|
-
- `--conflict-resolution <file>` — Path to JSON file with per-file resolutions
|
|
81
|
-
|
|
82
|
-
```bash
|
|
83
|
-
# Install authentication (also installs shadcn dependency)
|
|
84
|
-
npx @salesforce/webapps-features-experimental install authentication \
|
|
85
|
-
--webapp-dir mywebapp
|
|
86
|
-
|
|
87
|
-
# Dry run to preview changes
|
|
88
|
-
npx @salesforce/webapps-features-experimental install shadcn \
|
|
89
|
-
--webapp-dir mywebapp \
|
|
90
|
-
--dry-run
|
|
91
|
-
|
|
92
|
-
# Non-interactive install (skip all file conflicts)
|
|
93
|
-
npx @salesforce/webapps-features-experimental install authentication \
|
|
94
|
-
--webapp-dir mywebapp \
|
|
95
|
-
--yes
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
## Conflict Handling
|
|
99
|
-
|
|
100
|
-
Since you are running in a non-interactive environment, you cannot use `--on-conflict prompt` directly. When conflicts are likely (e.g. installing into an existing project), you have two options:
|
|
101
|
-
|
|
102
|
-
**Option A — Let the user resolve conflicts interactively.** Suggest the user run the install command themselves with `--on-conflict prompt` so they can decide per-file.
|
|
103
|
-
|
|
104
|
-
**Option B — Two-pass automated resolution:**
|
|
105
|
-
|
|
106
|
-
```bash
|
|
107
|
-
# Pass 1: detect conflicts
|
|
108
|
-
npx @salesforce/webapps-features-experimental install authentication \
|
|
109
|
-
--webapp-dir mywebapp \
|
|
110
|
-
--on-conflict error
|
|
111
|
-
|
|
112
|
-
# The CLI will exit with an error listing every conflicting file path.
|
|
113
|
-
|
|
114
|
-
# Pass 2: create a resolution file and re-run
|
|
115
|
-
echo '{ "src/styles/global.css": "overwrite", "src/lib/utils.ts": "skip" }' > resolutions.json
|
|
116
|
-
|
|
117
|
-
npx @salesforce/webapps-features-experimental install authentication \
|
|
118
|
-
--webapp-dir mywebapp \
|
|
119
|
-
--conflict-resolution resolutions.json
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
Resolution values per file: `"skip"` (keep existing) or `"overwrite"` (replace). When unsure how to resolve a conflict, ask the user rather than guessing.
|
|
123
|
-
|
|
124
|
-
## Hint Placeholders in Copy Paths
|
|
125
|
-
|
|
126
|
-
Some copy operations use **hint placeholders** in the `"to"` path — descriptive segments like `<desired-page-with-search-input>` that are NOT resolved by the CLI. These are guidance for the user or LLM to choose an appropriate destination.
|
|
127
|
-
|
|
128
|
-
**How they work:** The file is copied with the literal placeholder name (e.g., `src/pages/<desired-page-with-search-input>.tsx`). After installation, you should:
|
|
129
|
-
|
|
130
|
-
1. Read the copied file to understand its purpose
|
|
131
|
-
2. Rename or relocate it to the intended target (e.g., `src/pages/Home.tsx`)
|
|
132
|
-
3. Or integrate its patterns into an existing file, then delete it
|
|
133
|
-
|
|
134
|
-
**How to identify them:** Hint placeholders use `<descriptive-name>` syntax but are NOT one of the system placeholders (`<sfdxSource>`, `<webappDir>`, `<webapp>`). They always appear in the middle or end of a path, never as the leading segment.
|
|
135
|
-
|
|
136
|
-
**Example from features.json:**
|
|
137
|
-
|
|
138
|
-
```json
|
|
139
|
-
{
|
|
140
|
-
"to": "<webappDir>/src/pages/<desired-page-with-search-input>.tsx",
|
|
141
|
-
"description": "Example home page showing GlobalSearchInput integration",
|
|
142
|
-
"integrationTarget": "src/pages/Home.tsx"
|
|
143
|
-
}
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
The `integrationTarget` field tells you the suggested destination. Use your judgment — if the user already has a different page where search should go, integrate there instead.
|
|
147
|
-
|
|
148
|
-
**When `integrationTarget` itself is a placeholder:** Some features use a hint placeholder in the `integrationTarget` value (e.g., `"integrationTarget": "src/<path-to-desired-page-with-search-input>.tsx"`). This means there is no single default target — the user must decide which existing file to integrate into. When you encounter this:
|
|
149
|
-
|
|
150
|
-
1. Ask the user which page or file they want to integrate the feature into
|
|
151
|
-
2. Read the `__example__` file to understand the integration pattern
|
|
152
|
-
3. Read the user's chosen target file
|
|
153
|
-
4. Apply the pattern from the example into the target file
|
|
154
|
-
|
|
155
|
-
## Post Installation: Integrating **example** Files
|
|
156
|
-
|
|
157
|
-
Features may include `__example__` files (e.g., `__example__auth-app.tsx`) showing integration patterns.
|
|
158
|
-
|
|
159
|
-
**The describe command shows**:
|
|
160
|
-
|
|
161
|
-
- Which **example** files will be copied
|
|
162
|
-
- Target file to integrate into (e.g., `src/app.tsx`)
|
|
163
|
-
- What the example demonstrates
|
|
164
|
-
|
|
165
|
-
### How to Integrate Example Files (CRITICAL FOR LLMs)
|
|
166
|
-
|
|
167
|
-
⚠️ **ONLY USE Read AND Edit TOOLS - NO BASH COMMANDS** ⚠️
|
|
168
|
-
|
|
169
|
-
**DO NOT DO THIS**:
|
|
170
|
-
|
|
171
|
-
- ❌ `git status` or any git commands
|
|
172
|
-
- ❌ `ls`, `cat`, `sed`, `awk`, or ANY bash file commands
|
|
173
|
-
- ❌ Chaining bash commands to read multiple files
|
|
174
|
-
- ❌ Using bash to check directories or file existence
|
|
175
|
-
|
|
176
|
-
**DO THIS INSTEAD**:
|
|
177
|
-
|
|
178
|
-
- ✅ Use Read tool with `file_path` parameter to read each file
|
|
179
|
-
- ✅ Use Edit tool with `file_path`, `old_string`, `new_string` to modify files
|
|
180
|
-
- ✅ That's it! Just Read and Edit tools.
|
|
181
|
-
|
|
182
|
-
**Integration steps**:
|
|
183
|
-
|
|
184
|
-
1. **Read each example file** (use Read tool)
|
|
185
|
-
- Example: Read tool with `file_path: "force-app/main/default/webapplications/mywebapp/src/__example__auth-app.tsx"`
|
|
186
|
-
- Note the imports and patterns to integrate
|
|
187
|
-
|
|
188
|
-
2. **Read each target file** (use Read tool)
|
|
189
|
-
- Example: Read tool with `file_path: "force-app/main/default/webapplications/mywebapp/src/app.tsx"`
|
|
190
|
-
- Understand where the new code should go
|
|
191
|
-
|
|
192
|
-
3. **Edit each target file** (use Edit tool)
|
|
193
|
-
- Add imports from the example
|
|
194
|
-
- Add or modify code following the example's patterns
|
|
195
|
-
- Preserve existing functionality
|
|
196
|
-
|
|
197
|
-
4. **Delete the example file after successful integration** (use Bash tool)
|
|
198
|
-
- Example: `rm force-app/main/default/webapplications/mywebapp/src/__example__authentication-routes.tsx`
|
|
199
|
-
- Only delete after you have successfully integrated the pattern
|
|
200
|
-
- This keeps the codebase clean and removes temporary example files
|
|
201
|
-
|
|
202
|
-
## Troubleshooting
|
|
203
|
-
|
|
204
|
-
**Directory not found**: Check paths are correct, use absolute or correct relative paths
|
|
205
|
-
|
|
206
|
-
**Feature not found**: Use `npx @salesforce/webapps-features-experimental list` to see available feature names
|
|
207
|
-
|
|
208
|
-
**Conflicts in error mode**: Follow CLI instructions to create resolution file
|
|
209
|
-
|
|
210
|
-
**Need help?**: Run `npx @salesforce/webapps-features-experimental --help` to see all commands and options
|
package/lib/templates/project/reactb2x/_r_/skills/managing-agentforce-conversation-client/SKILL.md
DELETED
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: managing-agentforce-conversation-client
|
|
3
|
-
description: Adds or modifies AgentforceConversationClient in React apps (.tsx or .jsx files). Use when user says "add chat widget", "embed agentforce", "add agent", "add chatbot", "integrate conversational AI", or asks to change colors, dimensions, styling, or configure agentId, width, height, inline mode, or styleTokens for travel agent, HR agent, employee agent, or any Salesforce agent chat.
|
|
4
|
-
metadata:
|
|
5
|
-
author: ACC Components
|
|
6
|
-
version: 1.0.0
|
|
7
|
-
package: "@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental"
|
|
8
|
-
sdk-package: "@salesforce/agentforce-conversation-client"
|
|
9
|
-
last-updated: 2025-03-18
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
# Managing Agentforce Conversation Client
|
|
13
|
-
|
|
14
|
-
## Instructions
|
|
15
|
-
|
|
16
|
-
### Step 1: Check if component already exists
|
|
17
|
-
|
|
18
|
-
Search for existing usage across all app files (not implementation files):
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
grep -r "AgentforceConversationClient" --include="*.tsx" --include="*.jsx" --exclude-dir=node_modules
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
**Important:** Look for React files that import and USE the component (for example, shared shells, route components, or feature pages). Do NOT open files named `AgentforceConversationClient.tsx` or `AgentforceConversationClient.jsx` - those are the component implementation.
|
|
25
|
-
|
|
26
|
-
**If found:** Read the file and check the current `agentId` value.
|
|
27
|
-
|
|
28
|
-
**Agent ID validation rule (deterministic):**
|
|
29
|
-
|
|
30
|
-
- Valid only if it matches: `^0Xx[a-zA-Z0-9]{15}$`
|
|
31
|
-
- Meaning: starts with `0Xx` and total length is 18 characters
|
|
32
|
-
|
|
33
|
-
**Decision:**
|
|
34
|
-
|
|
35
|
-
- If `agentId` matches `^0Xx[a-zA-Z0-9]{15}$` and user wants to update other props → Go to Step 4 (update props)
|
|
36
|
-
- If `agentId` is missing, empty, or does NOT match `^0Xx[a-zA-Z0-9]{15}$` → Continue to Step 2 (need real ID)
|
|
37
|
-
- If not found → Continue to Step 2 (add new)
|
|
38
|
-
|
|
39
|
-
### Step 2: Get agent ID
|
|
40
|
-
|
|
41
|
-
If component doesn't exist or has an invalid placeholder value, ask user for their Salesforce agent ID.
|
|
42
|
-
|
|
43
|
-
Treat these as placeholder/invalid values:
|
|
44
|
-
|
|
45
|
-
- `"0Xx..."`
|
|
46
|
-
- `"Placeholder"`
|
|
47
|
-
- `"YOUR_AGENT_ID"`
|
|
48
|
-
- `"<USER_AGENT_ID_18_CHAR_0Xx...>"`
|
|
49
|
-
- Any value that does not match `^0Xx[a-zA-Z0-9]{15}$`
|
|
50
|
-
|
|
51
|
-
Skip this step if:
|
|
52
|
-
|
|
53
|
-
- Component exists with a real agent ID
|
|
54
|
-
- User only wants to update styling or dimensions
|
|
55
|
-
|
|
56
|
-
### Step 3: Canonical import strategy
|
|
57
|
-
|
|
58
|
-
Use this import path by default in app code:
|
|
59
|
-
|
|
60
|
-
```tsx
|
|
61
|
-
import { AgentforceConversationClient } from "@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental";
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
If the package is not installed, install it:
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
npm install @salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
Only use a local relative import (for example, `./components/AgentforceConversationClient`) when the user explicitly asks to use a patched/local component in that app.
|
|
71
|
-
|
|
72
|
-
Do not infer import path from file discovery alone. Prefer one consistent package import across the codebase.
|
|
73
|
-
|
|
74
|
-
### Step 4: Add or update component
|
|
75
|
-
|
|
76
|
-
**For new installations:**
|
|
77
|
-
|
|
78
|
-
Add to the target React component file using the canonical package import:
|
|
79
|
-
|
|
80
|
-
```tsx
|
|
81
|
-
import { Outlet } from "react-router";
|
|
82
|
-
import { AgentforceConversationClient } from "@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental";
|
|
83
|
-
|
|
84
|
-
export default function AgentChatHost() {
|
|
85
|
-
return (
|
|
86
|
-
<>
|
|
87
|
-
<Outlet />
|
|
88
|
-
<AgentforceConversationClient agentId="0Xx..." />
|
|
89
|
-
</>
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
**Fallback note:** Use a local relative import only when the user explicitly requests patched/local component usage in that app.
|
|
95
|
-
|
|
96
|
-
**For updates:**
|
|
97
|
-
|
|
98
|
-
Read the file where component is used and modify only the props that need to change. Preserve all other props. Never delete and recreate.
|
|
99
|
-
|
|
100
|
-
**Replacing placeholder values:**
|
|
101
|
-
|
|
102
|
-
If the component has a placeholder agentId (e.g., `agentId="Placeholder"` or `agentId="0Xx..."`), replace it with the real agent ID:
|
|
103
|
-
|
|
104
|
-
```tsx
|
|
105
|
-
// Before (template with placeholder)
|
|
106
|
-
<AgentforceConversationClient agentId="Placeholder" />
|
|
107
|
-
|
|
108
|
-
// After (with real agent ID)
|
|
109
|
-
<AgentforceConversationClient agentId="0Xx8X00000001AbCDE" />
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
### Step 5: Configure props
|
|
113
|
-
|
|
114
|
-
**Available props (use directly on component):**
|
|
115
|
-
|
|
116
|
-
- `agentId` (string, required) - Salesforce agent ID
|
|
117
|
-
- `inline` (boolean) - `true` for inline mode, omit for floating
|
|
118
|
-
- `width` (number | string) - e.g., `420` or `"100%"`
|
|
119
|
-
- `height` (number | string) - e.g., `600` or `"80vh"`
|
|
120
|
-
- `headerEnabled` (boolean) - Show/hide header
|
|
121
|
-
- `styleTokens` (object) - For all styling (colors, fonts, spacing)
|
|
122
|
-
- `salesforceOrigin` (string) - Auto-resolved
|
|
123
|
-
- `frontdoorUrl` (string) - Auto-resolved
|
|
124
|
-
|
|
125
|
-
**Examples:**
|
|
126
|
-
|
|
127
|
-
Floating mode (default):
|
|
128
|
-
|
|
129
|
-
```tsx
|
|
130
|
-
<AgentforceConversationClient agentId="0Xx..." />
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
Inline mode with dimensions:
|
|
134
|
-
|
|
135
|
-
```tsx
|
|
136
|
-
<AgentforceConversationClient agentId="0Xx..." inline width="420px" height="600px" />
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
Styling with styleTokens:
|
|
140
|
-
|
|
141
|
-
```tsx
|
|
142
|
-
<AgentforceConversationClient
|
|
143
|
-
agentId="0Xx..."
|
|
144
|
-
styleTokens={{
|
|
145
|
-
headerBlockBackground: "#0176d3",
|
|
146
|
-
headerBlockTextColor: "#ffffff",
|
|
147
|
-
messageBlockInboundBackgroundColor: "#4CAF50",
|
|
148
|
-
}}
|
|
149
|
-
/>
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
**For complex patterns,** consult `references/examples.md` for:
|
|
153
|
-
|
|
154
|
-
- Sidebar containers and responsive sizing
|
|
155
|
-
- Dark theme and advanced theming combinations
|
|
156
|
-
- Inline without header, calculated dimensions
|
|
157
|
-
- Complete host component examples
|
|
158
|
-
|
|
159
|
-
**For styling:** For ANY color, font, or spacing changes, use `styleTokens` prop only. See `references/style-tokens.md` for complete token list and examples.
|
|
160
|
-
|
|
161
|
-
**Common mistakes to avoid:** Consult `references/constraints.md` for:
|
|
162
|
-
|
|
163
|
-
- Invalid props (containerStyle, style, className)
|
|
164
|
-
- Invalid styling approaches (CSS files, style tags)
|
|
165
|
-
- What files NOT to edit (implementation files)
|
|
166
|
-
|
|
167
|
-
## Common Issues
|
|
168
|
-
|
|
169
|
-
If component doesn't appear or authentication fails, see `references/troubleshooting.md` for:
|
|
170
|
-
|
|
171
|
-
- Agent activation and deployment
|
|
172
|
-
- Localhost trusted domains
|
|
173
|
-
- Cookie restriction settings
|
|
174
|
-
|
|
175
|
-
## Prerequisites
|
|
176
|
-
|
|
177
|
-
Before the component will work, the following Salesforce settings must be configured by the user:
|
|
178
|
-
|
|
179
|
-
**Cookie settings:**
|
|
180
|
-
|
|
181
|
-
- Setup → My Domain → Disable "Require first party use of Salesforce cookies"
|
|
182
|
-
|
|
183
|
-
**Trusted domains (required only for local development):**
|
|
184
|
-
|
|
185
|
-
- Setup → Session Settings → Trusted Domains for Inline Frames → Add your domain
|
|
186
|
-
- Local development: `localhost:<PORT>` (e.g., `localhost:3000`)
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
# Constraints and Anti-Patterns
|
|
2
|
-
|
|
3
|
-
This document lists all invalid approaches and patterns to avoid when working with AgentforceConversationClient.
|
|
4
|
-
|
|
5
|
-
## Never Edit Implementation Files
|
|
6
|
-
|
|
7
|
-
**CRITICAL: Only edit files where the component is USED, never the component implementation itself.**
|
|
8
|
-
|
|
9
|
-
- ✅ **DO edit**: Any React files that import and use `<AgentforceConversationClient />` (for example, shared shells, route components, or feature pages)
|
|
10
|
-
- ❌ **DO NOT edit**: AgentforceConversationClient.tsx, AgentforceConversationClient.jsx, index.tsx, index.jsx, or any files inside:
|
|
11
|
-
- `node_modules/@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental/src/`
|
|
12
|
-
- `packages/template/feature/feature-react-agentforce-conversation-client/src/`
|
|
13
|
-
- `src/components/AgentforceConversationClient.tsx` (patched templates)
|
|
14
|
-
- Any path containing `/components/AgentforceConversationClient.`
|
|
15
|
-
|
|
16
|
-
**If you're reading a file named `AgentforceConversationClient.tsx`, you're in the wrong place. Stop and search for the USAGE instead.**
|
|
17
|
-
|
|
18
|
-
## Invalid Props
|
|
19
|
-
|
|
20
|
-
AgentforceConversationClient uses a flat prop API and does NOT accept these props:
|
|
21
|
-
|
|
22
|
-
- ❌ `containerStyle` - Use `width` and `height` props directly instead
|
|
23
|
-
- ❌ `style` - Use `styleTokens` for theming
|
|
24
|
-
- ❌ `className` - Not supported
|
|
25
|
-
- ❌ Any standard React div props - This wraps an embedded iframe, not a div
|
|
26
|
-
|
|
27
|
-
**Why:** The component is a wrapper around an embedded iframe using Lightning Out 2.0. Standard React styling props don't apply.
|
|
28
|
-
|
|
29
|
-
## Invalid Styling Approaches
|
|
30
|
-
|
|
31
|
-
**CRITICAL: For ALL styling, theming, branding, or color changes - ONLY use `styleTokens` prop.**
|
|
32
|
-
|
|
33
|
-
Never use these approaches:
|
|
34
|
-
|
|
35
|
-
- ❌ Creating CSS files (e.g., `agent-styles.css`, `theme.css`)
|
|
36
|
-
- ❌ Creating `<style>` tags or internal stylesheets
|
|
37
|
-
- ❌ Using `style` attribute on the component
|
|
38
|
-
- ❌ Using `className` prop
|
|
39
|
-
- ❌ Inline styles
|
|
40
|
-
- ❌ CSS modules
|
|
41
|
-
- ❌ Styled-components or any CSS-in-JS libraries
|
|
42
|
-
|
|
43
|
-
**Why:** The component controls its own internal styling through the `styleTokens` API. External CSS cannot reach into the embedded iframe.
|
|
44
|
-
|
|
45
|
-
## Invalid Implementation Approaches
|
|
46
|
-
|
|
47
|
-
Never do these:
|
|
48
|
-
|
|
49
|
-
- ❌ Create custom chat UIs from scratch
|
|
50
|
-
- ❌ Use third-party chat libraries (socket.io, WebSocket libraries, etc.)
|
|
51
|
-
- ❌ Call `embedAgentforceClient` directly from `@salesforce/agentforce-conversation-client`
|
|
52
|
-
- ❌ Build custom WebSocket or REST API chat implementations
|
|
53
|
-
|
|
54
|
-
**Why:** The AgentforceConversationClient component is the official wrapper that handles authentication, Lightning Out 2.0 initialization, and all communication with Salesforce agents. Custom implementations will not work.
|
|
55
|
-
|
|
56
|
-
## Invalid Update Patterns
|
|
57
|
-
|
|
58
|
-
When updating an existing component:
|
|
59
|
-
|
|
60
|
-
- ❌ Delete and recreate the component
|
|
61
|
-
- ❌ Remove all props and start over
|
|
62
|
-
- ❌ Copy the entire component to a new file
|
|
63
|
-
|
|
64
|
-
**Why:** This loses configuration, introduces errors, and creates unnecessary diffs. Always update props in place.
|
|
65
|
-
|
|
66
|
-
## Examples
|
|
67
|
-
|
|
68
|
-
### ❌ Wrong - Using containerStyle
|
|
69
|
-
|
|
70
|
-
```tsx
|
|
71
|
-
<AgentforceConversationClient agentId="0Xx..." containerStyle={{ width: 420, height: 600 }} />
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
### ✅ Correct - Using width/height directly
|
|
75
|
-
|
|
76
|
-
```tsx
|
|
77
|
-
<AgentforceConversationClient agentId="0Xx..." width="420px" height="600px" />
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
### ❌ Wrong - Creating CSS file
|
|
81
|
-
|
|
82
|
-
```css
|
|
83
|
-
/* agent-styles.css */
|
|
84
|
-
.agentforce-chat {
|
|
85
|
-
background: red;
|
|
86
|
-
color: white;
|
|
87
|
-
}
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
```tsx
|
|
91
|
-
import "./agent-styles.css";
|
|
92
|
-
|
|
93
|
-
<AgentforceConversationClient className="agentforce-chat" />;
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
### ✅ Correct - Using styleTokens
|
|
97
|
-
|
|
98
|
-
```tsx
|
|
99
|
-
<AgentforceConversationClient
|
|
100
|
-
agentId="0Xx..."
|
|
101
|
-
styleTokens={{
|
|
102
|
-
headerBlockBackground: "red",
|
|
103
|
-
headerBlockTextColor: "white",
|
|
104
|
-
}}
|
|
105
|
-
/>
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
### ❌ Wrong - Creating style tag
|
|
109
|
-
|
|
110
|
-
```tsx
|
|
111
|
-
<>
|
|
112
|
-
<style>{`.agent-chat { background: blue; }`}</style>
|
|
113
|
-
<AgentforceConversationClient agentId="0Xx..." />
|
|
114
|
-
</>
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
### ✅ Correct - Using styleTokens
|
|
118
|
-
|
|
119
|
-
```tsx
|
|
120
|
-
<AgentforceConversationClient
|
|
121
|
-
agentId="0Xx..."
|
|
122
|
-
styleTokens={{
|
|
123
|
-
headerBlockBackground: "blue",
|
|
124
|
-
}}
|
|
125
|
-
/>
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
### ❌ Wrong - Editing implementation file
|
|
129
|
-
|
|
130
|
-
Reading or editing: `node_modules/@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental/src/AgentforceConversationClient.tsx`
|
|
131
|
-
|
|
132
|
-
### ✅ Correct - Editing usage file
|
|
133
|
-
|
|
134
|
-
Reading and editing: usage files where the component is imported and used (for example, `src/app.tsx`, a route component, or a feature page)
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
# Additional Examples
|
|
2
|
-
|
|
3
|
-
Essential examples for common patterns and combinations. All use flat props API.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Layout Patterns
|
|
8
|
-
|
|
9
|
-
### Sidebar Chat
|
|
10
|
-
|
|
11
|
-
```tsx
|
|
12
|
-
export default function DashboardWithChat() {
|
|
13
|
-
return (
|
|
14
|
-
<div style={{ display: "flex", height: "100vh" }}>
|
|
15
|
-
<main style={{ flex: 1 }}>{/* Main content */}</main>
|
|
16
|
-
<aside style={{ width: 400 }}>
|
|
17
|
-
<AgentforceConversationClient agentId="0Xx..." inline width="100%" height="100%" />
|
|
18
|
-
</aside>
|
|
19
|
-
</div>
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
### Full Page Chat
|
|
25
|
-
|
|
26
|
-
```tsx
|
|
27
|
-
export default function SupportPage() {
|
|
28
|
-
return (
|
|
29
|
-
<div>
|
|
30
|
-
<h1>Customer Support</h1>
|
|
31
|
-
<AgentforceConversationClient agentId="0Xx..." inline width="100%" height="600px" />
|
|
32
|
-
</div>
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
## Size Variations
|
|
40
|
-
|
|
41
|
-
### Responsive sizing
|
|
42
|
-
|
|
43
|
-
```tsx
|
|
44
|
-
<AgentforceConversationClient agentId="0Xx..." inline width="100%" height="80vh" />
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Calculated dimensions
|
|
48
|
-
|
|
49
|
-
```tsx
|
|
50
|
-
<AgentforceConversationClient agentId="0Xx..." inline width="500px" height="calc(100vh - 100px)" />
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
---
|
|
54
|
-
|
|
55
|
-
## Theming Combinations
|
|
56
|
-
|
|
57
|
-
### Brand theme with custom sizing
|
|
58
|
-
|
|
59
|
-
```tsx
|
|
60
|
-
<AgentforceConversationClient
|
|
61
|
-
agentId="0Xx..."
|
|
62
|
-
inline
|
|
63
|
-
width="500px"
|
|
64
|
-
height="700px"
|
|
65
|
-
styleTokens={{
|
|
66
|
-
headerBlockBackground: "#0176d3",
|
|
67
|
-
headerBlockTextColor: "#ffffff",
|
|
68
|
-
messageBlockInboundBackgroundColor: "#0176d3",
|
|
69
|
-
messageBlockInboundTextColor: "#ffffff",
|
|
70
|
-
messageInputFooterSendButton: "#0176d3",
|
|
71
|
-
}}
|
|
72
|
-
/>
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
### Dark theme
|
|
76
|
-
|
|
77
|
-
```tsx
|
|
78
|
-
<AgentforceConversationClient
|
|
79
|
-
agentId="0Xx..."
|
|
80
|
-
styleTokens={{
|
|
81
|
-
headerBlockBackground: "#1a1a1a",
|
|
82
|
-
headerBlockTextColor: "#ffffff",
|
|
83
|
-
messageBlockInboundBackgroundColor: "#2d2d2d",
|
|
84
|
-
messageBlockInboundTextColor: "#ffffff",
|
|
85
|
-
messageBlockOutboundBackgroundColor: "#3a3a3a",
|
|
86
|
-
messageBlockOutboundTextColor: "#f0f0f0",
|
|
87
|
-
}}
|
|
88
|
-
/>
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
### Inline without header
|
|
92
|
-
|
|
93
|
-
```tsx
|
|
94
|
-
<AgentforceConversationClient
|
|
95
|
-
agentId="0Xx..."
|
|
96
|
-
inline
|
|
97
|
-
width="100%"
|
|
98
|
-
height="600px"
|
|
99
|
-
headerEnabled={false}
|
|
100
|
-
styleTokens={{
|
|
101
|
-
messageBlockBorderRadius: "12px",
|
|
102
|
-
}}
|
|
103
|
-
/>
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
---
|
|
107
|
-
|
|
108
|
-
## Complete Host Component Example
|
|
109
|
-
|
|
110
|
-
```tsx
|
|
111
|
-
import { Outlet } from "react-router";
|
|
112
|
-
import { AgentforceConversationClient } from "@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental";
|
|
113
|
-
|
|
114
|
-
export default function AgentChatHost() {
|
|
115
|
-
return (
|
|
116
|
-
<>
|
|
117
|
-
<Outlet />
|
|
118
|
-
<AgentforceConversationClient
|
|
119
|
-
agentId="0Xx..."
|
|
120
|
-
styleTokens={{
|
|
121
|
-
headerBlockBackground: "#0176d3",
|
|
122
|
-
headerBlockTextColor: "#ffffff",
|
|
123
|
-
}}
|
|
124
|
-
/>
|
|
125
|
-
</>
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
For complete style token reference, see `references/style-tokens.md` or `node_modules/@salesforce/agentforce-conversation-client/README.md`.
|