Skip to content

Show the full housing location and add a morning health room flag - #41

Open
labkey-martyp wants to merge 2 commits into
release26.7-SNAPSHOTfrom
26.7_fb_housing_location_display
Open

Show the full housing location and add a morning health room flag#41
labkey-martyp wants to merge 2 commits into
release26.7-SNAPSHOTfrom
26.7_fb_housing_location_display

Conversation

@labkey-martyp

@labkey-martyp labkey-martyp commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Rationale

Housing history and the animal snapshot panel were displaying only the bare cage, losing the room that qualifies it, so two animals in identically-named cages in different rooms were indistinguishable. This also provisions a morning health flag on rooms so the rooms included in morning health checks can be maintained as lookup data, and drops the requirement that a housing reason be supplied.

Related Pull Requests

None.

Changes

  • The housing history data source and the snapshot panel now read the room-qualified location key directly rather than traversing to the cage lookup.
  • Added a morning health flag to the rooms lookup table.
  • Made the reason field optional on housing records.
  • Added a test that houses an animal and verifies the snapshot reports the full location.

housing.cage holds the room-qualified location key, so the history data source and snapshot panel now read it directly instead of traversing to the cage lookup, which dropped the room. Also provisions a morningHealth flag on rooms and makes the housing reason optional.
Houses a dedicated animal against a cage location and asserts Animal Details reports the full location rather than the bare cage name.
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.

1 participant