Skip to content

Conversation

@gksander
Copy link
Contributor

Address #1199

Since onepage generates a single HTML file, but other deck types create a directory – we need to have a bit of a logic fork for determining whether or not we'll be overwriting (and when to prompt the user to confirm an overwrite). The approach here is to just move the type prompt right after name (but before the overwrite confirmation), so we can appropriately determine when we need to overwrite (based on both type and name).

@gksander gksander requested a review from carloskelly13 August 15, 2022 17:32
@gksander
Copy link
Contributor Author

@carlos-kelly just a friendly little ping. I think after this, most of the foundational work is in place for create-spectacle.

Copy link
Contributor

@carloskelly13 carloskelly13 left a comment

Choose a reason for hiding this comment

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

This is great. Just one suggestion on user-facing language then merge away!

@gksander gksander merged commit f470390 into main Aug 19, 2022
@gksander gksander deleted the create-spectacle-better-overwrites branch August 19, 2022 15:10
@github-actions github-actions bot mentioned this pull request Aug 19, 2022
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.

3 participants