Skip to content

Conversation

@csebranek
Copy link
Collaborator

Rationale

Includes barrier access updates, updates to dockerhub build, and react package updates.

Related Pull Requests

Changes

csebranek and others added 30 commits November 20, 2024 13:44
…16 was causing build issues with @testing-library - perhaps from @labkey/components incompatibility
* Added necropsy details to WNPRC_EHR

* Switched order of tables being presented in necropsy details

* Added complete information for necropsy request form to necropsy details
* - In Blood Draws Today (All, Animal Care, and Vet Staff), I changed 'Assignment Status' column header to 'Unassigned' and 'Completion Status' to 'Incomplete'.  I also sorted all results so Incomplete draws show up first.
- In BloodDrawReviewTriggerNotification, I made it so warnings only send when the draw has a date of today.
- In BloodDrawReviewDailyNotification, I added a check to verify that there are no upcoming blood draws that will overdraw.

- TODO: After testing this on test servers, make sure to remove test dates in BloodDrawsTodayAll and BloodDrawReviewDailyNotification.

* Migrated automated test changes from 23.11 to 24.3.  23.11_notificationRevamps is now ready to be deleted.

* Added blood overdraw trigger notification.

* Registered new notification.

* Updated code so message sends when testing/running in browser.  Updated log for wnprc_triggers.js for when function is run to help debug until issue with webpack generation is fixed.

* Updated overdraw notification.  Notification is now created everytime blood is updated.  Logic is run inside notification to determine if current draw is an overdraw.  If it is an overdraw, the message is sent.

* Fixed issue where 'Animal Replacement Fee' showed incorrectly in the revamped Death Notification.  This occurred when the Type of Death resulted in a fee in the table 'ehr_lookups' > 'death_cause', but the 'prepaid' field was empty in the table 'study' > 'demographics'.  This was due to labkeys table lookup resulting in a string 'null' instead of a real null when using the TableSelector.  My new notifications use a new query function i wrote, but this Death Notification used the old TableSelector method.

* Reordered messages in BloodDrawReviewDailyNotification.java so overdraws are listed first.

* -NotificationToolkit.java: Updated getWeightFromAnimalID() and getSexFromAnimalID() so they use new query function getTableMultiRowMultiColumnWithFieldKeys() instead of old function getTableRowAsList().  Also moved DeathNecropsyObject and DeathDemographicObject to DeathNotificationRevamp.java.
- DeathNotificationRevamp.java: Moved DeathNecropsyObject and DeathDemographicObject here from NotificationToolkit.java.  Also cleaned up these objects and updated these them to use the new query getTableMultiRowMultiColumnWithFieldKeys.

* Removed automated tests that don't aren't finished.

* Added 2 new functions to NotificationToolkit for creating URL's.  This is to avoid hardcoding URL's per new LabKey policy.  Implimented these 2 new functions in DeathNotificationRevamp.java for getting the necropsy and animal abstract URL's.

* Adding automated tests for notifications.

* - WNPRC_EHRTest.java: Added notification setup function, multiple notification check functions, and a toolkit object containing reusable test functions that are commonly used when writing different tests.
- BloodOverdrawTriggerNotification.java & BloodDrawReviewTriggerNotification.java: Added a reset function to clear the data after notification is triggered.  This is because there are null checks that don't work when artifacts are left over from previous instances.
- NotificationToolkit.java: Added null check to checkIfBloodDrawIsOverdraw() because empty data was crashing the function.

* - DeathNotificationRevamp.java: Added a null check to make sure class doesn't cause a failure if there's no taskID in the row returned from the query.
- WNPRC_EHRTest.java: Added a check for death notification and prenatal death notification.

* Added null check before sending blood overdraw trigger manually.  The built in labkey notification setup just doesn't send a notification if there's a null body, but for my trigger notifications where I send it manually, I should check for null.

* Moved the automated tests to the end of the list and removed the @test flag.

* Disabled site-wide notifications.  Also disable individual notifications.

* Re-added 'test' tag before function.  Originally removed this because Marty said it was not necessary if I called the function in doSetup(), but it's not showing up in the console log anymore.  Trying to re-add this.

* Added try/catch for insertValueIntoBloodBilledByDataset due to duplicate data being uploaded.  Looks like labkey's loadBloodBilledByLookup() already uploads the same values.

* Added try/catch for remaining functions that insert into datasets.

* Changed a query function in checkIfAnimalIsAlive() so it no longer references my functions that use QviewObject.  Need to evenutally phase out all these functions as my new query functions work much better.

* Removing migrated alerts from ehrcron to Java based notifications

* Added comment to leave commented-out code block alone.  This will be used for future notifications, and it's very tough coding this correctly in the right order.  Please do not delete.

* Removed function call for notification tests in doSetup().  This was recommended by Binal via a LabKey ticket; it caused my test to run twice since the @test annotation already exists.

* - TriggerScriptHelper.java: Added trigger call for new AnimalRequestUpdateNotificationRevamp notification.  Also moved call for old notification inside if/else statement so 'on/off' status is checked before sending.  Will delete the old call after vefifying new version works well.

- WNPRC_EHRModule.java: Registered new EmptyNotificationRevamp and AnimalRequestUpdateNotificationRevamp notifications.

- AdminAlertsNotificationRevamp.java: Updated this notification so the days of the week are displayed in the correct order.  Also fixed an error with the wrong results being queried (needed to update the filter).

- AnimalRequestNotificationRevamp.java: Added test data to be set when notification is triggered from 'Run Report in Browser'.  Also added a resetClass function.

- AnimalRequestUpdateNotificationRevamp.java:  Created this new revamped notification.

- ColonyAlertsLiteNotificationRevamp.java: Updated this notification to use the new EmptyNotificationRevamp notification.  This is sent instead of the original notification if there is no data to be sent.

- EmptyNotificationRevamp.java: Created this new revamped notification.  This is sent when certain notifications have no data to send.  This is to prevent users from receiving empty emails, but allows Daniel and I to see that the notifications are still being sent.

- NotificationToolkit.java: Added function to send the new EmptyNotificationRevamp.java notification.

* - TriggerScriptHelper.java: Added 'sendManually' function call that I had forgotten.
- BloodDrawReviewDailyNotification.java: Added 2 extra checks requested by blood draw team.
- BloodDrawsTodayAnimalCare.java: Updated this to use the new dummy notification when there is no data to be sent.

* - animal_requests.js: Added fix for fatal issue with qcstatus being different in dataset and form.
- ColonyAlertsNotificationRevamp.java: Added extra query requested by Kim.  This query checks all animals in the 'Assignments' dataset and returns any where the project has expired or the protocol has deactivated.

* - WNPRC_EHRModule.java: Registered new notification.
- TreatmentAlertsNotificationRevamp.java: Created new notification.
- BloodDrawsTodayAll.java: Added 'incomplete count' to the notification (as requested by blood draw team).
- BloodDrawsTodayVetStaff.java: Added functionality so message does not send when there is no data (as requested by blood draw team).

* Removed joda time import statement because it was unused.

---------

Co-authored-by: F. Daniel Nicolalde <[email protected]>
* Add blood graph along with queries to support it, as well as new column for blood avail including thirty days in the future

* exclude today for next 30 days calculation of blood, fix blood summary calc, adjust labels

* use next 30 days since it does not include today

* use ehr version

* remove wnprc blood graph to use ehr instead

* Consolidate blood draw reports into currentBloodDraws.sql, adjust references

* ignore project type

* group up the blood draws if they are done at the same time

* Revert back to original AvailBlood calculation, add new calc for future draws in the new current blood report, fix ehr blood store so all records in transaction are used

* update notification to revert to old blood avail name, use species as lookups for blood queries

* restore demographicsBloodSummary query file

* update test comments

* restore old blood draw query

---------

Co-authored-by: Marty Pradere <[email protected]>
* group up the blood draws if they are done at the same time

* remove count from comment

* comment sql
* - In Blood Draws Today (All, Animal Care, and Vet Staff), I changed 'Assignment Status' column header to 'Unassigned' and 'Completion Status' to 'Incomplete'.  I also sorted all results so Incomplete draws show up first.
- In BloodDrawReviewTriggerNotification, I made it so warnings only send when the draw has a date of today.
- In BloodDrawReviewDailyNotification, I added a check to verify that there are no upcoming blood draws that will overdraw.

- TODO: After testing this on test servers, make sure to remove test dates in BloodDrawsTodayAll and BloodDrawReviewDailyNotification.

* Migrated automated test changes from 23.11 to 24.3.  23.11_notificationRevamps is now ready to be deleted.

* Added blood overdraw trigger notification.

* Registered new notification.

* Updated code so message sends when testing/running in browser.  Updated log for wnprc_triggers.js for when function is run to help debug until issue with webpack generation is fixed.

* Updated overdraw notification.  Notification is now created everytime blood is updated.  Logic is run inside notification to determine if current draw is an overdraw.  If it is an overdraw, the message is sent.

* Fixed issue where 'Animal Replacement Fee' showed incorrectly in the revamped Death Notification.  This occurred when the Type of Death resulted in a fee in the table 'ehr_lookups' > 'death_cause', but the 'prepaid' field was empty in the table 'study' > 'demographics'.  This was due to labkeys table lookup resulting in a string 'null' instead of a real null when using the TableSelector.  My new notifications use a new query function i wrote, but this Death Notification used the old TableSelector method.

* Reordered messages in BloodDrawReviewDailyNotification.java so overdraws are listed first.

* -NotificationToolkit.java: Updated getWeightFromAnimalID() and getSexFromAnimalID() so they use new query function getTableMultiRowMultiColumnWithFieldKeys() instead of old function getTableRowAsList().  Also moved DeathNecropsyObject and DeathDemographicObject to DeathNotificationRevamp.java.
- DeathNotificationRevamp.java: Moved DeathNecropsyObject and DeathDemographicObject here from NotificationToolkit.java.  Also cleaned up these objects and updated these them to use the new query getTableMultiRowMultiColumnWithFieldKeys.

* Removed automated tests that don't aren't finished.

* Added 2 new functions to NotificationToolkit for creating URL's.  This is to avoid hardcoding URL's per new LabKey policy.  Implimented these 2 new functions in DeathNotificationRevamp.java for getting the necropsy and animal abstract URL's.

* Adding automated tests for notifications.

* - WNPRC_EHRTest.java: Added notification setup function, multiple notification check functions, and a toolkit object containing reusable test functions that are commonly used when writing different tests.
- BloodOverdrawTriggerNotification.java & BloodDrawReviewTriggerNotification.java: Added a reset function to clear the data after notification is triggered.  This is because there are null checks that don't work when artifacts are left over from previous instances.
- NotificationToolkit.java: Added null check to checkIfBloodDrawIsOverdraw() because empty data was crashing the function.

* - DeathNotificationRevamp.java: Added a null check to make sure class doesn't cause a failure if there's no taskID in the row returned from the query.
- WNPRC_EHRTest.java: Added a check for death notification and prenatal death notification.

* Added null check before sending blood overdraw trigger manually.  The built in labkey notification setup just doesn't send a notification if there's a null body, but for my trigger notifications where I send it manually, I should check for null.

* Moved the automated tests to the end of the list and removed the @test flag.

* Disabled site-wide notifications.  Also disable individual notifications.

* Re-added 'test' tag before function.  Originally removed this because Marty said it was not necessary if I called the function in doSetup(), but it's not showing up in the console log anymore.  Trying to re-add this.

* Added try/catch for insertValueIntoBloodBilledByDataset due to duplicate data being uploaded.  Looks like labkey's loadBloodBilledByLookup() already uploads the same values.

* Added try/catch for remaining functions that insert into datasets.

* Changed a query function in checkIfAnimalIsAlive() so it no longer references my functions that use QviewObject.  Need to evenutally phase out all these functions as my new query functions work much better.

* Removing migrated alerts from ehrcron to Java based notifications

* Added comment to leave commented-out code block alone.  This will be used for future notifications, and it's very tough coding this correctly in the right order.  Please do not delete.

* Removed function call for notification tests in doSetup().  This was recommended by Binal via a LabKey ticket; it caused my test to run twice since the @test annotation already exists.

* - TriggerScriptHelper.java: Added trigger call for new AnimalRequestUpdateNotificationRevamp notification.  Also moved call for old notification inside if/else statement so 'on/off' status is checked before sending.  Will delete the old call after vefifying new version works well.

- WNPRC_EHRModule.java: Registered new EmptyNotificationRevamp and AnimalRequestUpdateNotificationRevamp notifications.

- AdminAlertsNotificationRevamp.java: Updated this notification so the days of the week are displayed in the correct order.  Also fixed an error with the wrong results being queried (needed to update the filter).

- AnimalRequestNotificationRevamp.java: Added test data to be set when notification is triggered from 'Run Report in Browser'.  Also added a resetClass function.

- AnimalRequestUpdateNotificationRevamp.java:  Created this new revamped notification.

- ColonyAlertsLiteNotificationRevamp.java: Updated this notification to use the new EmptyNotificationRevamp notification.  This is sent instead of the original notification if there is no data to be sent.

- EmptyNotificationRevamp.java: Created this new revamped notification.  This is sent when certain notifications have no data to send.  This is to prevent users from receiving empty emails, but allows Daniel and I to see that the notifications are still being sent.

- NotificationToolkit.java: Added function to send the new EmptyNotificationRevamp.java notification.

* - TriggerScriptHelper.java: Added 'sendManually' function call that I had forgotten.
- BloodDrawReviewDailyNotification.java: Added 2 extra checks requested by blood draw team.
- BloodDrawsTodayAnimalCare.java: Updated this to use the new dummy notification when there is no data to be sent.

* - animal_requests.js: Added fix for fatal issue with qcstatus being different in dataset and form.
- ColonyAlertsNotificationRevamp.java: Added extra query requested by Kim.  This query checks all animals in the 'Assignments' dataset and returns any where the project has expired or the protocol has deactivated.

* - WNPRC_EHRModule.java: Registered new notification.
- TreatmentAlertsNotificationRevamp.java: Created new notification.
- BloodDrawsTodayAll.java: Added 'incomplete count' to the notification (as requested by blood draw team).
- BloodDrawsTodayVetStaff.java: Added functionality so message does not send when there is no data (as requested by blood draw team).

* Removed joda time import statement because it was unused.

* ClinpathRefRange.sql - Added units column to table for data retrieval in ClinpathAbnormalResultsAlertsRevamp.java.
WNPRC_EHRModule.java - Registered the 2 new notifications.
ClinpathAbnormalResultsAlertsRevamp.java - Created new alert.
ClinpathAlertsRevamp.java - Created new alert.

* ClinpathResultAlertsRevamp.java: Created new revamp notification.
WNPRC_EHRModule.java: Registered new notification.

* LargeInfantAlertsRevamp.java: Created new revamped notification.
WNPRC_EHRModule.java: Registered new LargeInfantAlertwsRevamp notification.

* ClinpathAbnormalResultsAlertsRevamp.java: Fixed text display, typos, and filter.
ClinpathAlertsRevamp.java: Fixed text display.
ClinpathResultAlertsRevamp.java: Fixed filter.
ColonyAlertsNotificationRevamp.java: Added Kim's fix (there was an issue where the query retrieved inactive projects.
LargeInfantAlertsRevamp.java: Fixed text display.

---------

Co-authored-by: F. Daniel Nicolalde <[email protected]>
* - In Blood Draws Today (All, Animal Care, and Vet Staff), I changed 'Assignment Status' column header to 'Unassigned' and 'Completion Status' to 'Incomplete'.  I also sorted all results so Incomplete draws show up first.
- In BloodDrawReviewTriggerNotification, I made it so warnings only send when the draw has a date of today.
- In BloodDrawReviewDailyNotification, I added a check to verify that there are no upcoming blood draws that will overdraw.

- TODO: After testing this on test servers, make sure to remove test dates in BloodDrawsTodayAll and BloodDrawReviewDailyNotification.

* Migrated automated test changes from 23.11 to 24.3.  23.11_notificationRevamps is now ready to be deleted.

* Added blood overdraw trigger notification.

* Registered new notification.

* Updated code so message sends when testing/running in browser.  Updated log for wnprc_triggers.js for when function is run to help debug until issue with webpack generation is fixed.

* Updated overdraw notification.  Notification is now created everytime blood is updated.  Logic is run inside notification to determine if current draw is an overdraw.  If it is an overdraw, the message is sent.

* Fixed issue where 'Animal Replacement Fee' showed incorrectly in the revamped Death Notification.  This occurred when the Type of Death resulted in a fee in the table 'ehr_lookups' > 'death_cause', but the 'prepaid' field was empty in the table 'study' > 'demographics'.  This was due to labkeys table lookup resulting in a string 'null' instead of a real null when using the TableSelector.  My new notifications use a new query function i wrote, but this Death Notification used the old TableSelector method.

* Reordered messages in BloodDrawReviewDailyNotification.java so overdraws are listed first.

* -NotificationToolkit.java: Updated getWeightFromAnimalID() and getSexFromAnimalID() so they use new query function getTableMultiRowMultiColumnWithFieldKeys() instead of old function getTableRowAsList().  Also moved DeathNecropsyObject and DeathDemographicObject to DeathNotificationRevamp.java.
- DeathNotificationRevamp.java: Moved DeathNecropsyObject and DeathDemographicObject here from NotificationToolkit.java.  Also cleaned up these objects and updated these them to use the new query getTableMultiRowMultiColumnWithFieldKeys.

* Removed automated tests that don't aren't finished.

* Added 2 new functions to NotificationToolkit for creating URL's.  This is to avoid hardcoding URL's per new LabKey policy.  Implimented these 2 new functions in DeathNotificationRevamp.java for getting the necropsy and animal abstract URL's.

* Adding automated tests for notifications.

* - WNPRC_EHRTest.java: Added notification setup function, multiple notification check functions, and a toolkit object containing reusable test functions that are commonly used when writing different tests.
- BloodOverdrawTriggerNotification.java & BloodDrawReviewTriggerNotification.java: Added a reset function to clear the data after notification is triggered.  This is because there are null checks that don't work when artifacts are left over from previous instances.
- NotificationToolkit.java: Added null check to checkIfBloodDrawIsOverdraw() because empty data was crashing the function.

* - DeathNotificationRevamp.java: Added a null check to make sure class doesn't cause a failure if there's no taskID in the row returned from the query.
- WNPRC_EHRTest.java: Added a check for death notification and prenatal death notification.

* Added null check before sending blood overdraw trigger manually.  The built in labkey notification setup just doesn't send a notification if there's a null body, but for my trigger notifications where I send it manually, I should check for null.

* Moved the automated tests to the end of the list and removed the @test flag.

* Disabled site-wide notifications.  Also disable individual notifications.

* Re-added 'test' tag before function.  Originally removed this because Marty said it was not necessary if I called the function in doSetup(), but it's not showing up in the console log anymore.  Trying to re-add this.

* Added try/catch for insertValueIntoBloodBilledByDataset due to duplicate data being uploaded.  Looks like labkey's loadBloodBilledByLookup() already uploads the same values.

* Added try/catch for remaining functions that insert into datasets.

* Changed a query function in checkIfAnimalIsAlive() so it no longer references my functions that use QviewObject.  Need to evenutally phase out all these functions as my new query functions work much better.

* Removing migrated alerts from ehrcron to Java based notifications

* Added comment to leave commented-out code block alone.  This will be used for future notifications, and it's very tough coding this correctly in the right order.  Please do not delete.

* Removed function call for notification tests in doSetup().  This was recommended by Binal via a LabKey ticket; it caused my test to run twice since the @test annotation already exists.

* - TriggerScriptHelper.java: Added trigger call for new AnimalRequestUpdateNotificationRevamp notification.  Also moved call for old notification inside if/else statement so 'on/off' status is checked before sending.  Will delete the old call after vefifying new version works well.

- WNPRC_EHRModule.java: Registered new EmptyNotificationRevamp and AnimalRequestUpdateNotificationRevamp notifications.

- AdminAlertsNotificationRevamp.java: Updated this notification so the days of the week are displayed in the correct order.  Also fixed an error with the wrong results being queried (needed to update the filter).

- AnimalRequestNotificationRevamp.java: Added test data to be set when notification is triggered from 'Run Report in Browser'.  Also added a resetClass function.

- AnimalRequestUpdateNotificationRevamp.java:  Created this new revamped notification.

- ColonyAlertsLiteNotificationRevamp.java: Updated this notification to use the new EmptyNotificationRevamp notification.  This is sent instead of the original notification if there is no data to be sent.

- EmptyNotificationRevamp.java: Created this new revamped notification.  This is sent when certain notifications have no data to send.  This is to prevent users from receiving empty emails, but allows Daniel and I to see that the notifications are still being sent.

- NotificationToolkit.java: Added function to send the new EmptyNotificationRevamp.java notification.

* - TriggerScriptHelper.java: Added 'sendManually' function call that I had forgotten.
- BloodDrawReviewDailyNotification.java: Added 2 extra checks requested by blood draw team.
- BloodDrawsTodayAnimalCare.java: Updated this to use the new dummy notification when there is no data to be sent.

