tsperf / tracer

A VSCode extension to measure type complexity within a project.
https://tsperf.dev
MIT License
158 stars 4 forks source link

More UI improvements and better dev mode #38

Closed typeholes closed 5 months ago

typeholes commented 5 months ago

fixes #37

grid like layout for trace lines

somewhat reactive to page width, but still scrolls when too narrow.

srcDev package launches a bridge between the extension and ui:dev so you get bidirectional communication instead of the fixed commands/responses we had before

typeholes commented 5 months ago

If you think the UI is up to par, please move the UI commands out of experimental

typeholes commented 5 months ago

Something seems off with the tree nesting in more complicated repos, investigating ...

typeholes commented 5 months ago

I've verified that the data is correct. It looks like a reactive effect isn't getting triggered consistently.

typeholes commented 5 months ago

fixed reactivity and listener issues. performance is much better now as well.
sorting no longer triggers a fetch of the nodes. Will undraft after a test pass

typeholes commented 5 months ago

one last bug to fix in the morning: trace file names get duplicated in the UI when switching projects - need to move listener and state to appState.ts

danielroe commented 5 months ago

Looking good! A couple of comments.

https://github.com/tsperf/tracer/assets/28706372/f48b41d6-191e-4e6a-8aae-b89b5a890748