Skip to content

chore: update backstop screenshots#8337

Merged
mcoker merged 4 commits into
patternfly:mainfrom
mcoker:backstop-4.27.26
Apr 27, 2026
Merged

chore: update backstop screenshots#8337
mcoker merged 4 commits into
patternfly:mainfrom
mcoker:backstop-4.27.26

Conversation

@mcoker

@mcoker mcoker commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Failure report. This is glass, but it shows all of the failures from non-glass + glass dock styles.

All failures look expected to me

  • new examples
  • toggle group block padding updates
  • full width toggle group
  • table sticky column background updates
  • fixed compass (local) example css so full page compass examples occupy height of page
  • stateful plain buttons

backstop-4.27.26.pdf

Summary by CodeRabbit

  • Style
    • Scoped compass styling to the main page area and simplified visual borders by replacing overlay decorations with a dashed outline on compass variants.
  • Documentation
    • Updated the Docked example to include an inline masthead section before dock content for clearer layout demonstration.

@coderabbitai

coderabbitai Bot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 0effd64b-f311-4f78-b0af-f53dccdc2798

📥 Commits

Reviewing files that changed from the base of the PR and between 11598cd and aab75d6.

⛔ Files ignored due to path filters (5)
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html_basic_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html_docked_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html_docked_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html_basic_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html_docked_0_document_0_mobile.png is excluded by !**/*.png
📒 Files selected for processing (2)
  • src/patternfly/components/Compass/examples/Compass.css
  • src/patternfly/components/Compass/examples/Compass.md
✅ Files skipped from review due to trivial changes (1)
  • src/patternfly/components/Compass/examples/Compass.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/patternfly/components/Compass/examples/Compass.css

Walkthrough

Scoped the Compass example CSS height selector to #ws-page-main .ws-core-a-compass, replaced the dashed pseudo-element overlay with a dashed outline on basic/docked compass elements, and added an inline masthead section to the Docked example markup.

Changes

Cohort / File(s) Summary
Compass example CSS
src/patternfly/components/Compass/examples/Compass.css
Narrowed height selector to #ws-page-main .ws-core-a-compass, removed position: relative + dashed ::after overlay, and switched to applying a dashed outline on basic/docked compass elements.
Compass example markup
src/patternfly/components/Compass/examples/Compass.md
Added an inline masthead section to the Docked example, inserting masthead-main and masthead-content before dock content in the compass--HasDock=true layout.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

released on @prerelease``

Suggested reviewers

  • jcmill
  • thatblindgeye

Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 error)

Check name Status Explanation Resolution
Title check ❌ Error The title 'chore: update backstop screenshots' follows conventional commit format with a 'chore' type prefix, but does not accurately describe the actual changes which involve CSS refactoring and example markup updates to Compass components, not just screenshot updates. Consider revising the title to reflect the actual changes, such as 'chore: refactor compass example styles and update docked layout' or 'chore: update compass demo examples and backstop screenshots' to align with the file changes.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@patternfly-build

patternfly-build commented Apr 27, 2026

Copy link
Copy Markdown
Collaborator

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
src/patternfly/components/Compass/examples/Compass.css (1)

1-3: (Optional) Consider min-height instead of fixed height

If any compass example content can expand vertically, a fixed height: 600px may cause clipping in some contexts (even if it’s fine for screenshot consistency). If the goal is “at least” 600px for visual stability, min-height: 600px can reduce risk.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/patternfly/components/Compass/examples/Compass.css` around lines 1 - 3,
Replace the fixed height on the selector "#ws-page-main .ws-core-a-compass
.pf-v6-c-compass" with a minimum height by changing `height: 600px` to
`min-height: 600px` so the compass can grow vertically without clipping while
preserving the baseline visual size; update the CSS rule in Compass.css
accordingly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@src/patternfly/components/Compass/examples/Compass.css`:
- Around line 1-3: Replace the fixed height on the selector "#ws-page-main
.ws-core-a-compass .pf-v6-c-compass" with a minimum height by changing `height:
600px` to `min-height: 600px` so the compass can grow vertically without
clipping while preserving the baseline visual size; update the CSS rule in
Compass.css accordingly.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 5b96183c-2ac6-4673-9687-8b1ab95c3e1b

📥 Commits

Reviewing files that changed from the base of the PR and between e60f589 and 11598cd.

⛔ Files ignored due to path filters (66)
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html-demos_docked-nav---expanded-on-mobile_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html-demos_docked-nav---expanded-on-mobile_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html-demos_docked-nav---expanded-on-mobile_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html-demos_docked-nav-text-expanded---expanded-on-mobile_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html-demos_docked-nav-text-expanded---expanded-on-mobile_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html-demos_docked-nav-text-expanded---expanded-on-mobile_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html-demos_docked-nav-text-expanded_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html-demos_docked-nav-text-expanded_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html-demos_docked-nav-text-expanded_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html-demos_docked-nav_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html-demos_docked-nav_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html-demos_docked-nav_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html_basic_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html_basic_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html_basic_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html_docked_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html_docked_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__ai_generative-uis_compass_html_docked_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__components_button_html_stateful_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__components_button_html_stateful_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__components_button_html_stateful_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__components_toggle-group_html_compact_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__components_toggle-group_html_compact_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__components_toggle-group_html_compact_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__components_toggle-group_html_full-width-toggle_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__components_toggle-group_html_full-width-toggle_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__components_toggle-group_html_full-width-toggle_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__components_toolbar_html_dynamic-sticky-toolbar_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__components_toolbar_html_dynamic-sticky-toolbar_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference/pf-core__components_toolbar_html_dynamic-sticky-toolbar_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html-demos_docked-nav---expanded-on-mobile_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html-demos_docked-nav---expanded-on-mobile_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html-demos_docked-nav---expanded-on-mobile_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html-demos_docked-nav-text-expanded---expanded-on-mobile_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html-demos_docked-nav-text-expanded---expanded-on-mobile_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html-demos_docked-nav-text-expanded---expanded-on-mobile_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html-demos_docked-nav-text-expanded_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html-demos_docked-nav-text-expanded_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html-demos_docked-nav-text-expanded_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html-demos_docked-nav_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html-demos_docked-nav_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html-demos_docked-nav_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html_basic_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html_basic_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html_basic_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html_docked_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html_docked_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__ai_generative-uis_compass_html_docked_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_button_html_stateful_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_button_html_stateful_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_button_html_stateful_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_table_html-demos_sticky-header-and-last-column_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_table_html-demos_sticky-header-and-last-column_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_table_html-demos_sticky-header-and-last-column_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_table_html_sticky-right-column_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_table_html_sticky-right-column_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_table_html_sticky-right-column_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_toggle-group_html_compact_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_toggle-group_html_compact_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_toggle-group_html_compact_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_toggle-group_html_full-width-toggle_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_toggle-group_html_full-width-toggle_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_toggle-group_html_full-width-toggle_0_document_2_desktop.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_toolbar_html_dynamic-sticky-toolbar_0_document_0_mobile.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_toolbar_html_dynamic-sticky-toolbar_0_document_1_tablet.png is excluded by !**/*.png
  • backstop_data/bitmaps_reference_glass/pf-core__components_toolbar_html_dynamic-sticky-toolbar_0_document_2_desktop.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • src/patternfly/components/Compass/examples/Compass.css

@mcoker mcoker requested a review from jcmill April 27, 2026 19:33

@jcmill jcmill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

@mcoker mcoker merged commit 9b2758d into patternfly:main Apr 27, 2026
5 checks passed
@mcoker mcoker deleted the backstop-4.27.26 branch April 27, 2026 19:59
@patternfly-build

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 6.5.0-prerelease.79 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants