dnnrly / hoofli Goto Github PK
View Code? Open in Web Editor NEWGenerate PlantUML diagrams from Chrome or Firefox network inspections
License: Apache License 2.0
Generate PlantUML diagrams from Chrome or Firefox network inspections
License: Apache License 2.0
Is your feature request related to a problem? Please describe.
Chrome has additional _initiator
block. This seems to include information about what has invoked each network fall.
Describe the solution you'd like
It would be great if we could see which scripts or user events initiate network calls in our diagrams
Describe alternatives you've considered
Nothing yet. This appears to be specific to Chrome but this information might be present in other browsers
Additional context
n/a
Describe the bug
It appears that we aren't actually running any of our tests when we raise a PR. Could this be only for contributors? Or owners too?
Describe the bug
Some tests swap expected and actual result which leads to confusing outputs in case of failing tests. At time of writing, this affects these test methods:
To Reproduce
Steps to reproduce the behavior:
test/reference/plantuml/simple-example.puml
with this is not puml codeTestDrawHar_SinglePage
reading:
Not equal:
expected: "@startuml ....."
actual: "this is not puml\n"
Expected behavior
Test failure report should read
Not equal:
expected: "this is not puml\n"
actual: "@startuml ....."
Is your feature request related to a problem? Please describe.
When a request is blocked for some reason, the response is rendered with status code zero. Reading the field response._error
might help in finding out why the request was blocked.
Describe the solution you'd like
Maybe show a note on the connection with the contents of response._error
(for example net::ERR_BLOCKED_BY_CLIENT
)
Describe alternatives you've considered
Maybe rework the colors used for highlighting the initiator so red can be used for blocked requests. In any case, the return from the request must not be shown.
Additional context
Example request (truncated for brevity):
{
"_initiator": {...},
"_priority": "Low",
"_resourceType": "image",
"cache": {},
"pageref": "page_1",
"request": {...},
"response": {
"status": 0,
"statusText": "",
"httpVersion": "",
"headers": [],
"cookies": [],
"content": {
"size": 0,
"mimeType": "x-unknown"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": -1,
"_transferSize": 0,
"_error": "net::ERR_BLOCKED_BY_CLIENT"
},
"serverIPAddress": "",
"startedDateTime": "2022-10-28T16:29:31.302Z",
"time": 6.7949999998973,
"timings": {
"blocked": 6.7949999998973,
"dns": -1,
"ssl": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"_blocked_queueing": -1
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.