Explorer: performance overhaul, stream preview, and e2e testing#93
Merged
benbernard merged 2 commits intomasterfrom Feb 24, 2026
Merged
Explorer: performance overhaul, stream preview, and e2e testing#93benbernard merged 2 commits intomasterfrom
benbernard merged 2 commits intomasterfrom
Conversation
…sting - Replace structuredClone with fast JSON clone (4x faster record cloning) - Sample-based estimateSize instead of scanning all records (~600x faster) - Stabilize wrappedDispatch with useRef to prevent cascading re-executions - Remove unused useState from useExecution to eliminate full-screen re-renders - Memoize 8 components with React.memo (TitleBar, ForkTabs, StageList, etc.) - Add stream preview to AddStageModal and EditStageModal (Tab to toggle, Enter to zoom) - Split useInput hooks to fix typing garble when TextInput is active - Fix fuzzy search ranking: name-first matching with +200 bonus, minScore threshold - Fix fromps race condition: skip UPDATE_STAGE_ARGS when args unchanged - Fix undo/redo stale cache: clear cache and lastError on UNDO/REDO - Fix execution not retrying after error + args edit (stageFingerprint dep) - Fix disabled first stage showing 0 records - Fix welcome screen 'n' key not working - Rename tui → explorer throughout codebase - Add tmux-based e2e test harness and 10 smoke tests (RUN_E2E=1 to enable) - Add comprehensive unit tests: executor, reducer, fuzzy-match, unicode, etc. - Add executor benchmark script Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Performance Benchmark Results
103 benchmarks: 17 faster, 19 slower, 67 within noise (10%)
Full benchmark resultsJSON Parsing
JSON Serialization
KeySpec Access
Core Operations
Pipeline Overhead
Record Creation & Serialization
Chain vs Pipe
Line Reading
|
Apply the full Catppuccin Mocha palette across all explorer components. Previously almost everything rendered as gray text; now each UI element uses semantic accent colors for a bright, friendly appearance. - TitleBar: mauve title, peach session, blue input, green fork, teal counts - PipelineBar: lavender cursor, mauve pipes, teal badges - StatusBar: lavender keybinds, teal undo/redo, green status messages - InspectorHeader: blue label, peach operation name, teal counts - RecordTable: lavender bold headers, colored column action hints - SchemaView: per-type coloring (green/teal/yellow/peach/mauve), pct gradient - HelpPanel: structured sections with colored headers and lavender keys - WelcomeScreen: mauve title, colored sessions and key hints - Modals: colored titles, green $ prompts, category-colored headers - ConfirmDialog: yellow border, green confirm, red cancel - Replace StageList/StageRow with compact PipelineBar, add VimTextInput Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
RUN_E2E=1 bun test tests/explorer/e2e/)Test plan
npm run test:e2e🤖 Generated with Claude Code