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

[FEATURE] 业务需要定制文件树部分的异常提示 #4364

Open
xujingli opened this issue Feb 13, 2025 · 5 comments
Open

[FEATURE] 业务需要定制文件树部分的异常提示 #4364

xujingli opened this issue Feb 13, 2025 · 5 comments
Labels
🎨 feature feature required

Comments

@xujingli
Copy link
Contributor

Image

由于多个nas挂载到同一个目录下,导致ide容器中的工作区无法正常显示,需要在图中给用户一些文案提示

@xujingli xujingli added the 🎨 feature feature required label Feb 13, 2025
@Ricbet
Copy link
Member

Ricbet commented Feb 13, 2025

@erha19 帮忙看下?看起来是需要一个文件树的 welcome 视图,但我看代码里已经注册上去了,但没有展示
https://github.com/opensumi/core/blob/main/packages/file-tree-next/src/browser/file-tree-contribution.ts#L145

@erha19
Copy link
Member

erha19 commented Feb 13, 2025

@xujingli 这里看起来是文件目录过多导致的奔溃?也许这个 PR 合并了能解决这个问题 #3988

@xujingli
Copy link
Contributor Author

xujingli commented Feb 13, 2025

我们业务上需要禁用某些路径(比如用户当前打开的是 /home/log 目录)的展示,并且在上面空白处给一个提示。
上图中空白的问题,刚刚排查是后端的问题,已经解决了。

@Ricbet
Copy link
Member

Ricbet commented Feb 14, 2025

@erha19 其实问题不是文件目录奔溃的问题,而是空目录的时候不展示那个 welcome 视图了

@Ricbet
Copy link
Member

Ricbet commented Feb 14, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 feature feature required
Projects
None yet
Development

No branches or pull requests

3 participants