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

build: 截取构建时CLI提示信息 | intercept the CLI prompt information during the build #4192

Merged
merged 1 commit into from
May 10, 2023

Conversation

ZiuChen
Copy link
Contributor

@ZiuChen ZiuChen commented May 10, 2023

PR Desc

  • 之前展示的是完整路径 当路径过长时会导致提示信息过长 选取体验很差

  • 做统一截取处理 只展示能够区分当前组件的部分

  • 可以优化部分场景下的开发体验:比如下例中将终端放在一侧的场景

  • 组件、插件、doc做了统一处理

  • 这里使用replace局部替换的代码中,使用的/分隔符是否适用于Windows存疑

Screenshots

处理前:

Snipaste_2023-05-10_17-12-49

处理后:

Snipaste_2023-05-10_17-12-22

Commit Details

build: 缩短构建组件时CLI提示长度

  • 之前展示的是完整路径 当路径过长时会导致提示信息过长 选取体验很差
  • 做统一截取处理 只展示能够区分当前组件的部分

- 之前展示的是完整路径 当路径过长时会导致提示信息过长 选取体验很差
- 做统一截取处理 只展示能够区分当前组件的部分
@the1812 the1812 merged commit aecaf18 into the1812:preview-features May 10, 2023
1 check passed
@ZiuChen ZiuChen deleted the build/modify-cli-choices branch May 12, 2023 03:06
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.

None yet

2 participants