Skip to content

feat(docs): add guided animation demo#4721

Merged
jeff-phillips-18 merged 12 commits into
patternfly:mainfrom
wise-king-sullyman:add-guided-animation-demo
Jul 29, 2025
Merged

feat(docs): add guided animation demo#4721
jeff-phillips-18 merged 12 commits into
patternfly:mainfrom
wise-king-sullyman:add-guided-animation-demo

Conversation

@wise-king-sullyman
Copy link
Copy Markdown
Collaborator

@patternfly-build
Copy link
Copy Markdown
Collaborator

patternfly-build commented Jul 28, 2025

Copy link
Copy Markdown
Contributor

@dlabaj dlabaj left a comment

Choose a reason for hiding this comment

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

Looks good. There seems to be a missing screenshot on surge though for the full screen demo. Just has a ? mark.

@dlabaj dlabaj requested a review from jeff-phillips-18 July 28, 2025 20:18
@jeff-phillips-18
Copy link
Copy Markdown
Member

Looks good. There seems to be a missing screenshot on surge though for the full screen demo. Just has a ? mark.

This will get fixed by wise-king-sullyman#1

@wise-king-sullyman wise-king-sullyman requested review from a team, andrew-ronaldson and mmenestr and removed request for a team and mmenestr July 29, 2025 13:56
@edonehoo
Copy link
Copy Markdown
Collaborator

edonehoo commented Jul 29, 2025

Could we also update in this pr the “interactive animations demo” link in the release highlights (located within https://www.patternfly.org/get-started/release-highlights#component-animations) so that it aligns with this pr and points to /demo instead of /react-demos?

@wise-king-sullyman
Copy link
Copy Markdown
Collaborator Author

@edonehoo do you think the link should just go to the /demo page, or straight to the actual demo itself?

@edonehoo
Copy link
Copy Markdown
Collaborator

@wise-king-sullyman hmm good question..I can see an argument either way. I'm inclined to say send them to the /demo page, just to point out its location so that they know where they can find it again and also so they can easily choose to poke around the motion docs, which were updated with this release

Update link to animation demo is release highlights
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
import MultiContentCard from "@patternfly/react-component-groups/dist/dynamic/MultiContentCard";
import { ArrowRightIcon, LockIcon, PortIcon, CubeIcon, AutomationIcon, ExclamationCircleIcon, CheckCircleIcon, ExclamationTriangleIcon, HamburgerIcon, TimesIcon} from '@patternfly/react-icons';
import { createUseStyles } from 'react-jss';
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

is use of react-jss necessary?
Is it used anywhere in this demo

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It is used by the MultiContentCard. I'm not sure if we need it imported here. I can try removing it.

Copy link
Copy Markdown
Contributor

@dlabaj dlabaj left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Collaborator

@edonehoo edonehoo left a comment

Choose a reason for hiding this comment

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

a few content things I noticed, but outside of these it looks good


## Demo

Explore the current state of [PatternFly component animations](https://github.com/orgs/patternfly/projects/7/views/66).
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Explore the current state of [PatternFly component animations](https://github.com/orgs/patternfly/projects/7/views/66).

Discussed with others offline that we can remove this line now

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you also remove the Under development alert on https://patternfly-org-pr-4721-site.surge.sh/design-foundations/motion, which carries a similar message?


Explore the current state of [PatternFly component animations](https://github.com/orgs/patternfly/projects/7/views/66).

To see how our components can now use motion to provide clear feedback and improve usability, this demo guides you through a UI that contains a variety of motion updates, including animated alerts, icons, expansion, and more.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
To see how our components can now use motion to provide clear feedback and improve usability, this demo guides you through a UI that contains a variety of motion updates, including animated alerts, icons, expansion, and more.
Our components can now use motion to provide clear visual feedback to users, improving engagement and usability. To see our new animations in motion, take this interactive tour, which guides you through a UI that includes animated alerts, icons, expansion, and more.

</Content>
) : null}
<Content component="p">
{`Click ${isMobile ? 'the settings button' : 'it'} to see the new ripple effect we've added to all buttons.`}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
{`Click ${isMobile ? 'the settings button' : 'it'} to see the new ripple effect we've added to all buttons.`}
{`Click ${isMobile ? 'the settings button' : 'it'} to see the cog icon rotate, as well as our new button ripple effect.`}

can we change the mobile message here?

},
{
stepId: 'navToggle',
header: <div>Buttons: Hamburger menu</div>,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't see that we have a mobile-specific message for the hamburger menu step, but we do need one since the experience is different I think

Could we add that somewhere:

Hover over the hamburger menu to see an arrow indicator appear.

Click the hamburger menu button to expand the navigation menu.

Copy link
Copy Markdown
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.

I get e-motion-al just seeing all this come together so nicely. Thanks all!

Copy link
Copy Markdown
Collaborator

@edonehoo edonehoo left a comment

Choose a reason for hiding this comment

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

looks great, thank you!

@jeff-phillips-18 jeff-phillips-18 merged commit 75c3933 into patternfly:main Jul 29, 2025
4 checks passed
nicolethoen pushed a commit to nicolethoen/patternfly-org that referenced this pull request Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Animation - create demo/showcase page

7 participants