Skip to content

Conversation

@evwilkin
Copy link
Member

@evwilkin evwilkin commented Dec 16, 2024

Closes #72

This PR removes the custom stylesheets for each example and instead compiles the SASS locally to CSS, passes that to docs framework to be used in the examples, and then copies the compiled CSS to the dist directory.

Note: this will require design review - the shipped styles have not changed but the examples now differ in substantial ways such as blue borders at the top of Catalog Tiles.

Also Closes #58
Preview to the new demo: https://catalog-view-pr-catalog-view-73.surge.sh/extensions/catalog-view/catalog-view-demo/react/catalog-view-demo/

AI-assisted implementation using Cursor with human review and modifications

@patternfly-build
Copy link

patternfly-build commented Dec 16, 2024

@christianvogt
Copy link

The preview loses the hover treatment background. Is this intentional that the vertical tabs don't get this treatment?
image

@evwilkin
Copy link
Member Author

evwilkin commented Jan 2, 2025

@mcoker & @andrew-ronaldson we should likely tag team this one, as the example styles being removed differ from the remaining styles shipped with the code.

See @christianvogt comment above about background color on hover, this was hard-coded into the example styles but does not exist in the sass styles.

@nicolethoen
Copy link
Contributor

I am seeing something misaligned and extra blue in some of the tiles

Screenshot 2025-01-14 at 5 31 05 PM

@nicolethoen nicolethoen force-pushed the chore/72-example-styles branch from 62b592b to 1d9521c Compare August 19, 2025 19:09
@nicolethoen
Copy link
Contributor

nicolethoen commented Aug 19, 2025

Screenshot 2025-08-19 at 3 09 48 PM

I cleaned up this PR and took the time to build out the designed catalog-view demo which had never been implemented. It turned into a good use case to make sure the styles are looking okay.

Preview to the new demo: https://catalog-view-pr-catalog-view-73.surge.sh/extensions/catalog-view/catalog-view-demo/react/catalog-view-demo/

@nicolethoen nicolethoen force-pushed the chore/72-example-styles branch from 1d9521c to 199f544 Compare August 19, 2025 19:14
@nicolethoen nicolethoen requested review from andrew-ronaldson and thatblindgeye and removed request for nicolethoen August 19, 2025 19:33
Copy link
Contributor

@andrew-ronaldson andrew-ronaldson left a comment

Choose a reason for hiding this comment

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

The demo looks good, thanks for making that.
I noticed the vertical tabs look different from our Figma file and I need to add a selected + hover variant since it is missing right now.

Screenshot 2025-08-20 at 9 42 19 AM

@nicolethoen
Copy link
Contributor

@andrew-ronaldson in the demo - the sidebar panel appears to be more like advanced filtering with checkboxes - not tabs. What is the intended relationship between the sidebar items/tabs and the catalog tiles? Would i be applying this selected state when teh checkbox is selected?

@andrew-ronaldson
Copy link
Contributor

Sorry I was looking at the individual elements in the nav and saw the vertical tabs. They are not in the demo page you created so if this issue is just for the purpose of the demo we can focus on that for now

@nicolethoen nicolethoen self-assigned this Sep 5, 2025
@nicolethoen nicolethoen changed the title chore(examples): compile & use scss in examples feat(examples): compile & use scss in examples Sep 16, 2025
Copy link
Contributor

@andrew-ronaldson andrew-ronaldson left a comment

Choose a reason for hiding this comment

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

Demo looks good

@nicolethoen nicolethoen merged commit ce0c461 into main Sep 18, 2025
5 checks passed
@github-actions
Copy link

🎉 This PR is included in version 6.2.0-prerelease.1 🎉

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.

Sass styles not referenced in examples feat(demo): Create V6 Demo

7 participants