This repository has been archived by the owner on Aug 24, 2022. It is now read-only.
generated from tyn1998/chrome-extension-boilerplate-react
-
Notifications
You must be signed in to change notification settings - Fork 0
[feat] 按照protocol monitor的样式来设计,简直是量身定做 #11
Comments
还有消息的size,这个size先直接算parse后的字符串的size,具体发送的时候怎么压缩的不去管。 |
这两种情况在呈现的时候可以考虑单元格背景会红色表示出错(或其他方式) |
找到了protocol monitor的源码:https://github.com/ChromeDevTools/devtools-frontend/blob/main/front_end/panels/protocol_monitor/ProtocolMonitor.ts 但是,这是属于devtools-fronted的一部分,看上去直接抄是不大有戏的。 |
JSON parse view参考devtools-frontend: |
如果不搞JSON view,则横向可能会有滚动条,这个时候要加冻结表格列功能(参考antd)。 |
把devtools-frontend的代码改写成react实在不是个简单的事情,于是相中了react-data-grid组件:支持调整宽度和冻结。 |
tyn1998
changed the title
按照protocol monitor的样式来设计,简直是量身定做
[feat] 按照protocol monitor的样式来设计,简直是量身定做
Jul 17, 2022
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
method在sendRequest/sendNotification/onRequest/onNotification都能拿到,要解决的问题是sendRequest和requestResult怎么对应起来。
The text was updated successfully, but these errors were encountered: