Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Schedule Module] add new schedule module into Loris #6150

Merged
merged 168 commits into from
Apr 15, 2024

Conversation

kongtiaowang
Copy link
Contributor

@kongtiaowang kongtiaowang commented Mar 9, 2020

Brief summary of changes

Rewrite this module from IBIS.

Testing instructions

Test plan
Screen Shot 2020-03-10 at 1 15 34 PM

@kongtiaowang kongtiaowang added Release: Add to release notes PR whose changes should be highlighted in the release notes Category: Feature PR or issue that aims to introduce a new feature State: Needs work PR awaiting additional work by the author to proceed labels Mar 9, 2020
@johnsaigle johnsaigle added the Language: SQL PR or issue that update SQL code label Mar 10, 2020
Copy link
Contributor

@johnsaigle johnsaigle left a comment

Choose a reason for hiding this comment

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

Small review. Some of the code needs changing to meet the core LORIS standards.

I'm not really sure what's going on with the new classes being added that deal with SQL statements. It seems unusual for LORIS

modules/schedule_module/php/appointment.class.inc Outdated Show resolved Hide resolved
modules/schedule_module/php/appointment.class.inc Outdated Show resolved Hide resolved
modules/schedule_module/php/appointment.class.inc Outdated Show resolved Hide resolved
modules/schedule_module/php/appointment.class.inc Outdated Show resolved Hide resolved
modules/schedule_module/php/appointment.class.inc Outdated Show resolved Hide resolved
modules/schedule_module/php/appointment.class.inc Outdated Show resolved Hide resolved
modules/schedule_module/php/data_entry.class.inc Outdated Show resolved Hide resolved
modules/schedule_module/php/data_entry.class.inc Outdated Show resolved Hide resolved
modules/schedule_module/php/data_entry.class.inc Outdated Show resolved Hide resolved
modules/schedule_module/php/data_entry.class.inc Outdated Show resolved Hide resolved
@kongtiaowang
Copy link
Contributor Author

@johnsaigle Thanks for your reviews.

@kongtiaowang
Copy link
Contributor Author

restart travis

@kongtiaowang kongtiaowang reopened this Mar 11, 2020
@kongtiaowang kongtiaowang added the State: Needs rebase PR that needs to be rebased to proceed (conflicts, wrong branch...) label Apr 6, 2020
@kongtiaowang kongtiaowang requested a review from johnsaigle April 24, 2020 15:12
@kongtiaowang
Copy link
Contributor Author

This PR can't start Travis. I will reopen it.

@kongtiaowang
Copy link
Contributor Author

restart travis

@kongtiaowang kongtiaowang reopened this Apr 24, 2020
@kongtiaowang kongtiaowang force-pushed the 2020-02-11-new-schedule branch from a948c9e to a2c99fb Compare April 24, 2020 17:44
@kongtiaowang kongtiaowang removed State: Needs rebase PR that needs to be rebased to proceed (conflicts, wrong branch...) State: Needs work PR awaiting additional work by the author to proceed labels Jun 2, 2020
@kongtiaowang kongtiaowang requested a review from zaliqarosli July 14, 2020 15:30
@kongtiaowang
Copy link
Contributor Author

@zaliqarosli Could you test this module?

Copy link
Contributor

@zaliqarosli zaliqarosli left a comment

Choose a reason for hiding this comment

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

this all looks really good! there's just a space missing in the sql patch, and some php lines may still fail travis

i will approve review once they're resolved!

SQL/New_patches/2020-03-03-schedule_module.sql Outdated Show resolved Hide resolved
modules/schedule_module/php/modulerow.class.inc Outdated Show resolved Hide resolved
modules/schedule_module/php/modulerow.class.inc Outdated Show resolved Hide resolved
Copy link
Contributor

@zaliqarosli zaliqarosli left a comment

Choose a reason for hiding this comment

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

re-review after testing the front end

modules/schedule_module/jsx/scheduleIndex.js Outdated Show resolved Hide resolved
modules/schedule_module/jsx/scheduleIndex.js Outdated Show resolved Hide resolved
modules/schedule_module/jsx/scheduleIndex.js Outdated Show resolved Hide resolved
modules/schedule_module/jsx/scheduleIndex.js Outdated Show resolved Hide resolved
modules/schedule_module/jsx/scheduleIndex.js Outdated Show resolved Hide resolved
modules/schedule_module/jsx/scheduleIndex.js Show resolved Hide resolved
modules/schedule_module/jsx/scheduleIndex.js Outdated Show resolved Hide resolved
modules/schedule_module/jsx/scheduleIndex.js Outdated Show resolved Hide resolved
@kongtiaowang kongtiaowang changed the base branch from master to main July 23, 2020 18:23
@kongtiaowang kongtiaowang force-pushed the 2020-02-11-new-schedule branch from 3a7732d to 604335e Compare December 15, 2023 18:38
@kongtiaowang kongtiaowang requested a review from driusan December 18, 2023 15:30
@kongtiaowang kongtiaowang removed the State: Needs work PR awaiting additional work by the author to proceed label Dec 20, 2023
@GeorgeMurad GeorgeMurad self-requested a review February 28, 2024 19:12
@GeorgeMurad
Copy link
Contributor

@kongtiaowang I have tested the PR and everything looks good except for one thing:

  • Getting 500 error when adding values to the DCCID input in the Add Appointment section. Whereas it's working fine when adding values to the PSCID input. Automatically the DCCID will be added.

@kongtiaowang kongtiaowang added the State: Needs work PR awaiting additional work by the author to proceed label Mar 4, 2024
@kongtiaowang kongtiaowang removed the State: Needs work PR awaiting additional work by the author to proceed label Mar 7, 2024
@GeorgeMurad
Copy link
Contributor

All looks good but on the Add Appointment the visit is not shown

@kongtiaowang
Copy link
Contributor Author

@GeorgeMurad visit is good now.

Copy link
Contributor

@GeorgeMurad GeorgeMurad left a comment

Choose a reason for hiding this comment

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

LGTM

@driusan driusan merged commit 791b857 into aces:main Apr 15, 2024
28 checks passed
driusan added a commit to driusan/Loris that referenced this pull request Apr 15, 2024
This is a test to see if merging aces#6150 caused
tests to fail. All tests were passing on the PR,
but it was an old enough PR that it's possible that
the static check rules were changed in the interm.
@ridz1208 ridz1208 added this to the 26.0.0 milestone Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Feature PR or issue that aims to introduce a new feature Language: SQL PR or issue that update SQL code Passed manual tests PR has been successfully tested by at least one peer Release: Add to release notes PR whose changes should be highlighted in the release notes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.