Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
da5f268
Recreate ACCS-develop instead of rebasing to main
dshevtsov Mar 10, 2025
9d71b73
Recreate jh_rest-intro via checkout instead of rebasing
dshevtsov Mar 10, 2025
1e0bdd8
noindex, update header, update rest link, remove artifacts
jhadobe Mar 10, 2025
8b51203
deleting tutorials and rest reference
jhadobe Mar 10, 2025
866e37e
removing placeholder link
jhadobe Mar 10, 2025
dbd507e
remove tutorials from index.js
jhadobe Mar 10, 2025
d555440
Merge pull request #12 from commerce-docs/jh_rest-intro
jhadobe Mar 11, 2025
dba81ca
CCSAAS-1222: Simply cloud URLs
jeff-matthews Mar 11, 2025
5fbf932
CCSAAS-1222: Normalize rest and graphql ref
jeff-matthews Mar 11, 2025
441ae02
CCSAAS-1222: Nested auth files and moved webhooks
jeff-matthews Mar 11, 2025
5f62467
updating graphql reference
jhadobe Mar 11, 2025
3473af3
CCSAAS-1438: Add Server-to-Server (S2S) Integration Guide for Adobe C…
andimov Mar 12, 2025
0feb9c9
CCSAAS-1438: Update server authentication guide with next steps
andimov Mar 12, 2025
4789b1e
CCSAAS-1438: Add link to Server-to-Server Integration Guide in REST a…
andimov Mar 12, 2025
cd1d077
CCSAAS-796: Simplified auth toc entries
jeff-matthews Mar 12, 2025
17761e2
Update static/graphql/source/config-saas.yml
jhadobe Mar 12, 2025
5a1304f
schema name change and update index
jhadobe Mar 12, 2025
c0160a0
CCSAAS-796: Rewrite home page
jeff-matthews Mar 12, 2025
1512c86
webhooks and rest updates
jhadobe Mar 12, 2025
6b3dfbd
Merge pull request #16 from commerce-docs/jh_webhooks-update
jhadobe Mar 12, 2025
d556dd6
CCSAAS-1438: Server-to-Server Integration Guide reference in REST aut…
andimov Mar 12, 2025
e90c4c6
CCSAAS-1438: Update example API call in S2S Integration Guide to use …
andimov Mar 12, 2025
5d22dc5
Merge branch 'ACCS-develop' into CCSAAS-796-fine-tuning
jeff-matthews Mar 12, 2025
ae374cb
fix: links
jeff-matthews Mar 12, 2025
4732ede
fix: links
jeff-matthews Mar 12, 2025
643e372
Merge pull request #17 from commerce-docs/CCSAAS-796-fine-tuning
jeff-matthews Mar 12, 2025
23f1da2
Merge branch 'ACCS-develop' into CCSAAS-1438
jeff-matthews Mar 12, 2025
e8df7f5
CCSAAS-1438: Added new file to nav
jeff-matthews Mar 12, 2025
ba9924b
CCSAAS-1438: Minor editorial revisions
jeff-matthews Mar 12, 2025
d0b98dc
Merge pull request #14 from commerce-docs/jh_graphql
jhadobe Mar 12, 2025
cdeb013
CCSAAS-1438: Apply suggestions from code review
jeff-matthews Mar 12, 2025
6c2c76f
CCSAAS-1438: Fix linting error
jeff-matthews Mar 12, 2025
aeea1d7
Merge pull request #15 from commerce-docs/CCSAAS-1438
jeff-matthews Mar 12, 2025
272a2c2
fix: graphql endpoint
jeff-matthews Mar 12, 2025
bead50b
docs: removed request form
jeff-matthews Mar 12, 2025
8824e44
docs: added endpoints for events, webhooks, oope
jeff-matthews Mar 12, 2025
f2422c2
docs: apply suggestions from code review
jeff-matthews Mar 12, 2025
17f4b42
Merge pull request #18 from commerce-docs/minor-edits
jeff-matthews Mar 12, 2025
b4e40e2
fix: remove request form note
jeff-matthews Mar 12, 2025
608e5ed
Update server-to-server.md
andimov Mar 14, 2025
bd4a68d
Merge pull request #19 from commerce-docs/andimov-patch-1
jeff-matthews Mar 14, 2025
f212cde
Bump prismjs from 1.29.0 to 1.30.0 in the npm_and_yarn group
dependabot[bot] Mar 10, 2025
b0fddc3
Bump the npm_and_yarn group with 3 updates
dependabot[bot] Mar 17, 2025
95b32d4
Merge branch 'main' into ACCS-develop
jhadobe Mar 18, 2025
81b3106
Apply suggestions from code review
jhadobe Mar 18, 2025
358c4f8
Merge pull request #210 from AdobeDocs/ACCS-develop
jhadobe Mar 18, 2025
c30564b
fix: home page
jeff-matthews Mar 18, 2025
f530972
replace generic link with service-specific links
jeff-matthews Mar 18, 2025
3e3753c
apply suggestions from code review
jeff-matthews Mar 18, 2025
29fc63e
apply suggestions from code review
jeff-matthews Mar 18, 2025
62fa329
Merge pull request #211 from AdobeDocs/nav-fixes
jeff-matthews Mar 18, 2025
37047ed
removing webhooks and events list
jhadobe Mar 21, 2025
56ea2a6
Apply suggestions from code review
jhadobe Mar 21, 2025
b78eb5c
code review
jhadobe Mar 21, 2025
0179a87
Apply suggestions from code review
jhadobe Mar 21, 2025
5e37e55
format update
jhadobe Mar 21, 2025
38ae340
Merge pull request #216 from AdobeDocs/jh_update-events
jhadobe Mar 21, 2025
a8c86c3
Bump the npm_and_yarn group with 2 updates
dependabot[bot] Mar 28, 2025
642a410
Bump @adobe/gatsby-theme-aio from 4.14.19 to 4.15.0
dependabot[bot] Mar 31, 2025
e8fd5ea
removing dependencies
Apr 2, 2025
958de3f
adding early access message
jhadobe Apr 2, 2025
ee593d5
linting
jhadobe Apr 2, 2025
2e18a4c
Exclude failing link and enable remark reporting
dshevtsov Apr 2, 2025
6d68210
Merge pull request #219 from AdobeDocs/em_rmv-dependencies
erikmarr Apr 2, 2025
834705b
Merge branch 'main' into jh_accs-access-message
jhadobe Apr 2, 2025
e76614a
Merge pull request #220 from AdobeDocs/jh_accs-access-message
jhadobe Apr 2, 2025
ff0569d
Adding sentence about price ranges.
Apr 16, 2025
c017c38
Update src/pages/graphql/live-search/product-search.md
erikmarr Apr 17, 2025
0433ecd
fixing linting error
Apr 17, 2025
647dc8c
Merge pull request #224 from AdobeDocs/em_ACSD-65393
meker12 Apr 18, 2025
34dcbff
fix typo
jhadobe Apr 23, 2025
fa06bc5
Merge pull request #228 from AdobeDocs/jh_fix-typo
jhadobe Apr 23, 2025
97804a9
CCSAAS-861: shadow editions component
jeff-matthews Apr 24, 2025
fd13650
Merge branch 'main' into CCSAAS-861-badge-string-again
jeff-matthews Apr 24, 2025
ddbf052
Merge pull request #229 from AdobeDocs/CCSAAS-861-badge-string-again
jeff-matthews Apr 24, 2025
a4871e3
fix: typo
jeff-matthews Apr 24, 2025
4e1427d
Update custom-attributes.md
jeff-matthews Apr 24, 2025
945cc81
Merge pull request #230 from AdobeDocs/force-deploy
jeff-matthews Apr 24, 2025
cb57150
fix: edition text
jeff-matthews Apr 24, 2025
71121e7
fix: align paas tooltip with ExL
jeff-matthews Apr 24, 2025
a572fc4
Revert "fix: edition text"
jeff-matthews Apr 24, 2025
d3e88d9
remove paas label from suspect content
jeff-matthews Apr 24, 2025
2f18bae
Merge pull request #232 from AdobeDocs/modify-edition-label
jeff-matthews Apr 24, 2025
2777724
docs: add info about edition component
jeff-matthews Apr 30, 2025
5a1c32a
fix: link validation error
jeff-matthews May 1, 2025
7a475c1
Merge pull request #236 from AdobeDocs/readme-updates-components
jeff-matthews May 1, 2025
0139957
Update remark config
dshevtsov May 1, 2025
d33449f
Merge pull request #239 from commerce-docs/ds_rm-link-check
dshevtsov May 1, 2025
40e3d59
Bump base-x from 3.0.9 to 3.0.11 in the npm_and_yarn group
dependabot[bot] May 1, 2025
5ea53a0
Merge pull request #235 from AdobeDocs/dependabot/npm_and_yarn/npm_an…
dshevtsov May 2, 2025
814ddd9
Fix: analytics tracking
dshevtsov May 14, 2025
15404ff
Fix yarn dev
dshevtsov May 15, 2025
3cf905f
Merge pull request #241 from commerce-docs/ds_analytics
dshevtsov May 15, 2025
998a1d2
Bump multer from 1.4.5-lts.1 to 1.4.5-lts.2 in the npm_and_yarn group
dependabot[bot] May 20, 2025
1a9ba07
Merge pull request #243 from AdobeDocs/dependabot/npm_and_yarn/npm_an…
dshevtsov May 20, 2025
560a4dd
- In Catalog, LS, and PREX API references replace
meker12 May 28, 2025
fa10482
Updates based on review feedback.
meker12 May 29, 2025
b6fbd0a
Merge pull request #247 from AdobeDocs/CCSAAS-2104-storefront-api-bad…
meker12 Jun 2, 2025
9d21c19
- Fix links in OpenAPI specification
meker12 May 29, 2025
83470ac
Refactor top navigation and editorial updates
meker12 Jun 10, 2025
a7b062e
Merge branch 'ccdm-early-access' into DCAT-2416-refactor-navigation
meker12 Jun 10, 2025
16d97da
Provide clearer screen capture
meker12 Jun 10, 2025
5571422
Update src/pages/composable-catalog/ccdm-use-case.md
meker12 Jun 10, 2025
5f7f3a4
Update src/openapi/data-ingestion-schema-v1.yaml
meker12 Jun 10, 2025
e391d96
Update metadata.schema.yml
meker12 Jun 10, 2025
92ababa
Update metadata.schema.yml
meker12 Jun 10, 2025
4cb12c2
Syntax and editorial updates
meker12 Jun 10, 2025
b53b23c
Merge pull request #254 from AdobeDocs/commerce-services-metadata-update
meker12 Jun 10, 2025
7d8d64c
Update metadata.schema.yml
meker12 Jun 10, 2025
335f50a
Fix metadata
meker12 Jun 10, 2025
db2c82c
Fix link
meker12 Jun 10, 2025
a49d98c
Bump @adobe/gatsby-theme-aio from 4.15.0 to 4.15.1
dependabot[bot] May 23, 2025
4cfe39e
Merge pull request #246 from AdobeDocs/dependabot/npm_and_yarn/adobe/…
dshevtsov Jun 12, 2025
2b79326
- Fix links in OpenAPI specification
meker12 May 29, 2025
4b52e0e
Remove ACCS and graphql content
keharper Jun 19, 2025
1b649e6
Update front page
keharper Jun 19, 2025
228f40d
fix link
keharper Jun 19, 2025
f85cef3
Revert index page, replace links only
keharper Jun 19, 2025
01a64a3
Merge pull request #256 from AdobeDocs/remove-accs-and-queries
keharper Jun 19, 2025
658cefe
Refactor Merch Svcs Dev Guide
meker12 Jun 19, 2025
4f54453
Merge branch 'ccdm-early-access' into DCAT-2416-refactor-navigation
meker12 Jun 19, 2025
c622400
Merge branch 'refactor-ccdm-guide' into DCAT-2416-refactor-navigation
meker12 Jun 20, 2025
96e0427
Move schemas to webapi repo
jhadobe Jun 20, 2025
6258e94
headers
jhadobe Jun 20, 2025
aba5750
Fix create metadata request example
meker12 Jun 22, 2025
56a0966
- Add reference folder for the rest and graphql API reference pages
meker12 Jun 22, 2025
d40a639
Merge pull request #259 from AdobeDocs/jh_move-schemas
jhadobe Jun 23, 2025
264eeb4
- Update infrastructure to use the new theme
meker12 Jun 23, 2025
8347509
Fix infrastructure files
meker12 Jun 23, 2025
0d2ecee
Merge branch 'main' into DCAT-2416-refactor-navigation
meker12 Jun 23, 2025
464efb4
Fix build errors
meker12 Jun 23, 2025
a36f704
Fix build errors
meker12 Jun 23, 2025
0efff85
Update index.md
meker12 Jun 23, 2025
10f400a
Editorial fixes
meker12 Jun 23, 2025
edaea66
Updates to nav
meker12 Jun 24, 2025
cf1bde8
Fix syntax
meker12 Jun 24, 2025
86fdd3c
Remove ACCS file. Fix link.
meker12 Jun 24, 2025
f08c943
Add authentication source file
meker12 Jun 24, 2025
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
7 changes: 6 additions & 1 deletion .github/linters/metadata.schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,19 @@ properties:
- Cloud
- Configuration
- Cron
- Data Import
- Data Export
- Events
- Extensibility
- Extensions
- GraphQL
- Integration
- Inventory
- Merchandising
- Payments
- Performance
- Personalization
- Product discovery
- Recommendations
- Reporting
- REST
Expand All @@ -37,7 +41,8 @@ properties:
- Storefront
- Tools
- Upgrade
- Troubleshooting

