Skip to content

Conversation

@bmartel
Copy link
Contributor

@bmartel bmartel commented Jul 14, 2025

This pull request removes the setInitialZoom method and its associated call from the Visualizer class in Visualizer.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 the setInitialZoom method, 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 to setInitialZoom in the constructor, streamlining the initialization process.

@bmartel bmartel requested a review from a team as a code owner July 14, 2025 22:37
@netlify
Copy link

netlify bot commented Jul 14, 2025

Deploy Preview for label-studio-docs-new-theme ready!

Name Link
🔨 Latest commit 4e152bf
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-docs-new-theme/deploys/68764e4a6747d90008a16ed6
😎 Deploy Preview https://deploy-preview-7980--label-studio-docs-new-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Jul 14, 2025

Deploy Preview for label-studio-storybook ready!

Name Link
🔨 Latest commit 4e152bf
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-storybook/deploys/68764e4aaf77a70008e1c217
😎 Deploy Preview https://deploy-preview-7980--label-studio-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Jul 14, 2025

Deploy Preview for heartex-docs ready!

Name Link
🔨 Latest commit 4e152bf
🔍 Latest deploy log https://app.netlify.com/projects/heartex-docs/deploys/68764e4a639ade00082ac54b
😎 Deploy Preview https://deploy-preview-7980--heartex-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@bmartel bmartel requested review from cloudmark and removed request for a team July 14, 2025 22:37
@github-actions github-actions bot added the fix label Jul 14, 2025
@netlify
Copy link

netlify bot commented Jul 14, 2025

Deploy Preview for label-studio-playground ready!

Name Link
🔨 Latest commit 4e152bf
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-playground/deploys/68764e4a97c0a70008e75206
😎 Deploy Preview https://deploy-preview-7980--label-studio-playground.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link

codecov bot commented Jul 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.90%. Comparing base (b1f6581) to head (4e152bf).

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              
Flag Coverage Δ
lsf-e2e 59.79% <ø> (?)
lsf-integration 54.43% <ø> (-0.03%) ⬇️
lsf-unit 8.38% <ø> (+<0.01%) ⬆️
pytests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@cloudmark cloudmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @bmartel

@cloudmark
Copy link
Contributor

Tested it as well on my branch (on a big file and it works well)

@bmartel
Copy link
Contributor Author

bmartel commented Jul 15, 2025

/git merge

Workflow run
Successfully merged: create mode 100644 label_studio/core/tests/test_db_utils.py

@bmartel
Copy link
Contributor Author

bmartel commented Jul 15, 2025

/fm merge

Command Description
/fm sync Sync upstream prs and merge with pull request base

@robot-ci-heartex robot-ci-heartex merged commit ae2afca into develop Jul 15, 2025
46 checks passed
@robot-ci-heartex robot-ci-heartex deleted the fb-fit-380 branch July 15, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants