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(pf): bug in wizard navbar #1416

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

jkozol
Copy link
Contributor

@jkozol jkozol commented Oct 23, 2023

In the Image Builder wizard we are no longer seeing step numbers with the pf5 upgrade.

The wizard navigation should only contain one WizardNav component. Wrapping the WizardNavItems in two WizardNav components is causing all steps to be treated as substeps and therefore don't have step numbers. The fix is to remove one of the WizardNav wrappers.

The other WizardNav component is here:

<WizardNav aria-label={navAriaLabel} isExpanded={state.openNav}>

And here is a screenshot of the issue.

Screenshot 2023-10-23 at 16 17 43

@vercel
Copy link

vercel bot commented Oct 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-forms ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 23, 2023 2:33pm

@DataDrivenFormsBot
Copy link

A new version (fix) will be released: v3.21.8 [DataDrivenFormsBot]

The wizard navigation should only contain one WizardNav component. Wrapping the WizardNavItems
in two WizardNav components is causing all steps to be treated as substeps and therefore don't
have step numbers. The fix is to remove one of the WizardNav wrappers.
@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

Merging #1416 (96c82c0) into master (baaf600) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1416   +/-   ##
=======================================
  Coverage   94.96%   94.96%           
=======================================
  Files         210      210           
  Lines        3672     3672           
  Branches     1284     1284           
=======================================
  Hits         3487     3487           
  Misses        185      185           
Files Coverage Δ
...-mapper/src/wizard/wizard-components/wizard-nav.js 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@rvsia rvsia added bug Something isn't working PF4 PF4 pull request labels Oct 23, 2023
@rvsia rvsia merged commit a1b587b into data-driven-forms:master Oct 24, 2023
6 checks passed
@rvsia rvsia added the released label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working PF4 PF4 pull request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants