Skip to content

[dev-v5][Wizard] Migrate FluentWizard#4682

Open
MarvinKlein1508 wants to merge 24 commits intomicrosoft:dev-v5from
MarvinKlein1508:WizardMigrateV5
Open

[dev-v5][Wizard] Migrate FluentWizard#4682
MarvinKlein1508 wants to merge 24 commits intomicrosoft:dev-v5from
MarvinKlein1508:WizardMigrateV5

Conversation

@MarvinKlein1508
Copy link
Copy Markdown
Collaborator

@MarvinKlein1508 MarvinKlein1508 commented Apr 7, 2026

Pull Request

📖 Description

This PR adds the FluentWizard component to v5. Based on the works of @agriffard and #4640

I processed the review comments and adjusted the examples and added more tests. Right now there are some tests missing for FluentWizard, FluentWizardStep and all tests for FluentWizardStepValidator

🎫 Issues

Fixes: #4191

👩‍💻 Reviewer Notes

This PR is a draft to discuss the current implementation before we add the remaining tests (in case we change something)

📑 Test Plan

✅ Checklist

General

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

  • I have added a new component
  • I have added Unit Tests for my new component
  • I have modified an existing component
  • I have validated the Unit Tests for an existing component

⏭ Next Steps

  • Add remaining tests
  • Add migration docs

@MarvinKlein1508 MarvinKlein1508 added this to the v5.0-RC2 milestone Apr 7, 2026
/// <summary />
protected override void OnParametersSet()
{
SetCurrentValue(Value);
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.

OnParametersSet is triggered multiple times (every time a parameter is modified). This causes performance issues if you modify Value each time in this method. You should use a different approach: detect when the value changes or use SetParametersAsync(ParameterView) or ...

/// Gets or sets the label for the Previous button.
/// If null or empty, the localized value is used.
/// </summary>
public static string? LabelButtonPrevious { get; set; }
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.

Do not use static properties (this was a workaround in v4, but now we have the Localizer)

@vnbaaij vnbaaij modified the milestones: v5.0-RC2, v5.0-RC3 Apr 10, 2026
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.

4 participants