-
Notifications
You must be signed in to change notification settings - Fork 24
Add in situ XRD block that can handle temperature and electrochemical data #1287
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
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1287 +/- ##
=======================================
Coverage 80.12% 80.12%
=======================================
Files 70 70
Lines 4794 4794
=======================================
Hits 3841 3841
Misses 953 953
🚀 New features to boost your workflow:
|
c562212 to
91f3404
Compare
datalab
|
|||||||||||||||||||||||||||||||||||||
| Project |
datalab
|
| Branch Review |
bes/xrd_insitu_block_pre_rebase
|
| Run status |
|
| Run duration | 07m 11s |
| Commit |
|
| Committer | Ben Smith |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
2
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
216
|
| View all changes introduced in this branch ↗︎ | |
Tests for review
cypress/e2e/batchSampleFeature.cy.js • 2 failed tests • End-to-end tests (chrome)
| Test | Artifacts | |
|---|---|---|
| Batch sample creation > checks the copied samples |
Test Replay
Screenshots
|
|
| Batch sample creation > checks the created samples |
Test Replay
Screenshots
|
|
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.
Pull Request Overview
This PR adds support for XRD insitu data visualization by implementing a new XRDInsituBlock component and registering it as a custom block type. The changes enable users to visualize in-situ X-ray diffraction data alongside temperature or electrochemical data.
- Add
XRDInsituBlockcomponent for XRD insitu data visualization - Register the new component in the custom block types registry
- Enhance UV-Vis insitu block with scan time input functionality
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
webapp/src/resources.js |
Imports and registers the new XRDInsituBlock component in the custom block types |
webapp/src/components/datablocks/XRDInsituBlock.vue |
Implements the complete XRD insitu visualization component with folder selection and data granularity controls |
webapp/src/components/datablocks/UVVisInsituBlock.vue |
Adds scan time input field to the existing UV-Vis insitu block |
5e04cde to
c7aff64
Compare
fea1280 to
2e86260
Compare
2e86260 to
913fa95
Compare
1a664ff to
da1b336
Compare
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 👍
373184f to
6b419a5
Compare
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.
Looks good and works well! Just one minor comment that we could do in a follow up
948660a to
678bbbd
Compare
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.
Only one minor fix up, then I think this is good to go!
Used folder select component for selecting folders remove.vue from component importing Removed duplicate .txt from cycleblock accepted file extensions
scna time behaviour - changed behaviour of scan time box for when it triggers a recalculation of the data Remove duplicate scan time entry
Removed isEchemMode from data and made it a boolean based on time_series_source, which has default log Switched to two buttong for mode Changed label to log Updated colour of new mode text Use released in situ plugin version
7647a99 to
d252cac
Compare
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.
Great work, thanks @be-smith!
Add XRD insitu block for PR datalab-org/datalab-app-plugin-insitu#67
The new block should look as below with the option to toggle between modes