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

fix: generate friendlier project names from new long package names. #5983

Merged
merged 12 commits into from
Mar 1, 2021

Conversation

benbrown
Copy link
Contributor

@benbrown benbrown commented Feb 25, 2021

Description

this applies a similar heuristic used by the server to generate pretty names for the project name based on the package name.

@microsoft/generator-microsoft-bot-conversational-core becomes "conversational_core"

this should preserve the current naming behavior, but apply it to the new flows.

Task Item

fixes #5948
fixes #5987

Screenshots

30nzOLRWFK

@benbrown benbrown added this to the R12 milestone Feb 25, 2021
@benbrown benbrown changed the title fix: generate friendlier project names from new long package names fix: generate friendlier project names from new long package names. Feb 25, 2021
@benbrown benbrown mentioned this pull request Feb 26, 2021
2 tasks
@coveralls
Copy link

coveralls commented Feb 26, 2021

Coverage Status

Coverage decreased (-0.006%) to 53.784% when pulling 53bea4f on benbrown/createstatus into 43355d4 on main.

@benbrown benbrown merged commit 8234b17 into main Mar 1, 2021
@benbrown benbrown deleted the benbrown/createstatus branch March 1, 2021 17:22
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
…icrosoft#5983)

* Fix microsoft#5948: generate friendlier project names

* fix microsoft#5987 update copy in create flow

* fix test

* remove console log

Co-authored-by: Dong Lei <donglei@microsoft.com>
Co-authored-by: Srinaath Ravichandran <srinaath27@gmail.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
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.

Copy updates for creation modal In new create flow, default name for new projects if long and unwieldy
5 participants