Lam Tang

Results 173 comments of Lam Tang

Hi, @bytemain, 请问“terminal.type”是去一个文件里设置吗?我在界面上设置只能选择,不能输入。 > 我猜这个 onRequest 和 onNotification 的区别貌似是只有文字上的区别。它们的实现和底层的东西貌似是一样的 我目前的理解是,对前端来说,onRequest是来响应后端的sendRequest,onNotification是接受后端的单向通知,后者在消息中很高频的,前者目前我还没遇到过。

Hi,大家好! 我已经准备好了一个仓库:https://github.com/tyn1998/opensumi-devtools ~计划下一步是先把捕获到的消息传给devtools page,相关issue:https://github.com/tyn1998/opensumi-devtools/issues/4~ https://github.com/tyn1998/opensumi-devtools/issues/4 中的方案对electron不适用,故放弃。不过,做都做了,我还是在web端跑通了,大家可以在 https://github.com/tyn1998/opensumi-devtools/issues/6 看效果~ 启用Plan B,即模仿DevTron的方式,请见:https://github.com/tyn1998/opensumi-devtools/issues/7 敬请期待~

Hi,大家好! 已经有一个(非常朴素的)原型了:https://github.com/tyn1998/opensumi-devtools/pull/10 ![image](https://user-images.githubusercontent.com/32434520/177597901-70ea11d4-0c7a-40f9-bef8-43887a7fcf54.png)

一个升级版demo,支持: - 自动跟随 - 组合过滤(例子中只有一列过滤) ![2022-07-18 23 37 00](https://user-images.githubusercontent.com/32434520/179548844-544ba87c-3e72-4781-aab4-7d03dda5281a.gif) ![2022-07-18 23 27 23](https://user-images.githubusercontent.com/32434520/179546686-eedc76cd-581c-4d18-a125-210292122e74.gif) 相关PR: - https://github.com/tyn1998/opensumi-devtools/pull/12 - https://github.com/tyn1998/opensumi-devtools/pull/20

## 消息呈现方式 大家好!之前已经确认用data grid的形式来呈现通信消息,但是具体的columns没有明确过。这次构想了一下需要的列: - id:data grid中的行号,如果清空消息,那么重新编号 - time:消息捕获时的时间 - type:↑ sendNotification、↑↓ sendRequest+requestResult、↓ onNotification/onRequest - service:消息所属的服务名称 - method:消息所属的服务的方法名称(把service.method拆开来了,这样过滤的时候更方便) - send:如果send列有东西,那内容就是method的args - receive:可能是args、requestResult.data、requestResult.error、“The requested method is not registered”中的一种 (突然发现自己一直没考虑onRequest后再return给后端data的消息,如果考虑进来,那么可能会用↓↑表示onRequest+return data,于是上面的columns还要改进) ##...

# 【8.4】Changelogs 大家好,与上次比变化如下: - 支持onRequest + onRequestResult的呈现,type标记为“↓↑” https://github.com/tyn1998/opensumi-devtools/pull/24 - 按钮样式以及按钮反馈 https://github.com/tyn1998/opensumi-devtools/pull/25 - 支持更多的filters:type、service、method https://github.com/tyn1998/opensumi-devtools/pull/28 - JSON View https://github.com/tyn1998/opensumi-devtools/pull/29 https://user-images.githubusercontent.com/32434520/182811866-0811bba5-7b67-4d23-9a5c-7a9cce863750.mov 下一步计划: - 目前功能还行,质感不行,所以要统一样式,处理好一些细节 - 流量统计方面的功能

# 【8.16】更有质感的UI & 流量统计功能 & 更好的响应式布局 视频演示: https://user-images.githubusercontent.com/32434520/184924068-7c88980b-0a6c-4132-9808-456d9b16921c.mov 相关PR: - https://github.com/tyn1998/opensumi-devtools/pull/33 - https://github.com/tyn1998/opensumi-devtools/pull/40 - https://github.com/tyn1998/opensumi-devtools/pull/41 - https://github.com/tyn1998/opensumi-devtools/pull/42 - https://github.com/tyn1998/opensumi-devtools/pull/44 - https://github.com/tyn1998/opensumi-devtools/pull/45 下一步计划: - 延迟统计功能 - 删去无用代码

# 【8.21】基本功能都完成 🎉 更新内容: - 新的网络延迟功能,这个功能需要opensumi/core的支持 - 处理了在捕获状态时关闭devtools的情况 - 支持了只有在当前页面检测到opensumi/core暴露的全局HOOK才会加载devtools 视频演示(网络延迟功能): https://user-images.githubusercontent.com/32434520/185381969-cc7e9580-0126-46f7-a31e-1c01e510e2fb.mov 相关PR: - opensumi/core也需要配合[改动](https://github.com/tyn1998/opensumi-core/pull/3/files/6bc41619eb6e2fe50e777dcdfb776c1b54c50abf..26051e5c7dc9e1c05b762420d3fc47e520efe0d7) - https://github.com/tyn1998/opensumi-devtools/pull/46 - https://github.com/tyn1998/opensumi-devtools/pull/48 - https://github.com/tyn1998/opensumi-devtools/pull/49 - https://github.com/tyn1998/opensumi-devtools/pull/50 计划安排: - https://github.com/tyn1998/opensumi-devtools/issues/51 - https://github.com/tyn1998/opensumi-devtools/issues/47 - https://github.com/tyn1998/opensumi-devtools/issues/52...