evidence-dev/evidence-vscode

Refine Create Project from Template progress notification messages and increments

RandomFractals opened this issue · 6 comments

  • Refine Open new Workspace prompt when trying to create new project in an existing workspace with files.
  • Revert template repo cloning progress increment changes made in #56
  • Change Progress message title to shorter Create Project
  • Shorten other notification messages for the different steps in template project creation process.
  • Show incremental info messages during repo cloning in the progress notification message just like we do in the Evidence Output view
  • Add started cloning template repo info message to the progress display
  • Bump Install Dependencies delay to 30 secs in build.ts

Originally posted by @RandomFractals in #57 (comment)

@archiewood see the changes applied above for the progress increment, open new workspace prompt, and create project from template progress messages.

The issue you recorded in #57 with Finished creating message lingering is very minor because eventually it goes away, and there is only 15 sec delay timer set for the github repo cloning. Eventually that message goes away, and you can expand it to see full message and the final Finished step.

I bumped that clone repo delay timer and progress display to 25 secs to reproduce it on windows 10 b/c that timing was set to expire perfectly in my prior testing.

See recorded finished step expand delay with the longer timer. We'll use the 15 sec as is now, and can revisit this when we switch to embedding template project content into extension package for faster cloning and creation.

evidence-create-project-from-template-progress-finished-2

Final Create project from a template UX from start to finish.

Note: We can't improve it more unless we embed template project in the extension package code under /templates.

evidence-create-project-from-template-and-run

Shorter template prompt and dialog title:

image

New error message display when the provided url is not a github url. We also reopen template dialog with the default template displayed for the users to use it instead, or to provide a valid github url:

image

Refined repo cloning git info messages display in Output view:

image