Skip to content

CageuUI ghost cages functionality - #1012

Merged
LeviCameron1 merged 6 commits into
release26.3-SNAPSHOTfrom
26.3_fb_cageui_ghost_cages
Aug 17, 2026
Merged

CageuUI ghost cages functionality#1012
LeviCameron1 merged 6 commits into
release26.3-SNAPSHOTfrom
26.3_fb_cageui_ghost_cages

Conversation

@LeviCameron1

Copy link
Copy Markdown
Collaborator

Rationale

Added ghost cage functionality for rack assignment to the rooms in the cageUI project.

Related Pull Requests

Changes

  • New sql script to add ghost cage table
  • Code to handle ghost cage assignment and renumbering.
  • Species check for how to handle renumbering on rooms
  • Will need to add rack type for ghost cage once this gets put on production.

@aschmidt34 aschmidt34 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Everything looks good, made a few comments but nothing breaking so this can be merged whenever.
Only thing to triple check is that there will never be a time when the cage number is 0 and NOT a ghost cage. I don't think this is possible, but just wanted to flag it for your consideration.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Make sure there are no UI (report/query, dropdowns, etc.) using these old lookups.

Seems like you replaced this with the rack_objectid and cage_objectid so this is correct, just wanted to make sure.

rack_group INTEGER NOT NULL,
rack_objectid VARCHAR NOT NULL,
group_rotation INTEGER NOT NULL,
cage INTEGER NOT NULL,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Most places in your CageUI (like cageUi.cage_history) use VARCHAR for 'cage' and INTEGER for 'cage_number'. Not sure if this is a typo or intentional.

cageObjId: res.rows[0].cage_objectid,
positionId: res.rows[0].positionid,
rackGroup: res.rows[0].rack_group,
rack: 0,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks odd as the rest are imported from 'res.rows', but I assume this '0' assignment is the entire point of this fetchGhostCage function. If that's the case, this is good to go.

@LeviCameron1
LeviCameron1 merged commit 70cbf00 into release26.3-SNAPSHOT Aug 17, 2026
6 of 9 checks passed
@LeviCameron1
LeviCameron1 deleted the 26.3_fb_cageui_ghost_cages branch August 17, 2026 22:18
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.

2 participants