Skip to content

[legacy-framework] Add spinner for Prettier formatting during 'blitz new'#680

Merged
flybayer merged 1 commit intoblitz-js:canaryfrom
fnoah:canary
Jun 14, 2020
Merged

[legacy-framework] Add spinner for Prettier formatting during 'blitz new'#680
flybayer merged 1 commit intoblitz-js:canaryfrom
fnoah:canary

Conversation

@fnoah
Copy link

@fnoah fnoah commented Jun 13, 2020

Closes: #672

What are the changes and their implications?

Added a new spinner for prettier formatting on blitz new. I also removed the error that was previously thrown which prevented the Your new Blitz app is ready! Next steps: message from appearing. I think it makes sense to still show this message since a prettier failure doesn't prevent the app from running.

Example of a successful run:
image

I used the error message copy which @flybayer suggested in the issue. I wasn't sure which styling to use for the error message (since it's an error, but nothing fatal). The current commit uses the first one of the following examples, but I'm interested in what others think is best.

image
image
image

Checklist

  • Tests added for changes
  • PR submitted to blitzjs.com for any user facing changes

@fnoah fnoah requested a review from aem as a code owner June 13, 2020 21:30
Copy link
Collaborator

@Zeko369 Zeko369 left a comment

Choose a reason for hiding this comment

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

I'd keep the current Error message

@flybayer
Copy link
Member

@fnoah awesome this looks perfect! Thank you so much!

@all-contributors add @fnoah for code

@allcontributors
Copy link

@flybayer

I've put up a pull request to add @fnoah! 🎉

@flybayer flybayer changed the title Add spinner for Prettier formatting on 'blitz new' Add spinner for Prettier formatting during 'blitz new' Jun 14, 2020
@flybayer flybayer merged commit 1b2c5a3 into blitz-js:canary Jun 14, 2020
@itsdillon itsdillon changed the title Add spinner for Prettier formatting during 'blitz new' [legacy-framework] Add spinner for Prettier formatting during 'blitz new' Jul 7, 2022
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.

Add a spinner during blitz new when prettier is running

3 participants