Skip to content

Conversation

@be-smith
Copy link
Contributor

@be-smith be-smith commented Nov 10, 2025

Added info hover panels to data granularity and sample granularity. Added a box for File pattern so supply glob_str to the backend for matching patterns in the files. (E.g "summed" to grab all the summed mythen files for XRD data).

Default behaviour if nothing is added to File pattern is to match all files.

Screenshot 2025-11-10 at 22 04 04

@codecov
Copy link

codecov bot commented Nov 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.04%. Comparing base (a5270c4) to head (3032cd9).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1412   +/-   ##
=======================================
  Coverage   80.04%   80.04%           
=======================================
  Files          70       70           
  Lines        4836     4836           
=======================================
  Hits         3871     3871           
  Misses        965      965           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cypress
Copy link

cypress bot commented Nov 10, 2025

datalab    Run #4076

Run Properties:  status check passed Passed #4076  •  git commit f0586c679f ℹ️: Merge d355857a44c612cb6fc2509d68d7e42dfd2363af into a5270c45fef12bbf9d0459b1e531...
Project datalab
Branch Review bes/XRD_insitu_improvements
Run status status check passed Passed #4076
Run duration 07m 41s
Commit git commit f0586c679f ℹ️: Merge d355857a44c612cb6fc2509d68d7e42dfd2363af into a5270c45fef12bbf9d0459b1e531...
Committer Ben Smith
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 354
View all changes introduced in this branch ↗︎

@be-smith be-smith marked this pull request as ready for review November 11, 2025 00:29
@ml-evs ml-evs force-pushed the bes/XRD_insitu_improvements branch from e925242 to 9e61224 Compare November 11, 2025 09:58
Copy link
Member

@ml-evs ml-evs left a comment

Choose a reason for hiding this comment

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

Please bump the version number of the plugin here after merging the LDE PR

@ml-evs ml-evs added this to the v0.6.x milestone Nov 11, 2025
Copy link
Contributor

@BenjaminCharmes BenjaminCharmes left a comment

Choose a reason for hiding this comment

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

LGTM, working great!

For consistency purposes, I think we should refactor this in a future PR to:

  • Use Popper.js (like StyledBlockInfo and StyledBlockHelp) instead of the native title attribute, which has a slower delay (~1s) and doesn't match our UI styling
  • Add hover effects on the info icon (color transition)
  • Use cursor: pointer instead of cursor: help for consistency

Even better would be to create a generic HelpTooltip component that could be reused throughout the app and potentially replace the similar logic in StyledBlockInfo and StyledBlockHelp.

@ml-evs ml-evs force-pushed the bes/XRD_insitu_improvements branch from d355857 to 3032cd9 Compare November 12, 2025 21:56
Copy link
Member

@ml-evs ml-evs left a comment

Choose a reason for hiding this comment

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

Let's merge this and implement @BenjaminCharmes's suggestions in a future PR!

@ml-evs ml-evs added the webapp For issues/PRs pertaining to the web interface label Nov 12, 2025
@ml-evs ml-evs merged commit 4ed958f into main Nov 12, 2025
14 of 15 checks passed
@ml-evs ml-evs deleted the bes/XRD_insitu_improvements branch November 12, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

webapp For issues/PRs pertaining to the web interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants