Repository navigation
Record who checked an aliquot out; Checked out by me filter; no-owner report - #202
Merged
Merged
Conversation
… report Closes #192. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Replace the boxed checkbox and the filter chips for the two yes/no filters with pills that are links toggling their query parameter. The checked-out pill shows the user's In Use count. Singular count text; aria-label on Search. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…sposed Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
olsonjp
added a commit
that referenced
this pull request
Nov 11, 2026
#202 was squash-merged, so take main's version of its files. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #192
What it does
checked_out_by,checked_out_at; migration0008, both nullable, no backfill)./samples/list/?type=aliquot&checked_out_by=me). It shows the signed-in user's In Use aliquots, shows their count on the pill, and adds a Checked Out time column. The list already has sample, type and passage.aria-label, and the Search button now has one. The count text is singular for one result ("1 aliquot found"). The parameter name stayshide_finished.reports/README.md.aliquot_updated. Other roles get no tick boxes and a 403 if they post directly. It works on the page's 50 rows at a time; select-all across pages is not included.How I read the ambiguous parts
Not in this PR (agreed split)
The Dashboard card for your checked-out aliquots, Create child prefill, a Done action, a Check out button on Find Aliquot results, and a manager tile come in later PRs. This PR only makes the data and the filtered list available.
Verification
sample/tests/test_checked_out.pyandreports/test_checked_out_no_owner.py. They cover recording on checkout, keeping owner and time after Exhausted, deleting the user, the detail-page rows, the filter (only my In Use aliquots, with search and sort, other values ignored), the pills (state, toggle links, count) and the report (only ownerless In Use, pagination, the Reports page link). Full suite: 596 tests, OK.makemigrations --checkis clean.🤖 Generated with Claude Code