From 3bdff0e5e4a6394ed35675c2d907a828c2e6a5a2 Mon Sep 17 00:00:00 2001 From: Jocelyn Sese Date: Wed, 24 Sep 2025 11:23:14 -0400 Subject: [PATCH] OSDOCS-13110: Update PatternFly guidelines for PF6 in dynamic plugin docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update PatternFly version ranges per SME feedback (PF5=4.15–4.18, PF6=4.19+) --- .../dynamic-plugin/overview-dynamic-plugin.adoc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/web_console/dynamic-plugin/overview-dynamic-plugin.adoc b/web_console/dynamic-plugin/overview-dynamic-plugin.adoc index 0252b27ab01b..023ab10db063 100644 --- a/web_console/dynamic-plugin/overview-dynamic-plugin.adoc +++ b/web_console/dynamic-plugin/overview-dynamic-plugin.adoc @@ -55,14 +55,16 @@ When creating your plugin, follow these guidelines for using PatternFly: * Use link:https://www.patternfly.org/components/all-components/[PatternFly] components and PatternFly CSS variables. Core PatternFly components are available through the SDK. Using PatternFly components and variables help your plugin look consistent in future console versions. ifndef::openshift-rosa-hcp[] -** Use Patternfly 4.x if you are using {product-title} versions 4.14 and earlier. -** Use Patternfly 5.x if you are using {product-title} 4.15 or later. +** Use PatternFly 4.x if you are using {product-title} versions 4.14 and earlier. +** Use PatternFly 5.x if you are using {product-title} versions 4.15 through 4.18. +** Use PatternFly 6.x if you are using {product-title} versions 4.19 and later. + endif::openshift-rosa-hcp[] ifdef::openshift-rosa-hcp[] ** Use Patternfly 5.x. endif::openshift-rosa-hcp[] * Make your plugin accessible by following link:https://www.patternfly.org/accessibility/accessibility-fundamentals/[PatternFly's accessibility fundamentals]. -* Avoid using other CSS libraries such as Bootstrap or Tailwind. They might conflict with PatternFly and not match the rest of the console. Plugins should only include styles that are specific to their user interfaces to be evaluated on top of base PatternFly styles. Avoid importing styles such as `@patternfly/react-styles/**/*.css` or any styles from the `@patternfly/patternfly` package in your plugin. -* The console application is responsible for loading base styles for all supported PatternFly version(s). +* Avoid using other CSS libraries such as Bootstrap or Tailwind. They might conflict with PatternFly and not match the rest of the console. Plugins should only include styles that are specific to their user interfaces to be evaluated on top of base PatternFly styles. Do not import styles directly from `@patternfly/react-styles/**/*.css` or `@patternfly/patternfly`. Instead, use components and CSS variables provided by the console SDK. +* The console application is responsible for loading base styles for all supported PatternFly versions. include::modules/dynamic-plugin-localization.adoc[leveloffset=+2] \ No newline at end of file