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

Update to latest Patternfly V6 alphas #201

Merged
merged 4 commits into from
Jun 27, 2024

Conversation

jeff-phillips-18
Copy link
Member

@jeff-phillips-18 jeff-phillips-18 commented May 28, 2024

What

Updates to last Patternfly V6 alpha release.

Type of change

  • Refactoring (no functional changes, no api changes)

@patternfly-build
Copy link

patternfly-build commented May 28, 2024

@jeff-phillips-18
Copy link
Member Author

There are 2 commits here:

  1. run the v6 code mods
  2. make fixes to get close

You can look at the second commit to see where the codemods fell short.

@jeff-phillips-18
Copy link
Member Author

Demo app surge: https://v6-updates.surge.sh/

@nicolethoen
Copy link
Contributor

@jeff-phillips-18 can I do anything to help move this along?

@@ -9,7 +9,7 @@
width: 0;
max-width: 100%;
height: 100%;
background-color: var(--pf-v5-global--BackgroundColor--100);
background-color: var(--pf-t--global--background--color--100);
Copy link
Collaborator

Choose a reason for hiding this comment

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

var(--pf-t--global--background--color--primary--default)

@@ -36,7 +36,7 @@
.pf-topology-resizable-side-bar {
width: 100%;
height: 100%;
background-color: var(--pf-v5-global--BackgroundColor--100);
background-color: var(--pf-t--global--background--color--100);
Copy link
Collaborator

Choose a reason for hiding this comment

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

var(--pf-t--global--background--color--primary--default)

@@ -50,7 +50,7 @@
@media (min-width: 768px) {
.pf-topology-container__with-sidebar {
overflow-x: hidden;
background-color: var(--pf-v5-global--Color--light-200) !important;
background-color: var(--pf-t--global--background--color--200) !important;
Copy link
Collaborator

Choose a reason for hiding this comment

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

var(--pf-t--global--background--color--secondary--default)

bottom: var(--pf-v5-global--spacer--md);
left: var(--pf-v5-global--spacer--xl);
bottom: 0;
left: var(--pf-t--global--spacer--400);
Copy link
Collaborator

Choose a reason for hiding this comment

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

var(--pf-t--global--spacer--lg)

margin-right: var(--pf-v5-global--spacer--xs);
margin-top: var(--pf-v5-global--spacer--xs);
.pf-topology-control-bar__button.pf-v6-c-button.pf-m-tertiary {
margin-right: var(--pf-t--global--spacer--100);
Copy link
Collaborator

Choose a reason for hiding this comment

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

 margin-right: var(--pf-t--global--spacer--gap--control-to-control--default);
  margin-top: var(--pf-t--global--spacer--xs);
  padding: var(--pf-t--global--spacer--control--vertical--plain) var(--pf-t--global--spacer--control--horizontal--default);

.pf-topology-control-bar__button.pf-v5-c-button.pf-m-tertiary:not(.pf-m-disabled) {
background-color: var(--pf-v5-global--BackgroundColor--100);
.pf-topology-control-bar__button.pf-v6-c-button.pf-m-tertiary:not(.pf-m-disabled) {
background-color: var(--pf-t--global--background--color--100);
Copy link
Collaborator

Choose a reason for hiding this comment

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

var(--pf-t--global--background--color--primary--default)

@jeff-phillips-18 jeff-phillips-18 force-pushed the v6-updates branch 3 times, most recently from 0d7f99c to dbffd6c Compare June 21, 2024 17:04
@jeff-phillips-18 jeff-phillips-18 changed the title WIP: updates to v6 classes/tokens to fix visuals broken by the v6 upgrade Update to latest Patternfly V6 alphas Jun 21, 2024
@jeff-phillips-18
Copy link
Member Author

@andrew-ronaldson @nicolethoen @jenny-s51 Please take another look. I think this is in good shape now.

Latest surge for Demo app: https://v6-updates.surge.sh/

Surge for Doc app: https://react-topology-pr-topology-201.surge.sh/

…ly#221)

fix(pipelines): add correct location, scaling, and anchors for expanded task group's pill labels. (patternfly#10)

fix(pipelines): add status prop to group labels

update import statement
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.

Looks good. Saw a couple things in review.

  • Can you add a border-radius: var(--pf-t--global--border--radius--medium); to the node groupings
  • When there is a status modifier the node labels drop the status color border on hover.
Screenshot 2024-06-25 at 9 41 45 AM
  • In pipelines can the expanded task look like this instead of the node group.

Screenshot 2024-06-25 at 9 59 40 AM

@jeff-phillips-18 jeff-phillips-18 force-pushed the v6-updates branch 2 times, most recently from b79519b to acd66e4 Compare June 25, 2024 19:06
@jeff-phillips-18
Copy link
Member Author

@andrew-ronaldson @jenny-s51 Updated. PTAL.

@andrew-ronaldson
Copy link
Collaborator

Looks good. I still see the hover/selected state bug on the node labels. We can fix that in another PR.

Surge
Status + hover:
Screenshot 2024-06-26 at 10 08 39 AM

Status+Selected + hover:
Screenshot 2024-06-26 at 10 04 01 AM

Figma
Status + hover:
Screenshot 2024-06-26 at 10 07 52 AM

Status + Selected + hover:
Screenshot 2024-06-26 at 10 05 22 AM

Copy link
Collaborator

@jenny-s51 jenny-s51 left a comment

Choose a reason for hiding this comment

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

The styles are looking awesome @jeff-phillips-18 ! Just noticing the sidebar example window isn't rendering on the docs site (all the other demos look great) https://react-topology-pr-topology-201.surge.sh/topology/sidebar.

@jeff-phillips-18
Copy link
Member Author

@andrew-ronaldson @jenny-s51 Updated. PTAL.

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.

Thanks for the updates. Looks good to me

@jeff-phillips-18
Copy link
Member Author

Just noticing the sidebar example window isn't rendering on the docs site (all the other demos look great) https://react-topology-pr-topology-201.surge.sh/topology/sidebar.

@jenny-s51 The docs surge did not get updated. If you run locally you will see this fix.

@jenny-s51
Copy link
Collaborator

Sounds good @jeff-phillips-18 pulling it down to take a look

Copy link
Collaborator

@jenny-s51 jenny-s51 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@jeff-phillips-18 jeff-phillips-18 merged commit 70c815f into patternfly:v6 Jun 27, 2024
8 checks passed
jeff-phillips-18 added a commit to jeff-phillips-18/react-topology that referenced this pull request Jun 27, 2024
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.

5 participants