Open
Conversation
Author
|
补充一点设计说明:之所以区分 |
Owner
PR 评审反馈感谢贡献!整体方向很好,有几点建议:1. 关于 .env 配置引导不建议引导用户修改 .env 配置,原因:
2. 改进建议
总结:方向正确,调整以上细节后可以合并。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
/project list在没有可用项目时,也缺少和目录配置相关的明确引导变更
.env/ Web 管理面板 / 混合模式)核心行为 -> 工作目录与项目 -> 允许的目录白名单(ALLOWED_DIRECTORIES).env还是 Web 管理面板配置/project list在无可用项目时复用同一套目录配置引导,并保留PROJECT_ALIASES提示.env、Web 管理面板、混合模式和项目列表空状态场景验证
npm test -- tests/directory-policy.test.ts