Skip to content

Commit b4afd04

Browse files
authored
Merge branch 'main' into iss4992
2 parents ecd2a35 + 28f321f commit b4afd04

29 files changed

Lines changed: 872 additions & 800 deletions

.github/workflows-src/pr-preview.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
name: pr-preview
2-
on: pull_request_target
2+
on:
3+
pull_request_target:
4+
issue_comment:
5+
types: [created]
36
jobs:
7+
check-permissions:
8+
uses: patternfly/.github/.github/workflows/check-team-membership.yml@main
9+
secrets: inherit
10+
411
build-upload:
512
runs-on: ubuntu-latest
13+
needs: check-permissions
14+
if: needs.check-permissions.outputs.allowed == 'true'
615
env:
716
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
817
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
918
GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }}
10-
GH_PR_NUM: ${{ github.event.number }}
19+
GH_PR_NUM: ${{ needs.check-permissions.outputs.pr-number }}
1120
steps:
1221
- uses: actions/checkout@v4
1322
# Yes, we really want to checkout the PR
@@ -20,11 +29,13 @@ jobs:
2029
name: Upload docs
2130
build-upload-astro:
2231
runs-on: ubuntu-latest
32+
needs: check-permissions
33+
if: needs.check-permissions.outputs.allowed == 'true'
2334
env:
2435
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
2536
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
2637
GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }}
27-
GH_PR_NUM: ${{ github.event.number }}
38+
GH_PR_NUM: ${{ needs.check-permissions.outputs.pr-number }}
2839
steps:
2940
- uses: actions/checkout@v4
3041
- run: |

.github/workflows/add-new-issues-to-project.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Label PF Team issues
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
jobs:
7+
label:
8+
uses: patternfly/.github/.github/workflows/add-pf-team-label-workflow.yml@main
9+
secrets: inherit

.github/workflows/pr-preview.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
### WARNING -- this file was generated by generate-workflows.js
22
name: pr-preview
3-
on: pull_request_target
3+
on:
4+
pull_request_target:
5+
issue_comment:
6+
types: [created]
47
jobs:
8+
check-permissions:
9+
uses: patternfly/.github/.github/workflows/check-team-membership.yml@main
10+
secrets: inherit
11+
512
build-upload:
613
runs-on: ubuntu-latest
14+
needs: check-permissions
15+
if: needs.check-permissions.outputs.allowed == 'true'
716
env:
817
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
918
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
1019
GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }}
11-
GH_PR_NUM: ${{ github.event.number }}
20+
GH_PR_NUM: ${{ needs.check-permissions.outputs.pr-number }}
1221
steps:
1322
- uses: actions/checkout@v4
1423
# Yes, we really want to checkout the PR
@@ -33,11 +42,13 @@ jobs:
3342
name: Upload docs
3443
build-upload-astro:
3544
runs-on: ubuntu-latest
45+
needs: check-permissions
46+
if: needs.check-permissions.outputs.allowed == 'true'
3647
env:
3748
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
3849
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
3950
GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }}
40-
GH_PR_NUM: ${{ github.event.number }}
51+
GH_PR_NUM: ${{ needs.check-permissions.outputs.pr-number }}
4152
steps:
4253
- uses: actions/checkout@v4
4354
- run: |
@@ -55,5 +66,5 @@ jobs:
5566
with:
5667
path: "packages/documentation-site/.cache"
5768
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
58-
- run: yarn build:doc-core
69+
- run: yarn ci:build:doc-core
5970
name: Build astro docs

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
},
4040
"devDependencies": {
4141
"@octokit/rest": "^19.0.13",
42-
"@patternfly/patternfly": "^6.5.0-prerelease.64",
43-
"@patternfly/react-code-editor": "^6.5.0-prerelease.52",
44-
"@patternfly/react-core": "^6.5.0-prerelease.49",
45-
"@patternfly/react-table": "^6.5.0-prerelease.50",
42+
"@patternfly/patternfly": "^6.5.0-prerelease.81",
43+
"@patternfly/react-code-editor": "^6.5.0-prerelease.68",
44+
"@patternfly/react-core": "^6.5.0-prerelease.65",
45+
"@patternfly/react-table": "^6.5.0-prerelease.68",
4646
"glob": "^8.1.0",
4747
"lerna": "^9.0.5",
4848
"monaco-editor": "0.54.0",
@@ -74,9 +74,9 @@
7474
"ajv": ">=6.14.0",
7575
"qs": ">=6.15.0",
7676
"@isaacs/brace-expansion": ">=5.0.1",
77-
"@patternfly/react-code-editor": "^6.5.0-prerelease.52",
78-
"@patternfly/react-core": "^6.5.0-prerelease.49",
79-
"@patternfly/react-table": "^6.5.0-prerelease.50",
77+
"@patternfly/react-code-editor": "^6.5.0-prerelease.68",
78+
"@patternfly/react-core": "^6.5.0-prerelease.65",
79+
"@patternfly/react-table": "^6.5.0-prerelease.68",
8080
"monaco-editor": "0.54.0"
8181
}
8282
}

packages/ast-helpers/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# 1.4.0-alpha.362 (2026-05-11)
7+
8+
9+
### Bug Fixes
10+
11+
* **Compass:** replaced CompassPanel and background images ([#5001](https://github.com/patternfly/patternfly-org/issues/5001)) ([b6b9dd6](https://github.com/patternfly/patternfly-org/commit/b6b9dd6f3bb294dd53714a257a0c6a541d665f0e))
12+
13+
14+
15+
16+
17+
# 1.4.0-alpha.361 (2026-05-08)
18+
19+
**Note:** Version bump only for package @patternfly/ast-helpers
20+
21+
22+
23+
24+
625
# 1.4.0-alpha.360 (2026-05-06)
726

827

packages/ast-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@patternfly/ast-helpers",
33
"description": "Acorn AST helpers for working with live code",
4-
"version": "1.4.0-alpha.360",
4+
"version": "1.4.0-alpha.362",
55
"author": "Red Hat",
66
"license": "MIT",
77
"publishConfig": {

packages/documentation-framework/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## 6.39.2 (2026-05-11)
7+
8+
9+
### Bug Fixes
10+
11+
* **Compass:** replaced CompassPanel and background images ([#5001](https://github.com/patternfly/patternfly-org/issues/5001)) ([b6b9dd6](https://github.com/patternfly/patternfly-org/commit/b6b9dd6f3bb294dd53714a257a0c6a541d665f0e))
12+
13+
14+
15+
16+
17+
## 6.39.1 (2026-05-08)
18+
19+
**Note:** Version bump only for package @patternfly/documentation-framework
20+
21+
22+
23+
24+
625
# 6.39.0 (2026-05-06)
726

827

packages/documentation-framework/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@patternfly/documentation-framework",
33
"description": "A framework to build documentation for PatternFly.",
4-
"version": "6.39.0",
4+
"version": "6.39.2",
55
"author": "Red Hat",
66
"license": "MIT",
77
"bin": {
@@ -68,11 +68,11 @@
6868
"webpack-merge": "5.10.0"
6969
},
7070
"peerDependencies": {
71-
"@patternfly/patternfly": "^6.5.0-prerelease.64",
72-
"@patternfly/react-code-editor": "^6.5.0-prerelease.52",
73-
"@patternfly/react-core": "^6.5.0-prerelease.49",
74-
"@patternfly/react-icons": "^6.5.0-prerelease.20",
75-
"@patternfly/react-table": "^6.5.0-prerelease.50",
71+
"@patternfly/patternfly": "^6.5.0-prerelease.81",
72+
"@patternfly/react-code-editor": "^6.5.0-prerelease.68",
73+
"@patternfly/react-core": "^6.5.0-prerelease.65",
74+
"@patternfly/react-icons": "^6.5.0-prerelease.29",
75+
"@patternfly/react-table": "^6.5.0-prerelease.68",
7676
"react": "^17.0.0 || ^18.0.0",
7777
"react-dom": "^17.0.0 || ^18.0.0"
7878
},

packages/documentation-site/patternfly-docs/content/AI/Compass/CompassHandbook.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ When building generative UI layouts using the Compass components, there are seve
1111
### Transparent containers
1212
Transparent containers create a modern glass look and feel. To enable transparency on a container, apply `pf-v6-theme-glass` to the `html` element class list, similar to the approach for enabling the dark mode theme.
1313

14-
Within Compass layouts, elements with a transparent glass background and rounded borders should be wrapped in a `<CompassPanel>` (some Compass components do this automatically). You can adjust various options of the `<CompassPanel>` to adapt its padding and behavior to fit the context of your use case.
14+
Within Compass layouts, elements with a transparent glass background and rounded borders should be wrapped in a `<Panel>` and `<PanelMain>` (some Compass components do this automatically). You can adjust various options of the `<Panel>` to adapt its padding and behavior to fit the context of your use case.
1515

16-
To prevent styling issues, do not nest `<CompassPanel>` components while using the glass effects.
16+
To prevent styling issues, do not nest `<Panel>` components while using the glass effects.
1717

1818
### Header
1919
You can add a header to a Compass layout via the `<CompassHeader>` component. `<CompassHeader>` constructs 3 sections, which can contain any custom content, but will typically include the following:
@@ -35,7 +35,7 @@ You can add a header to a Compass layout via the `<CompassHeader>` component. `<
3535
```
3636

3737
### Sidebars
38-
There are 2 vertical sidebars in a Compass layout: 1 at the start of the page and another at the end. There are no specific helper components for these sections, so they're usually created by passing a `<CompassPanel>` that contains an [`<ActionList>`](/components/action-list) with the `isVertical` flag.
38+
There are 2 vertical sidebars in a Compass layout: 1 at the start of the page and another at the end. There are no specific helper components for these sections, so they're usually created by passing a `<Panel>` and `<PanelMain>` that contains an [`<ActionList>`](/components/action-list) with the `isVertical` flag.
3939

4040
### Docked navigation
4141
As an alternative to the above header and sidebars, a docked navigation may be used to organize navigation elements into a single anchored sidebar. You can add a docked nav to the Compass layout via the `dock` property.
@@ -45,16 +45,18 @@ A docked nav will typically contain a [`<Masthead>`](/components/masthead) with
4545
### Footer
4646
There are 2 methods of adding a footer to a compass layout.
4747

48-
In both methods, the footer content will remain the same, typically containing a [ChatBot `<MessageBar>`](/extensions/chatbot/messages/), wrapped in a `<CompassPanel>` and `<CompassMessageBar>` component:
48+
In both methods, the footer content will remain the same, typically containing a [ChatBot `<MessageBar>`](/extensions/chatbot/messages/), wrapped in a `<Panel>`, `<PanelMain>`, and `<CompassMessageBar>` component:
4949

5050
```
5151
<CompassMessageBar>
52-
<CompassPanel isPill hasNoPadding hasNoBorder>
53-
<MessageBar />
54-
<div aria-live="polite" className="pf-v6-screen-reader">
55-
// aria anouncments for message bar's state updates
56-
</div>
57-
</CompassPanel>
52+
<Panel isGlass isPill hasNoBorder>
53+
<PanelMain>
54+
<MessageBar />
55+
<div aria-live="polite" className="pf-v6-screen-reader">
56+
// aria anouncments for message bar's state updates
57+
</div>
58+
</PanelMain>
59+
</Panel>
5860
</CompassMessageBar>
5961
```
6062

@@ -69,9 +71,9 @@ In both methods, the footer content will remain the same, typically containing a
6971
### Main content
7072
The main content in a Compass layout includes the generated information displays. Main content fills the center of the viewport and typically consists of a `<Hero>` or `<CompassMainHeader>`, a `<CompassContent>`, and an optional `<CompassMainFooter>`.
7173

72-
Often, the main section will contain a `<CompassMainHeader>` and `<CompassContent>` with a `<CompassPanel>` child containing the primary page content.
74+
Often, the main section will contain a `<CompassMainHeader>` and `<CompassContent>` with `<Panel>` and `<PanelMain>` children containing the primary page content.
7375

74-
When making [a dashboard view](/patterns/dashboard), use a `<Hero>` instead of a `<CompassMainHeader>`. Instead of having a single `<CompassPanel>` within a `<CompassContent>`, each individual dashboard item should be wrapped in a `<CompassPanel>`. For example, in a dashboard with many content cards, each `<Card>` (with `isPlain` flag) should be wrapped by a `<CompassPanel>` inside of a [`<Grid>`](/foundations-and-styles/layouts/grid).
76+
When making [a dashboard view](/patterns/dashboard), use a `<Hero>` instead of a `<CompassMainHeader>`. Instead of having a single `<Panel>` and `<PanelMain>` structure within a `<CompassContent>`, each individual dashboard item should be wrapped in a `<Panel>` and `<PanelMain>`. For example, in a dashboard with many content cards, each `<Card>` (with `isPlain` flag) should be wrapped by a `<Panel>` and `<PanelMain>` structure inside of a [`<Grid>`](/foundations-and-styles/layouts/grid).
7577

7678
## CSS customization
7779

0 commit comments

Comments
 (0)