Skip to content

fix: calculate progress text after spread merge with current step#597

Closed
FarbrorGarbo wants to merge 1 commit into
nilbuild:masterfrom
FarbrorGarbo:render-to-data-order
Closed

fix: calculate progress text after spread merge with current step#597
FarbrorGarbo wants to merge 1 commit into
nilbuild:masterfrom
FarbrorGarbo:render-to-data-order

Conversation

@FarbrorGarbo

Copy link
Copy Markdown

This PR fixes the order of calculating the progressText for the current step. The calculation must be done after merging the global configuration with the configuration of the current step which is what you would expect.

How to reproduce the error:
Create a step config with the popover progressText like
progressText: "{{current}} localized text {{total}} done"

When the step is shown, it renders the text just as "{{current}} localized text {{total}} done"

I made this PR as a Hacktoberfest contribution.
If you think my contribution is helpful, it would be awesome if you could add the hacktoberfest-accepted label to it.
Totally fine if not — just wanted to ask. Thanks for a great project!

@nilbuild nilbuild force-pushed the master branch 3 times, most recently from c649426 to 275b442 Compare June 23, 2026 20:49
@nilbuild

Copy link
Copy Markdown
Owner

Thanks for the PR but I did it a bit differently in f7b7760

@nilbuild nilbuild closed this Jun 24, 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.

2 participants