* - animal_requests.js: Added fix for fatal issue with qcstatus being different in dataset and form.
- ColonyAlertsNotificationRevamp.java: Added extra query requested by Kim.  This query checks all animals in the 'Assignments' dataset and returns any where the project has expired or the protocol has deactivated.

* - WNPRC_EHRModule.java: Registered new notification.
- TreatmentAlertsNotificationRevamp.java: Created new notification.
- BloodDrawsTodayAll.java: Added 'incomplete count' to the notification (as requested by blood draw team).
- BloodDrawsTodayVetStaff.java: Added functionality so message does not send when there is no data (as requested by blood draw team).

* Removed joda time import statement because it was unused.

* ClinpathRefRange.sql - Added units column to table for data retrieval in ClinpathAbnormalResultsAlertsRevamp.java.
WNPRC_EHRModule.java - Registered the 2 new notifications.
ClinpathAbnormalResultsAlertsRevamp.java - Created new alert.
ClinpathAlertsRevamp.java - Created new alert.

* ClinpathResultAlertsRevamp.java: Created new revamp notification.
WNPRC_EHRModule.java: Registered new notification.

* LargeInfantAlertsRevamp.java: Created new revamped notification.
WNPRC_EHRModule.java: Registered new LargeInfantAlertwsRevamp notification.

* ClinpathAbnormalResultsAlertsRevamp.java: Fixed text display, typos, and filter.
ClinpathAlertsRevamp.java: Fixed text display.
ClinpathResultAlertsRevamp.java: Fixed filter.
ColonyAlertsNotificationRevamp.java: Added Kim's fix (there was an issue where the query retrieved inactive projects.
LargeInfantAlertsRevamp.java: Fixed text display.

* TreatmentAlertsNotificationRevamp.java: Fixed line spacing before & after areas & rooms.  Also removed unnecessary hyperlink tags.
ClinpathAbnormalResultsAlertsRevamp.java: Fixed table result to only show results with an alert status set to true (i.e. high, low, or blank status in the table).  Fixed line spacing before & after areas & rooms.  Also removed unnecessary hyperlink tags.  Fixed issue with DATE_GTE stripping time from query parameter.
ClinpathResultsAlertsRevamp.java: Fixed line spacing before & after areas & rooms.
ClinpathAlertsRevamp.java: Fixed issue with DATE_GTE stripping time from query parameter.

---------

Co-authored-by: F. Daniel Nicolalde <[email protected]>
* working with selected records

* Check DB for scheduled/approved blood draws

* half working test

* finish test

* remove unused import

* add error details

* change wording

* add timestamp

* auto adjust height to fit message