required:
- title
- description
- description
1 change: 1 addition & 0 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- ccdm-early-access
jobs:
set-state:
if: ${{ github.ref == 'refs/heads/ccdm-early-access' }}
runs-on: ubuntu-latest
outputs:
clean_cache: ${{ contains(github.event.inputs.clean, 'yes') }}
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ tmp/
yalc.lock

# other
tmp/*
tmp/*
34 changes: 0 additions & 34 deletions .remarkrc.mjs

This file was deleted.

8 changes: 8 additions & 0 deletions .remarkrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
plugins:
- remark-heading-id
- remark-validate-links
- remark-frontmatter
- - remark-lint-frontmatter-schema
- schemas:
'./.github/linters/metadata.schema.yml':
- './src/pages/**/*.md'
8 changes: 8 additions & 0 deletions .remarkrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
plugins:
- remark-heading-id
- remark-validate-links
- remark-frontmatter
- - remark-lint-frontmatter-schema
- schemas:
'./.github/linters/metadata.schema.yml':
- './src/pages/**/*.md'
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,27 @@ To build the site locally:
yarn dev
```

**Tip:** If you encounter unexpected failures or delays, try to clean up the gatsby and yarn caches with the command: `yarn clean && yarn cache clean` for troubleshooting.
## Components

To achieve specific user experience goals for Commerce documentation, this repo overrides the original [`Edition`](https://github.com/adobe/aio-theme/blob/main/packages/gatsby-theme-aio/src/components/Edition/index.js) component from the upstream [`aio-theme`](https://github.com/adobe/aio-theme/) repo that we use as a dependency.

### Edition

The custom `Edition` component in this repo displays a badge indicating whether a feature or functionality is available in specific Adobe Commerce environments. It has been customized to align with the badges that we use in Experience League docs.

#### Usage

```yaml
# Page-level (metadata)
edition: saas # For SaaS-only features
edition: paas # For PaaS-only features
```

```md
<!-- Section-level (inline) -->
<Edition name="paas" /> <!-- For PaaS-only features -->
<Edition name="saas" /> <!-- For SaaS-only features -->
```

## Resources

Expand Down
70 changes: 70 additions & 0 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

import React from 'react';
import { MDXProvider } from '@mdx-js/react';
import { Edition } from './src/@adobe/gatsby-theme-aio/components/Edition';

// Define the components that will be available in MDX files
const components = {
// Register the Edition component for inline use
Edition
};

// Wrap the root element with the MDXProvider
export const wrapRootElement = ({ element }) => {
return <MDXProvider components={components}>{element}</MDXProvider>;
};

const isBrowser = typeof window !== "undefined";

export const onClientEntry = () => {
// set adobe analytics window object
if (isBrowser) {
window._satellite = window._satellite || {};
window.alloy_all = window.alloy_all || {};
window.alloy_all.data = window.alloy_all.data || {};
window.alloy_all.data._adobe_corpnew = window.alloy_all.data._adobe_corpnew || {};
window.alloy_all.data._adobe_corpnew.web = window.alloy_all.data._adobe_corpnew.web || {};
window.alloy_all.data._adobe_corpnew.web.webPageDetails = window.alloy_all.data._adobe_corpnew.web.webPageDetails || {};
}
};

export const onRouteUpdate = ({ location, prevLocation }) => {
if (isBrowser) {
function watchAndFireAnalytics() {
// eslint-disable-next-line no-undef
if (typeof window._satellite !== 'undefined' && typeof window._satellite.track === 'function') {
// eslint-disable-next-line no-undef
_satellite.track('state',
{
xdm: {},
data: {
_adobe_corpnew: {
web: {
webPageDetails: {
customPageName: location.href
}
}
}
}
}
);

clearInterval(intervalId);
}
}

// watch if analytics is online then track page
const intervalId = setInterval(watchAndFireAnalytics, 1000);
}
}
20 changes: 13 additions & 7 deletions gatsby-ssr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Adobe. All rights reserved.
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
Expand All @@ -11,10 +11,16 @@
*/

import React from 'react';
import {withPrefix} from 'gatsby';
import { MDXProvider } from '@mdx-js/react';
import { Edition } from './src/@adobe/gatsby-theme-aio/components/Edition';

export const onRenderBody = ({setHeadComponents}) => {
setHeadComponents([
<script src={withPrefix('/redirections.js')}></script>
]);
};
// Define the components that will be available in MDX files
const components = {
// Register the Edition component for inline use
Edition
};

// Wrap the root element with the MDXProvider
export const wrapRootElement = ({ element }) => {
return <MDXProvider components={components}>{element}</MDXProvider>;
};
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@
"url": "https://github.com/AdobeDocs/commerce-services"
},
"dependencies": {
"@adobe/gatsby-theme-aio": "4.14.19",
"@adobe/gatsby-theme-aio": "4.15.1",
"gatsby": "4.22.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"spectaql": "^3.0.2"
"react-dom": "^17.0.0"
},
"devDependencies": {
"browserslist": "latest",
"remark-cli": "^12.0.1",
"remark-frontmatter": "^5.0.0",
"remark-heading-id": "^1.0.1",
"remark-lint-frontmatter-schema": "^3.15.4",
"remark-lint-no-dead-urls": "^1.1.0",
"remark-validate-links": "^13.0.1"
},
"scripts": {
Expand All @@ -29,12 +28,13 @@
"build": "NODE_OPTIONS='--max-old-space-size=8192' gatsby build",
"serve": "NODE_OPTIONS='--max-old-space-size=8192' gatsby serve",
"clean": "gatsby clean",
"test": "remark src/pages --quiet --frail",
"test": "remark src/pages --frail",
"build:admin-api": "spectaql --target-file index.html --config spectaql/config-admin.yml",
"dev:admin-api": "spectaql --development-mode-live --config spectaql/config-admin.yml",
"dev:admin-api": "spectaql --target-file index.html --config spectaql/config-admin.yml --development-mode",
"build:storefront-api": "spectaql --target-file index.html --config spectaql/config-storefront.yml",
"dev:storefront-api": "spectaql --development-mode-live --config spectaql/config-storefront.yml",
"build:graphql": "yarn run build:admin-api && yarn run build:storefront-api"
"dev:storefront-api": "spectaql --target-file index.html --config spectaql/config-storefront.yml --development-mode",
"build:graphql": "yarn build:admin-api && yarn build:storefront-api",
"lint": "docker run --rm -e RUN_LOCAL=true --env-file .github/super-linter.env -v \"$PWD\":/tmp/lint github/super-linter:slim-v5"
},
"packageManager": "yarn@3.2.4"
}
8 changes: 4 additions & 4 deletions spectaql/config-storefront.yml
Original file line number Diff line number Diff line change
Expand Up @@ -422,12 +422,12 @@ info:
##############################################

description: |
Use the storefront GraphQL API to access rich view-model (read-only) catalog data to build product-related storefront experiences.
For more information about the API, see the <a href="https://developer-stage.adobe.com/commerce/services/composable-catalog/storefront-services/" target="_blank">developer documentation</a>.
title: Storefront API
Use the Merchandising GraphQL API to access rich view-model (read-only) catalog data to build product-related storefront experiences.
For more information about the API, see the <a href="https://developer-stage.adobe.com/commerce/services/composable-catalog/storefront-services/api-reference/" target="_blank">developer documentation</a>.
title: Merchandising GraphQL API
# This is non-standard and optional. If omitted, will use "title". Also, only relevant
# when building non-embedded.
x-htmlTitle: Storefront API
x-htmlTitle: Merchandising GraphQL API
# termsOfService: 'https://yoursite.com/terms'
# contact:
# name: YourSite Support
Expand Down
8 changes: 8 additions & 0 deletions spectaql/metadata-storefront.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{
"INTERFACE": {
"CategoryViewInterface": {
"documentation": { "undocumented": true }
}
},
"OBJECT": {
"CategoryView": {
"documentation": { "undocumented": true }
},
"Query": {
"fields": {
"categories": {
Expand Down
71 changes: 71 additions & 0 deletions src/@adobe/gatsby-theme-aio/components/Edition/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/*
* Copyright 2021 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

import React from 'react';
import PropTypes from 'prop-types';
import '@spectrum-css/badge';
import '@spectrum-css/link';
import '@spectrum-css/tooltip';

let editionText = '';
let editionColor = '';
let editionTooltip = '';
const EDITIONS_LINK = 'https://experienceleague.adobe.com/en/docs/commerce/user-guides/product-solutions';

const Edition = ({ ...props }) => {
switch (props.name) {
case 'paas':
editionText = 'PaaS only';
editionColor = 'spectrum-Badge--informative';
editionTooltip = 'Applies to Adobe Commerce on Cloud (Adobe-managed PaaS infrastructure) and on-premises projects only.';
break;
case 'saas':
editionText = 'SaaS only';
editionColor = 'spectrum-Badge--positive';
editionTooltip = 'Applies to Adobe Commerce as a Cloud Service and Adobe Commerce Optimizer projects (Adobe-managed SaaS infrastructure).';
break;
default:
editionText = 'Create an Edition tag';
editionColor = 'spectrum-Badge--yellow';
editionTooltip = '';
}

return (
<a
href={EDITIONS_LINK}
className="spectrum-Link"
target="_blank"
rel="noreferrer"
style={{
textDecoration: 'none',
display: 'inline-block',
marginTop: '1rem',
marginRight: '0.5rem',
position: 'relative'
}}
title={editionTooltip}
>
<span
className={`spectrum-Badge spectrum-Badge--sizeS ${editionColor}`}
style={{ paddingBottom: '4px', cursor: 'pointer' }}
>
{editionText}
</span>
</a>
);
};

Edition.propTypes = {
name: PropTypes.string
};

export { Edition };
6 changes: 5 additions & 1 deletion src/_includes/authentication/get-new-bearer-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ Replace the following placeholders with your credentials:
- `<client_id>`: The client ID generated for your Adobe developer project
- `<client_secret>`: The client secret generated for your Adobe developer project

You can get these credentials from the Adobe Developer Console project details page. If you don't have access to the developer console, contact your system administrator to get the credentials.
You can get these credentials from the Adobe Developer Console project details page. If you don't have access to the developer console, contact your system administrator for assistance.

<InlineAlert variant="info" slots="text" />

For information on managing, refreshing, and revoking bearer tokens, see the [User Authentication Implementation Guide](https://developer.adobe.com/developer-console/docs/guides/authentication/UserAuthentication/) in the *Adobe Developer Console documentation*.
Loading
Loading