Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pipelines): add support for collapsible groups #162

Merged
merged 9 commits into from
Mar 26, 2024

Conversation

jenny-s51
Copy link
Collaborator

@jenny-s51 jenny-s51 commented Mar 8, 2024

What

Will close #153.

WIP / help wanted:

  • Recursive selection of subgroups when parent group is selected
    ☑️ Discussed with design, selection to be replaced with expand action animation to indicate expanded state

  • Draw location and edge anchor points of collapsed pipeline group
    ☑️ Fixed by @jeff-phillips-18

Description

Adds support for collapsible pipelines groups and related styling as discussed with @andrew-ronaldson and @jeff-phillips-18

Type of change

  • Feature
  • Bugfix
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Surge preview:

https://expand-collapse.surge.sh/

@jenny-s51 jenny-s51 added enhancement New feature or request help wanted Extra attention is needed labels Mar 8, 2024
@jenny-s51 jenny-s51 marked this pull request as draft March 8, 2024 20:37
@andrew-ronaldson
Copy link
Collaborator

I'll pull this down and take a look. Thanks for tagging me.
We'll need a v6 branch update to take in this new functionality. I have a branch open now where I am applying Penta tokens.

@jenny-s51 jenny-s51 force-pushed the iss153 branch 2 times, most recently from 6a9f246 to f49c3c5 Compare March 18, 2024 22:41
@jenny-s51 jenny-s51 changed the title [WIP] feat(pipelines): add support for collapsible groups feat(pipelines): add support for collapsible groups Mar 18, 2024
@jenny-s51 jenny-s51 marked this pull request as ready for review March 18, 2024 22:42
jenny-s51 and others added 5 commits March 25, 2024 13:53
styling wip

update classnames wip

add proper styling, wip hover

clean up unused vars, add drop shadow to action icon

remove css class to fix build

fix :hot build

add correct styling to collapsible groups

revert action label styling to default, adds isIconExternal prop

add collapsible groups to subgroups layout

add ref to revert to default label styling

add withSelection, update padding

clean up css

use PF vars for css styles

updates per Jeff, WIP

remove data from group nodes

PR feedback from Jeff: add correct params to PipelinesDefaultGroupExpanded, wrap label with layer

add props to fix build

fix label position

remove custom css in favor of existing pf styles

PR feedback from Jeff, apply pill styling to collapsed group

fix build
@jenny-s51 jenny-s51 removed the help wanted Extra attention is needed label Mar 25, 2024
@jenny-s51 jenny-s51 requested a review from jessiehuff March 25, 2024 20:53
@andrew-ronaldson andrew-ronaldson self-requested a review March 26, 2024 15:34
Copy link
Collaborator

@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.

LGTM, thanks!

@jessiehuff jessiehuff merged commit 129c309 into patternfly:main Mar 26, 2024
7 checks passed
Copy link

🎉 This PR is included in version 5.3.0-prerelease.5 🎉

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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for collapsible groups in topology pipelines
4 participants