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

fix(wizard): redesign wizard stepnav (add success icon and align states) #1478

Merged
merged 11 commits into from
Aug 7, 2024

Conversation

kevinbuhmann
Copy link
Member

@kevinbuhmann kevinbuhmann commented Jul 11, 2024

CDE-2229, VPAT-776

PR Checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • If applicable, have a visual design approval

PR Type

Bugfix

What is the current behavior?

  • The step number was removed for steps with error status.
  • Only color was used to show wizard step completed status.
  • The hover and active states used incorrect text colors.
  • The stepnav item had padding resulting in the button (and thus the hover, active, and selected background colors) to be surrounded by padding.

Issue Number: CDE-2229, VPAT-776

What is the new behavior?

  • The step number is not removed for steps with error status.
  • An icon, in addition to color, is used to show wizard step completed status.
  • The hover and active states use correct text colors.
  • The stepnav item does not have padding resulting in the button (and thus the hover, active, and selected background colors) not to be surrounded by padding.

Does this PR introduce a breaking change?

No, but some of the wizard CSS custom properties are marked to be renamed in v18.

Copy link
Contributor

github-actions bot commented Jul 11, 2024

👋 @kevinbuhmann,

  • 🙏 The Clarity team thanks you for opening a pull request
  • 🎉 The build for this PR has succeeded
  • 🔍 The PR is now ready for review
  • 🍿 In the meantime, view a preview of this PR
  • 🖐 You can always follow up here. If you're a VMware employee, you can also reach us on our internal Clarity Support space

Thank you,

🤖 Clarity Release Bot

This comment was marked as outdated.

This comment was marked as outdated.

@kevinbuhmann kevinbuhmann force-pushed the kevin/wizard-step-status-icon branch from 5905ad9 to 85f8e44 Compare July 30, 2024 18:13

This comment was marked as resolved.

This comment was marked as outdated.

@kevinbuhmann kevinbuhmann changed the title fix(wizard): use icons instead of just color for step status fix(wizard): redesign wizard stepnav for accessibility Jul 31, 2024
@kevinbuhmann kevinbuhmann changed the title fix(wizard): redesign wizard stepnav for accessibility fix(wizard): redesign wizard stepnav Jul 31, 2024
@kevinbuhmann kevinbuhmann force-pushed the kevin/wizard-step-status-icon branch from 8848362 to 299bc01 Compare July 31, 2024 09:47
@kevinbuhmann kevinbuhmann changed the title fix(wizard): redesign wizard stepnav fix(wizard): redesign wizard stepnav (add success icon and align states) Jul 31, 2024

This comment was marked as outdated.

@kevinbuhmann kevinbuhmann force-pushed the kevin/wizard-step-status-icon branch 2 times, most recently from bbc1a43 to 6ac495d Compare July 31, 2024 09:59
@kevinbuhmann kevinbuhmann force-pushed the kevin/wizard-step-status-icon branch from 6ac495d to 761843e Compare July 31, 2024 10:23
@kevinbuhmann kevinbuhmann force-pushed the kevin/wizard-step-status-icon branch from 761843e to 44cc998 Compare July 31, 2024 10:30

This comment was marked as resolved.

@kevinbuhmann kevinbuhmann requested a review from a team August 5, 2024 13:39

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as resolved.

Copy link
Contributor

@valentin-mladenov valentin-mladenov left a comment

Choose a reason for hiding this comment

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

It's better to set a proper deprecation steps for clr-wizard-stepnav-item-border-color--active and clr-wizard-stepnav-text--active properties and variables now.

Check the flow from the other CSS deprecatetions.

projects/angular/src/wizard/_wizard.clarity.scss Outdated Show resolved Hide resolved
projects/angular/src/wizard/wizard-stepnav-item.ts Outdated Show resolved Hide resolved
projects/angular/src/wizard/STYLES.md Show resolved Hide resolved
projects/angular/src/wizard/STYLES.md Show resolved Hide resolved
Copy link
Contributor

@valentin-mladenov valentin-mladenov left a comment

Choose a reason for hiding this comment

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

LGTM

@kevinbuhmann kevinbuhmann merged commit fa8918a into main Aug 7, 2024
8 checks passed
@kevinbuhmann kevinbuhmann deleted the kevin/wizard-step-status-icon branch August 7, 2024 13:33
Copy link
Contributor

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed PRs after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants