Releases: easylogic/contenteditable-visualizer
Releases · easylogic/contenteditable-visualizer
Release list
contenteditable-visualizer@0.2.0
Minor Changes
-
1643b09: ## Event Pair History View Enhancement
Added Features
-
Event Pair History Viewer (
EventPairHistoryViewer)- Display last N event pairs (default: 10)
- Scrollable history container
- Abnormal detection badges per pair
- InputType mismatch badges
- Timestamp information display
-
Editor Event Integration
- Collect and display plugin events within 100ms before
beforeinput - Collect and display plugin events within 100ms after
input - Group events by plugin
- Option to show/hide editor events (
showEditorEvents)
- Collect and display plugin events within 100ms before
-
Abnormal Detection Badges
- Warning badges for abnormal event pairs
- Scenario ID and description display
- InputType mismatch badges
Changes
- Integrated event pair history view into
FloatingPanel's Events tab - Added
EventPairHistoryViewerclass - Added editor event collection logic (
collectEditorEventsBefore,collectEditorEventsAfter)
-
@contenteditable/slate@0.1.4
Patch Changes
- Updated dependencies [1643b09]
- contenteditable-visualizer@0.2.0
@contenteditable/prosemirror@0.1.4
Patch Changes
- Updated dependencies [1643b09]
- contenteditable-visualizer@0.2.0
@contenteditable/lexical@0.2.1
Patch Changes
- Updated dependencies [1643b09]
- contenteditable-visualizer@0.2.0
contenteditable-visualizer@0.1.6
Patch Changes
-
74aa1b8: Add comprehensive Vitest test suite for contenteditable-visualizer
- Add vitest, @vitest/ui, and jsdom as dev dependencies
- Add vitest.config.ts with jsdom environment configuration
- Add test-setup.ts with IndexedDB mocking for test environment
- Add test files:
- utils/throttle.test.ts - throttle and debounce utility tests (6 tests)
- utils/element-id.test.ts - element ID management tests (4 tests)
- core/event-pair.test.ts - event pair extraction tests (3 tests)
- core/scenario-id.test.ts - scenario ID generation and parsing tests (14 tests)
- core/abnormal-detector.test.ts - abnormal detection logic tests (11 tests)
- core/snapshot-manager.test.ts - snapshot storage and retrieval tests (10 tests)
- plugins/base.test.ts - base plugin class tests (18 tests)
- ui/structure-renderer.test.ts - structure renderer tests (8 tests)
- Fix missing detectUnexpectedSequence method in AbnormalDetector class
- Total: 74 tests, all passing
@contenteditable/slate@0.1.3
Patch Changes
-
74aa1b8: Add comprehensive test suite for Slate plugin
- Add 15 additional test cases covering all operation types
- Test selection tracking with set_selection operations and null selection
- Test document tracking and state management
- Add edge case tests for onChange without operation, undefined operation, and multiple operations
- Verify event data structure and relatedEventId linking
- Total test coverage: 36 test cases, all passing
-
Updated dependencies [74aa1b8]
- contenteditable-visualizer@0.1.6
@contenteditable/prosemirror@0.1.3
Patch Changes
-
74aa1b8: Add comprehensive vitest test suite for ProseMirror plugin
- Add 30 test cases covering all plugin features
- Improve EditorView validation logic
- Fix dispatch method wrapping for transaction tracking
- Add indexedDB mocking for jsdom test environment
- Test edge cases including empty documents, rapid transactions, and detach/reattach scenarios
-
Updated dependencies [74aa1b8]
- contenteditable-visualizer@0.1.6
@contenteditable/lexical@0.2.0
Minor Changes
-
74aa1b8: Add Lexical plugin for contenteditable-visualizer
- Implement LexicalPlugin with update listener tracking
- Add selection, document, command, and history state tracking
- Support registerCommandListener for custom command tracking
- Add comprehensive test suite with 23 test cases
- Include full README with usage examples and API documentation
- Fix TypeScript errors for selection anchor/focus properties
- Ensure getEvents() returns PluginEvent[] for consistency with BasePlugin
Patch Changes
- Updated dependencies [74aa1b8]
- contenteditable-visualizer@0.1.6
contenteditable-visualizer@0.1.5
Patch Changes
- bae0f2d: support event fair log
@contenteditable/slate@0.1.2
Patch Changes
- Updated dependencies [bae0f2d]
- contenteditable-visualizer@0.1.5