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

CLI, VSCode init experience UX redesign #5876

Closed
4 of 5 tasks
allenjzhang opened this issue Feb 5, 2025 · 3 comments · Fixed by #6045
Closed
4 of 5 tasks

CLI, VSCode init experience UX redesign #5876

allenjzhang opened this issue Feb 5, 2025 · 3 comments · Fixed by #6045
Assignees
Labels
1_0_E2E compiler:core Issues for @typespec/compiler feature New feature or request triaged:core
Milestone

Comments

@allenjzhang
Copy link
Member

allenjzhang commented Feb 5, 2025

Tasks

Preview Give feedback
@ccbarragan
Copy link
Contributor

ccbarragan commented Feb 18, 2025

Sharing initial UX recommendations here:

tsp init improvements prototype
VS code improvements prototype

@markcowl markcowl added feature New feature or request triaged:core compiler:core Issues for @typespec/compiler 1_0_E2E labels Feb 25, 2025
@markcowl markcowl added this to the [2025] March milestone Feb 25, 2025
@allenjzhang
Copy link
Member Author

allenjzhang commented Feb 26, 2025

Per threat modeling review, we need to add following warning text for using non-builtin templates:

Warning: Downloading or using an untrusted template may contain malicious packages that can compromise your system and data. Proceed with caution and verify the source. Continue (Y/n)?

@timotheeguerin
Copy link
Member

will add that

witemple-msft pushed a commit to witemple-msft/typespec that referenced this issue Feb 27, 2025
fix microsoft#5876
fix [microsoft#5859](microsoft#5859)


## Non empty folder confirmation

<img width="560" alt="image"
src="https://github.com/user-attachments/assets/980f7a7b-35bc-4889-8e1a-3e8d3b2edfb8"
/>

## Template selection

<img width="603" alt="image"
src="https://github.com/user-attachments/assets/2295cdbc-bb89-4212-9aa7-d1023b8e9b30"
/>

## Installaling dependencies

<img width="822" alt="image"
src="https://github.com/user-attachments/assets/f8ae2e36-99fc-4bed-b4f3-8cccd8bac9cf"
/>

## Completed
<img width="586" alt="image"
src="https://github.com/user-attachments/assets/749d25d6-3182-4548-b42c-6ed64e191662"
/>


## Interupted 
<img width="421" alt="image"
src="https://github.com/user-attachments/assets/07c5acad-d115-464c-9e81-feff2fae83c7"
/>

---------

Co-authored-by: Crystal Barragan <cbarragan@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1_0_E2E compiler:core Issues for @typespec/compiler feature New feature or request triaged:core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants