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

feat(mason_logger): add ProgressOptions API #478

Merged
merged 13 commits into from Oct 13, 2022
Merged

feat(mason_logger): add ProgressOptions API #478

merged 13 commits into from Oct 13, 2022

Conversation

LukeMoody01
Copy link
Contributor

@LukeMoody01 LukeMoody01 commented Jul 24, 2022

Status

READY

Description

This PR addresses the open issue #451

I have given the .progress API an optional value where developers can pass through their own array of strings they want to animate through.

If nothing is given, we will fall back to the original progressAnimation.

Note: If the developer passes an empty array, this will break the logger (IntegerDivisionByZeroException). Do we want to check for this? Or should the developer just not pass through an empty array?

Let me know if there's anything that needs changing!

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)

@felangel felangel added the enhancement New feature or request label Jul 25, 2022
@felangel felangel linked an issue Jul 25, 2022 that may be closed by this pull request
1 task
@felangel felangel changed the title feat(logger): Allow customizing progress animation for progress feat(mason_logger): add ProgressOptions API Oct 13, 2022
@felangel felangel merged commit 43eae9f into felangel:master Oct 13, 2022
alestiago pushed a commit to alestiago/mason that referenced this pull request Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(logger): Allow customizing progress animation for progess
2 participants