Skip to content

[bot] Fast-forward for 26.11.1 - #1052

Merged
github-actions[bot] merged 3 commits into
release26.11from
26.11_ff_bot_26.11.1
Nov 24, 2026
Merged

github-actions[bot] merged 3 commits into
release26.11from
26.11_ff_bot_26.11.1

Conversation

@github-actions

Copy link
Copy Markdown

Generated automatically.
Approve all matching PRs simultaneously.
Approval will trigger automatic merge.
View all PRs: https://internal.labkey.com/Scrumtime/Backlog/harvest-gitOpenPullRequests.view?branch=26.11_ff_bot_26.11.1

jallentxbiomed and others added 3 commits November 17, 2026 15:57
New React page (src/client/BiocontainmentObservationReview/)
- Added a review page, registered in entryPoints.js and linked from a
new Biocontainment section on the EHR landing page (begin.html).
- Observations Awaiting Review grid: shows Review Required rows, uses
single selection, and pages at 100 rows. The new hidden Review.qview.xml
view sorts it by location, date and animal.
- Detail panel for the selected observation:
- shows all 13 scored parameters next to the animal's prior observation
at the same location, with a link to its history;
  - shows the clinical score and the prior score.
- Edit Values mode:
  - lets the reviewer correct scored values and carry-overs;
  - requires a reason for each changed parameter;
- lets the reviewer edit the comment (80-character limit, no reason
needed).
- Approve observation button: approves one record at a time and shows
server rejections (for example, author approving their own record) on
the page.
- Footer link to observations approved in the last 7 days.
- Supporting files: api/observation.ts (fetch, approve, correct, prior
lookup), constants/fields.ts (scored fields and their allowed values
from TXB 904-1), services/clinicalScore.ts, services/formatDate.ts, page
styles.

Trigger script (queries/study/BiocontainmentObservations.js, new)
- New records start as Review Required, however they arrive.
- Changing a scored value, a carry-over or the comment sends an approved
record back to Review Required.
- Manual corrections require a reason for each changed parameter.
- An ETL re-merge with identical values keeps the existing approval.
- Approving checks that the approver isn't the record's author. It then
records:
  - reviewedBy;
  - reviewedByName, the printed name;
  - reviewedDate;
  - reviewMeaning.

Java
- SNPRC_EHRTriggerHelper.getPrintedName() returns the user's first and
last name, or their display name if either is missing. It runs
server-side, so approvers don't need permission to see user details.

Dataset and query metadata
- datasets_metadata.xml adds reviewedBy, reviewedByName, reviewedDate
and reviewMeaning to the dataset.
- BiocontainmentObservations.query.xml formats date, created and
reviewedDate as MM/dd/yyyy HH:mm.

ETL
- etls/BiocontainmentObservations.xml adds a QCStateLabel constant.
Without it, rows from CAMP default to Completed, and the trigger can't
set Review Required.

Styles
- Moved the shared grid-panel styles out of sndLookupsManagement.scss
into Shared/styles/components/_labkeyGridPanel.scss, so SND Lookups and
the review page both use them. The rules themselves are unchanged.

Tests (tests/)
- 57 React Testing Library tests: the page, the detail panel, the API
calls, the clinical score, the field definitions and date formatting.

---------

Co-authored-by: Marty Pradere <martyp@labkey.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: RameshRaparthi <135648797+RameshRapa@users.noreply.github.com>
Co-authored-by: RameshRaparthi <rraparthi@txbiomed.org>
@github-actions
github-actions Bot merged commit 460354a into release26.11 Nov 24, 2026
17 of 20 checks passed
@github-actions
github-actions Bot deleted the 26.11_ff_bot_26.11.1 branch November 24, 2026 18:52
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.

3 participants