Skip to content

Conversation

@KatyTaylor
Copy link
Contributor

@KatyTaylor KatyTaylor commented Nov 11, 2025

Closes #5272

Changes proposed in this pull request

  • add new batch model method to verify amp plate layout, similar to tube layout verification but with different format barcodes
  • adapts the 'verify' page to be generic & behave slightly differently for tubes vs plates
  • add sidebar link for verifying AMP plates

Instructions for Reviewers

[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to main]
    - Check story numbers included
    - Check for debug code
    - Check version

@codecov
Copy link

codecov bot commented Nov 12, 2025

Codecov Report

❌ Patch coverage is 71.73913% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.13%. Comparing base (1868d38) to head (8a73b5b).
⚠️ Report is 17 commits behind head on develop.

Files with missing lines Patch % Lines
app/controllers/batches_controller.rb 26.66% 11 Missing ⚠️
app/models/batch.rb 92.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5349      +/-   ##
===========================================
- Coverage    87.13%   87.13%   -0.01%     
===========================================
  Files         1452     1452              
  Lines        32404    32436      +32     
  Branches      3382     3386       +4     
===========================================
+ Hits         28236    28263      +27     
- Misses        4154     4159       +5     
  Partials        14       14              

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

🚀 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.

@KatyTaylor KatyTaylor marked this pull request as ready for review November 26, 2025 15:50
Copy link
Member

@yoldas yoldas left a comment

Choose a reason for hiding this comment

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

Looks good.

<%= page_title "Verify #{@verification_flavour.to_s.humanize} Layout", "Batch #{@batch.id}" %>
<div class="info">
Please scan the barcodes from the sample tubes into the table below.
<%= "Please scan the barcodes from the #{@verification_flavour.to_s.humanize.downcase.pluralize} into the table below." %>
Copy link
Member

Choose a reason for hiding this comment

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

note: AMQ will be lowercase in ... from the amq plates into the ... , but OK.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes I know... was hoping it wasn't too important 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Y25-586 - As a TL (Tris B), I would like to be able to validate the plates layout at the Amplification batch task.

3 participants