Skip to content

Repo sync #38625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
1 change: 1 addition & 0 deletions data/reusables/copilot/policies-for-dotcom.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion src/fixtures/tests/playwright-local-dev.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/frame/components/page-header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,15 @@ export const Header = () => {
>
<AllProductsLink />
{error === '404' || !currentProduct || isSearchResultsPage ? null : (
<div className="mt-3">
<h2 className="mt-3">
<Link
data-testid="sidebar-product-dialog"
href={currentProduct.href}
className="d-block pl-1 mb-2 h3 color-fg-default no-underline"
>
{currentProductName || currentProduct.name}
</Link>
</div>
</h2>
)}
{isRestPage && <ApiVersionPicker />}
</Dialog.Header>
Expand Down
4 changes: 2 additions & 2 deletions src/frame/components/sidebar/SidebarNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const SidebarNav = ({ variant = 'full' }: Props) => {
<div className={cx('d-none px-4 pb-3 border-bottom d-xxl-block')}>
<AllProductsLink />
{showCurrentProductLink && (
<div className="mt-3" id="allproducts-menu">
<h2 className="mt-3" id="allproducts-menu">
<Link
data-testid="sidebar-product-xl"
href={`/${router.locale}${currentProduct.href}`}
Expand All @@ -50,7 +50,7 @@ export const SidebarNav = ({ variant = 'full' }: Props) => {
>
{currentProductName || currentProduct.name}
</Link>
</div>
</h2>
)}
{variant === 'full' && isRestPage && <ApiVersionPicker />}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/release-notes/tests/release-notes-1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

Expand Down
Loading