Songhn
Songhn
Hello, the description of the ASOC2022 idealist looks similar to the projects listed in Open Source Promotion Plan. The ideas about application development and even their associated GitHub projects are...
Thank you for your reply. since you don't have any plans at the moment, I want to design a new Vue 3 UI library by referring to @geist-ui/style, any suggestions?
> > Thank you for your reply. since you don't have any plans at the moment, I want to design a new Vue 3 UI library by referring to @geist-ui/style,...
Related issue: javascript-tutorial/zh.javascript.info#897
Self-assigned, /cc @erha19 **待讨论的问题** - [x] 对于 cut 操作,跨窗口难以维护状态响应,是将 cut 降级为 copy 还是采用 postMessage 等跨窗口通信方式回调 cut - [x] 关于操作顺序的覆盖,当前考虑的处理方式是如果本地窗口有相关操作的中间态,则优先本地窗口操作,之后再考虑跨窗口可能性。但可能存在跨窗口复制在本地窗口时间之后在执行粘贴的情况,是否考虑维护一个 unix 时间戳等方式再同时有两种来源的情况下考虑时间线顺序 --- 先考虑实现为: - cut 降级为 copy - 不考虑顺序,页面内部操作优先
Pull request: web: https://github.com/opensumi/core/pull/1384 electron: WIP
> @songhn233 目前还有遇到什么问题吗?预计什么时候把基础功能写完? 正好准备最近两周把剩下部分完成了, 因为 review 后续也会有一定工作量 前段时间应届生的一些准备工作花了不少时间 😂
在 Electron 适配时发现对于跨目录项目原先的 `getNodeByPathOrUri` 支持有问题,`getNodeByPathOrUri` 所有操作在 FileTree 对应的 root 下操作,而多窗口场景下基本面对的是不同的 root > 之前 web 下指定了固定 workspace,所以跨窗口操作时能获取到相同的 root,而实际上不同 root 下会出现问题 发现 workspace 有类似思路的处理,但需要特殊判断后对于预设的 roots 进行处理 不过发现虽然 workspace 能正确处理拖拽的情况,但是对于复制/粘贴操作依然有问题,在获取 parent 时返回为 undefined...
### Native 增强补充说明 > https://github.com/microsoft/vscode/issues/164 #### 从 native file explorer 中拖拽文件到 OpenSumi 原先已支持。判断 native 来源后通过 DataTransfer.files 读取即可,浏览器普遍兼容 #### 从 native file explorer 中复制文件到 OpenSumi 之前准备采用 https://chromestatus.com/feature/5671807392677888 这里写了个 Demo,可以正常获取到 File 文件,应该是可行的(>=...