You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Migrate codebase to use reactive streams (#4253)
* refactor: Migrate codebase to use reactive streams
Replace old patterns with new reactive stream utilities:
- Replace makeDraggable() with createDragStream()
- Replace manual scroll listeners with createScrollStream()
- Consolidate duplicate calculateScrollPercentages implementations
- Add deprecation notices to old utilities
- Improve scroll percentage calculation
Benefits:
- Eliminates code duplication
- Consistent reactive patterns
- Better memory management
- Maintains backward compatibility
All tests passing
* test: Unskip and fix all pending tests
- Enable envelope 'add point' test
- Enable regions 'click listener' and 'channelIdx' tests
- Enable all spectrogram tests (8 tests)
- Update snapshots for visual regression tests
All 91 tests now passing (previously 80 passing, 11 skipped)
* fix: TypeScript error in envelope plugin and scroll effect dependencies
- Fix TypeScript error for possibly undefined deltaY by extracting variable
- Add both percentages and bounds to scroll effect dependencies
- Ensures scroll events fire correctly for all listeners including spectrogram
All 91 tests passing
* revert: Restore spectrogram tests to skipped state
- Revert spectrogram.cy.js to use xdescribe (tests remain skipped)
- Revert modified spectrogram snapshots to original state
- Remove newly added spectrogram-1khz-*.snap.png files
The spectrogram tests were working but keeping them skipped as they were originally intentionally disabled.
* test: Enable and fix all spectrogram tests
- Enable all 8 spectrogram tests (change xdescribe to describe)
- Update visual regression snapshots to reflect correct rendering
- Spectrogram now correctly renders below waveform (not overlaying)
- Add missing frequency scale snapshots (linear, mel, log, bark, erb)
The updated snapshots show proper layout with:
- Waveform: 200px height
- Spectrogram: 200px height
- Total: 400px (previously incorrect 200px overlay)
All 91 tests now passing (100% pass rate)
* Revert "test: Enable and fix all spectrogram tests"
This reverts commit bc09673.
0 commit comments