-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: FIT-380: Remove the default zoom calculation for Audio rendering and render full waveform #7980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… and render full waveform
✅ Deploy Preview for label-studio-docs-new-theme ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for label-studio-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for heartex-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for label-studio-playground ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #7980 +/- ##
===========================================
+ Coverage 62.62% 64.90% +2.28%
===========================================
Files 712 503 -209
Lines 50166 33381 -16785
Branches 8585 8583 -2
===========================================
- Hits 31414 21667 -9747
+ Misses 18749 11711 -7038
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
cloudmark
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @bmartel
|
Tested it as well on my branch (on a big file and it works well) |
|
/git merge
|
|
/fm merge
|
This pull request removes the
setInitialZoommethod and its associated call from theVisualizerclass inVisualizer.ts. These changes simplify the initialization process by eliminating the logic for setting an initial zoom level based on a fixed duration.Simplification of initialization logic:
Visualizer.ts: Removed thesetInitialZoommethod, which calculated and set an initial zoom level to display 10 seconds of audio data. This includes the removal of the feature flag check (isFF(FF_AUDIO_SPECTROGRAMS)) and its associated logic.Visualizer.ts: Removed the call tosetInitialZoomin the constructor, streamlining the initialization process.