Skip to content
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

feat: scale bar for zoom (SCE-26, SCE-25, SCE-27) #1125

Merged
merged 7 commits into from
Oct 8, 2024

Conversation

kaloster
Copy link
Contributor

@kaloster kaloster commented Sep 26, 2024

https://caring-feline.dev-sc.dev.czi.team/d/super-cool-spatial.cxg/
https://caring-feline.dev-sc.dev.czi.team/d/pbmc3k.cxg/

  • Added OpenSeaDragon scale bar plugin
  • Fixed dot size scaling for spatial
  • Revised default dot color for spatial to dark gray
fullres.mov

@kaloster kaloster added the stack label Sep 26, 2024
Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.60%. Comparing base (1f0048f) to head (af6f0fa).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1125   +/-   ##
=======================================
  Coverage   77.60%   77.60%           
=======================================
  Files          92       92           
  Lines        7162     7162           
=======================================
  Hits         5558     5558           
  Misses       1604     1604           
Flag Coverage Δ
frontend 77.60% <ø> (ø)
javascript 77.60% <ø> (ø)
unitTest 77.60% <ø> (ø)

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.

@kaloster kaloster force-pushed the kaloster/osd-scalebar branch 2 times, most recently from a8a79e5 to d7cb0a9 Compare October 1, 2024 23:09
@kaloster kaloster force-pushed the kaloster/osd-scalebar branch from 1a986c5 to 8eee3fa Compare October 1, 2024 23:21
@kaloster kaloster force-pushed the kaloster/osd-scalebar branch 3 times, most recently from bb6dafe to 0e72325 Compare October 4, 2024 21:28
@kaloster kaloster changed the title feat: scale bar for zoom WIP (SCE-26) feat: scale bar for zoom WIP (SCE-26, SCE-25, SCE-27) Oct 4, 2024
@kaloster kaloster requested a review from tihuan October 7, 2024 16:50
@kaloster kaloster marked this pull request as ready for review October 7, 2024 16:50
@kaloster kaloster force-pushed the kaloster/osd-scalebar branch 2 times, most recently from 6f47670 to a12442b Compare October 7, 2024 19:55
@@ -91,7 +91,7 @@ const Controls = (
loading: false,
},
imageOpacity: isTest ? 0 : 100,
dotOpacity: 50,
dotOpacity: 100,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

As per Harley - instead of setting default opacity, update the default color to dark gray for spatial to work with mix blend mode effect

@tihuan tihuan requested a review from hthomas-czi October 7, 2024 20:40
@kaloster kaloster changed the title feat: scale bar for zoom WIP (SCE-26, SCE-25, SCE-27) feat: scale bar for zoom (SCE-26, SCE-25, SCE-27) Oct 7, 2024
Copy link

@hthomas-czi hthomas-czi left a comment

Choose a reason for hiding this comment

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

Looks great!

@kaloster kaloster force-pushed the kaloster/osd-scalebar branch from f1c318c to f265734 Compare October 8, 2024 13:14
Copy link
Contributor

@tihuan tihuan left a comment

Choose a reason for hiding this comment

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

HURRAY!! You're a hero, @kaloster 🔥 🔥 🔥 🔥 🔥

Thanks so much! LGTM Just one non-blocking nit 🙏

client/src/components/Graph/Graph.tsx Outdated Show resolved Hide resolved
@tihuan
Copy link
Contributor

tihuan commented Oct 8, 2024

LGTM thank you for helping clean up! ✨

@kaloster kaloster force-pushed the kaloster/osd-scalebar branch from bf53664 to f9dbb3f Compare October 8, 2024 20:43
@kaloster kaloster merged commit 49e8d14 into main Oct 8, 2024
31 checks passed
@kaloster kaloster deleted the kaloster/osd-scalebar branch October 8, 2024 20:58
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.

3 participants