feat: Major UX improvements - inline decorations, complexity overview, suggestions, Windows fix#80
Open
q404365631 wants to merge 1 commit into
Open
Conversation
…, suggestions, Windows fix - Add inline type complexity decorations (like Error Lens) - Color-coded severity: red (>2x), yellow (>1.5x), blue (>1.2x), green (>1x) - Shows duration and proportional time inline next to identifiers - Toggle on/off via command palette - Add Type Complexity sidebar panel - Tree view showing all slow types in project - Sort by duration, proportional time, or name - Click to navigate to slow type location - Add metrics status bar - Shows slow type count, average and worst duration - Color-coded background (red/yellow for high complexity) - Add type complexity optimization suggestions - Quick fix code actions for tsperf diagnostics - Suggestions: simplify type, extract subtype, reduce depth, use interface, avoid utility types - Fix Windows path compatibility (Bug tsperf#48) - Use double quotes on Windows, single quotes on Unix - Use 'cd /d' on Windows for cross-drive navigation - Improve status bar with icons and better formatting Version bump to 0.2.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR significantly improves the user experience of the Type Complexity Tracer extension, addressing multiple open issues and adding key new features.
New Features
1. Inline Type Complexity Decorations (like Error Lens)
Tracer: Toggle Inline Decorationscommand2. Type Complexity Sidebar Panel
3. Metrics Status Bar
4. Type Complexity Optimization Suggestions
Bug Fixes
Fix: Windows path compatibility (Closes #48)
cd /don Windows for cross-drive navigation (e.g., D:\ to C:)Addresses Issues
Testing
pnpm buildVersion
Bumped from 0.1.3 to 0.2.0