* more appropriate naming
* Migrating changes to water system to 24.3 (#627)

* Closing water orders and breeding encounters when animal mark as dead

* Fixing problem with the watertotal info panel

* Fix problem with event label in calendar.

* Implemented accordion for the Info Panels in the calendar.

* Removing unnecesary debugger.

* Fixed the asymchronos problem with fetching waterSchedule first and waterTotal second.

* Improving performance for render calendar, limiting to only dates shown in the calendar view. Using waterTotalWithParameters.sql

* Working for entery colony need to troubleshoot for single animal or multiple animal ids.

* Fixing error with new waterTotalWithParameters when using the notification.

* Improving comments regarding the parameters used in water monitoring queries

* Removing death animals from water notification.

* adding stringify to Json array to solve problem with saving water orders.

* Remving JSON.parse

* Linking chairing date to the single animal encounter form.

* Requiring location on chairing dataset.

* Adding validation to check Daily-PM.

* Improving frequency checks for water orders. Using if statements instead of switch case.

* Adding map to remove no water orders by each date on calendar.

* Adding popup window for animal changing to Lixit.

* Adding parameter for the full history report. Bug introduce with waterTotal query.

* Defaulting StartTarget to 1947 birthdate of the oldest animal.

* Fixing tab space for WNPRC_EHRModule

* Temporary commit to add a new water button

* 23.11 fb notifications quick fix (#621)

* Added updates requested by the blood draw team.
- Blood Draws Today (All): Now sorts draws by incomplete first.  Also changed unassigned/incomplete column headers for clarity.
- Blood Draw Review Notification (Trigger): Updated this so it only sends when a blood draw is requested for the current day with an issue.
- Blood Draw Review Notification (Daily): Now shows any blood draws (today & future) that will be overdrawn.

* Removed test dates and updated to correct dates.

* Fixed test date updates.

* Removed placeholder text.

---------

Co-authored-by: aschmidt34 <[email protected]>

* Fixing problem with binding JSP page

* Fixing title for death animals in Full calendar.

* Fixing problem with branchName for the gradle build process

* adding a function to remove all the future water amounts that are scheduled after the animal dies

* Fix to the water total reports in animal history, removing the wateramounts after an animal is marked as death.

* adding new js report for animal history.

* adding close function to expedite closing water orders.

* Using close water order flag to not checkwaterregulation.

* fixing function to switch to lixit animals.

* Deleting water orders that are start in the future, also deleting water amounts that are in the future when animals get switch to lixit.

* Correcting typo on WaterCalendar.jsp

* Fixing format of error message.

* Fixing incomplete water treatments view.

* Adding filter to show only regulated animals.

* adding report for water total so it does not request start and end date for the report. Adding a height for Water Grid Calendar.

* Removing file after merging husbandry reports to wnprcHusbandry.js file. Switching the reportStartDate to 1947-02-10

* Hiding watertotal from the future when a water amount or order is present.

* Removing dependency for wnprcTotalWaterReport.js.

* Fixing problem with water notification, adding parameters to query.

* Adding water source to treatment form.

* Removing on lixit from the water schedule when first order is complete it.

* Fixing problem with re-rendering inside the webpart in the animal history.

* Moving remarks to follow the order in .qview file

* Fixing problem with zero when adding lixit into the water treatment form.

* Removing not used button from DataEntryButtons.js

* Adding action required to the qview to show first lixit in calendar.

* Adding filter to obtain all water schedule in the future.

* Multiple changes to WaterCalendar.jsp to fix problems with lixit.

* Button for completing water given to have a pop up message

* Switching text to submit final

* Adding validations to the water orders, removing validation from client side for provide fruit.

* Adding Submit Water button to the Enter Water Treatment.

* Removing extra code that is no longer used.

* Closing lixit order if one is open.

* Triggerscript function to check if animal is on lixit

* Improving formatting of WaterCalendar.jsp

* fixing overlap when closing lixit.

* Removing commented code.

* fixing problem with lixit error and blank volume when adding a new water order.

* fix of water calendar not loading on production.

* fixing problem with closing water from water calendar UI and when entering a new water order.

* Fix problem with going back one month in the water calendar.

---------

Co-authored-by: aschmidt34 <[email protected]>
@csebranek csebranek requested a review from dnicolalde February 10, 2025 16:46
Copy link
Collaborator

@dnicolalde dnicolalde left a comment

Choose a reason for hiding this comment

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

Not sure if removing Jakarta is causing the problem with the TeamCity test,

Copy link
Collaborator

Choose a reason for hiding this comment

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

Could this be the problem with Jakarta we are having

Copy link
Collaborator

Choose a reason for hiding this comment

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

Snapshot is passing the test for this module

Copy link
Collaborator

Choose a reason for hiding this comment

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

how are we dealing with people having multiple cards.

Copy link
Collaborator

Choose a reason for hiding this comment

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

We are updating to React 18!!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure what are the ^M character at the en of every line

@labkey-adam
Copy link
Contributor

Not sure if removing Jakarta is causing the problem with the TeamCity test,

@dnicolalde @csebranek I haven't looked at this PR closely, but something seems wrong. The PR is targeting release24.11-SNAPSHOT, but it includes commits that went into develop after we branched 24.11. For example: #699 and #691 (there are many others). This may be the cause of the DataHandler exceptions related to sending email... and perhaps other problems.

@csebranek
Copy link
Collaborator Author

Not sure if removing Jakarta is causing the problem with the TeamCity test,

@dnicolalde @csebranek I haven't looked at this PR closely, but something seems wrong. The PR is targeting release24.11-SNAPSHOT, but it includes commits that went into develop after we branched 24.11. For example: #699 and #691 (there are many others). This may be the cause of the DataHandler exceptions related to sending email... and perhaps other problems.

@labkey-adam Thanks for looking at this. You're right it looks like some items from develop got into this branch. I'm going to close this PR and re-create the branch and hopefully that'll fix things up.

@csebranek csebranek closed this Feb 14, 2025
@csebranek csebranek deleted the 24.11_fb_labkey_update branch February 14, 2025 14:02
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.

8 participants