Closed radum closed 3 years ago
@soulgalore I guess we can continue our conversation from #237 here to this over the finish line 😁
In theory everything works as it is, you can see the chunks rendering, but needs to be tested with some edge cases I guess.
Also the har entry interface is missing the chunks key so that will fail TS if we use it. We either have to copy and keep our own version of we raise it with them and hope it gets merged.
Great thank you @radum ! I have a look later this weekend.
@radum this looks good for me, was there something special you where thinking that needed to be fixed? I think the 1px instead of the "correct" width is fine, it will still help Ito show when content is sent?
Apart from that I can't think of anything else @soulgalore. I just wanted to test it using lots of examples to make sure it works fine.
As for the 1px issue, yeah for sure it is better than nothing and I think still valuable. Not sure what will be the best way to bring the correct width in though. Although we can incrementally bring that in at a later date.
Works fine for me too, @micmro is it ok for you so we can merge/release it?
@radum would you mind updating @types/har-format
to 1.2.8
to fix the _chunk
type?
@micmro Done. Not sure if you want to change the colors to look a bit better when the chunks are present. I think the contrast should be reversed. The light shade should be the bar and the dark one the chunks.
Thanks a lot @radum! I'll merge it and play around with the colours a bit and cut a new release after.
Released with 2.11.0
This the work I have done for fix #237. Is not yet finished.