diff --git a/content/copilot/using-github-copilot/copilot-spaces/about-organizing-and-sharing-context-with-copilot-spaces.md b/content/copilot/using-github-copilot/copilot-spaces/about-organizing-and-sharing-context-with-copilot-spaces.md index 4e1182a9ad33..830db6a8e9f0 100644 --- a/content/copilot/using-github-copilot/copilot-spaces/about-organizing-and-sharing-context-with-copilot-spaces.md +++ b/content/copilot/using-github-copilot/copilot-spaces/about-organizing-and-sharing-context-with-copilot-spaces.md @@ -44,7 +44,7 @@ With {% data variables.product.prodname_copilot_spaces %} you can: Anyone with a {% data variables.product.prodname_copilot_short %} license, including {% data variables.product.prodname_copilot_free_short %}, can create and use {% data variables.product.prodname_copilot_spaces_short %}. -{% data reusables.copilot.editor-preview-settings %} +During the {% data variables.release-phases.public_preview %}, if you're using a {% data variables.product.prodname_copilot_business_short %} or {% data variables.product.prodname_copilot_enterprise_short %} plan, the organization or enterprise that provides your plan must have the **Opt in to preview features** setting enabled. See [AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#enabling-copilot-features-in-your-organization) or [AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise#copilot-in-githubcom). {% data variables.product.prodname_copilot_spaces_short %} can belong to a personal account or to an organization. Spaces owned by an organization can be shared with other organization members (read-only) or kept private to the person who created the space. diff --git a/data/reusables/copilot/policies-for-dotcom.md b/data/reusables/copilot/policies-for-dotcom.md index ef2f378910b8..df9e74a02f72 100644 --- a/data/reusables/copilot/policies-for-dotcom.md +++ b/data/reusables/copilot/policies-for-dotcom.md @@ -2,3 +2,4 @@ * **Opt in to preview features:** If enabled, users can test new {% data variables.product.prodname_copilot_short %} features that are not yet generally available. Be aware that previews of features may have flaws, and the features may be changed or discontinued at any time. Current previews of {% data variables.product.prodname_copilot_short %} features include: * Experimental languages in {% data variables.product.prodname_copilot_short %} code review. See [AUTOTITLE](/copilot/using-github-copilot/code-review/using-copilot-code-review). + * {% data variables.product.prodname_copilot_spaces %}. See [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/about-organizing-and-sharing-context-with-copilot-spaces). diff --git a/src/fixtures/tests/playwright-local-dev.spec.ts b/src/fixtures/tests/playwright-local-dev.spec.ts index 3e6f4635daf0..5a37441fdd59 100644 --- a/src/fixtures/tests/playwright-local-dev.spec.ts +++ b/src/fixtures/tests/playwright-local-dev.spec.ts @@ -45,7 +45,7 @@ test('view the early-access links page', async ({ page }) => { await page.goto('/early-access') await turnOffExperimentsInPage(page) await expect(page).toHaveURL(/\/en\/early-access/) - await page.getByRole('heading', { name: 'Early Access documentation' }).click() + await page.getByRole('heading', { name: 'Early Access documentation', level: 1 }).click() const links = await page.$$eval( '#article-contents ul li a', (elements: HTMLAnchorElement[]) => elements, diff --git a/src/frame/components/page-header/Header.tsx b/src/frame/components/page-header/Header.tsx index b6a84f32301c..73ae0756f47d 100644 --- a/src/frame/components/page-header/Header.tsx +++ b/src/frame/components/page-header/Header.tsx @@ -236,7 +236,7 @@ export const Header = () => { > {error === '404' || !currentProduct || isSearchResultsPage ? null : ( -
+

{ > {currentProductName || currentProduct.name} -

+ )} {isRestPage && } diff --git a/src/frame/components/sidebar/SidebarNav.tsx b/src/frame/components/sidebar/SidebarNav.tsx index 7ac2f196dfed..c2000f093064 100644 --- a/src/frame/components/sidebar/SidebarNav.tsx +++ b/src/frame/components/sidebar/SidebarNav.tsx @@ -40,7 +40,7 @@ export const SidebarNav = ({ variant = 'full' }: Props) => {
{showCurrentProductLink && ( -
+

{ > {currentProductName || currentProduct.name} -

+ )} {variant === 'full' && isRestPage && }
diff --git a/src/release-notes/tests/release-notes-1.ts b/src/release-notes/tests/release-notes-1.ts index 87255b3b456c..768db5dc8709 100644 --- a/src/release-notes/tests/release-notes-1.ts +++ b/src/release-notes/tests/release-notes-1.ts @@ -36,7 +36,7 @@ describe('release notes', () => { const $ = await getDOM(`/en/enterprise-server@${oldestSupportedGhes}/admin/release-notes`) expect($('h1').first().text()).toBe(`Enterprise Server ${oldestSupportedGhes} release notes`) expect( - $('h2').first().text().trim().startsWith(`Enterprise Server ${oldestSupportedGhes}`), + $('main h2').first().text().trim().startsWith(`Enterprise Server ${oldestSupportedGhes}`), ).toBe(true) })