Skip to content

feat: add progress bar for progress flag#1238

Merged
ematipico merged 4 commits intowebpack:nextfrom
rishabh3112:feat/interactions
Feb 18, 2020
Merged

feat: add progress bar for progress flag#1238
ematipico merged 4 commits intowebpack:nextfrom
rishabh3112:feat/interactions

Conversation

@rishabh3112
Copy link
Copy Markdown
Member

@rishabh3112 rishabh3112 commented Feb 18, 2020

What kind of change does this PR introduce?
feature

Did you add tests for your changes?
No

If relevant, did you update the documentation?
No

Summary
Add a real progress bar for--progress flag.
image

Does this PR introduce a breaking change?
Yes

Other information

@rishabh3112 rishabh3112 requested a review from a team as a code owner February 18, 2020 14:16
@rishabh3112 rishabh3112 changed the title feat: add progress bar in progress feat: add progress bar for progress flag Feb 18, 2020
Copy link
Copy Markdown
Contributor

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

Looks good, just one comment

@webpack-bot
Copy link
Copy Markdown

@rishabh3112 Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@ematipico Please review the new changes.

@webpack-bot
Copy link
Copy Markdown

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

Copy link
Copy Markdown
Member

@anshumanv anshumanv left a comment

Choose a reason for hiding this comment

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

Minor stuff

process.stdout.cursorTo(0);
if (percent !== undefined) {
process.stdout.write(' (')
for(let i = 0; i <= 100; i+=10) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
for(let i = 0; i <= 100; i+=10) {
for (let i = 0; i <= 100; i+=10) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is prettier not running for this file?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yup I think so, let me check.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Probably you did a commit and skipped the git hooks?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I had to run eslint with --no-ignore for it to lint.

@ematipico ematipico merged commit 06129a1 into webpack:next Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants