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

IS83 scaffold changes, also includes many renames from term to period. #4136

Merged
merged 5 commits into from
Jun 26, 2024

Conversation

devinleighsmith
Copy link
Collaborator

No description provided.

@devinleighsmith devinleighsmith added the enhancement New feature or request label Jun 25, 2024
@devinleighsmith devinleighsmith self-assigned this Jun 25, 2024
Copy link
Contributor

✅ No secrets were detected in the code.

@@ -64,7 +64,7 @@ public IActionResult AddPayment(long leaseId, [FromBody] PaymentModel paymentMod
{
_logger.LogInformation(
"Request received by Controller: {Controller}, Action: {ControllerAction}, User: {User}, DateTime: {DateTime}",
nameof(LeaseTermController),
nameof(LeasePeriodController),
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should actually be LeasePaymentController - probably a copy/paste mistake on prior PRs

Copy link
Contributor

✅ No secrets were detected in the code.

Copy link
Contributor

✅ No secrets were detected in the code.

Copy link

codecov bot commented Jun 25, 2024

Codecov Report

Attention: Patch coverage is 70.13802% with 238 lines in your changes missing coverage. Please review.

Project coverage is 85.41%. Comparing base (9c59fde) to head (618d51f).

Current head 618d51f differs from pull request most recent head a72911d

Please upload reports for the commit a72911d to get more accurate results.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #4136      +/-   ##
==========================================
- Coverage   85.48%   85.41%   -0.08%     
==========================================
  Files        1623     1623              
  Lines      123009   122968      -41     
  Branches     9494     9485       -9     
==========================================
- Hits       105153   105030     -123     
- Misses      17547    17629      +82     
  Partials      309      309              
Flag Coverage Δ
unittests 85.41% <70.13%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...Areas/Leases/Controllers/LeasePaymentController.cs 100.00% <100.00%> (ø)
...d/api/Areas/Reports/Controllers/LeaseController.cs 88.40% <100.00%> (ø)
...ackend/api/Areas/Reports/Mapping/Lease/LeaseMap.cs 88.57% <100.00%> (ø)
source/backend/api/Controllers/LookupController.cs 100.00% <100.00%> (ø)
...backend/api/Models/Report/LeasePaymentReportMap.cs 97.87% <100.00%> (ø)
...ackend/apimodels/Models/Concepts/Lease/LeaseMap.cs 100.00% <100.00%> (ø)
.../apimodels/Models/Concepts/Lease/LeasePeriodMap.cs 100.00% <100.00%> (ø)
...kend/apimodels/Models/Concepts/Lease/PaymentMap.cs 100.00% <100.00%> (ø)
...ource/backend/dal/Repositories/LookupRepository.cs 87.17% <100.00%> (ø)
...rce/backend/dal/Repositories/PropertyRepository.cs 85.34% <100.00%> (ø)
... and 42 more

... and 18 files with indirect coverage changes

@@ -89,7 +89,7 @@ public IActionResult UpdatePayment(long leaseId, long paymentId, [FromBody] Paym
{
_logger.LogInformation(
"Request received by Controller: {Controller}, Action: {ControllerAction}, User: {User}, DateTime: {DateTime}",
nameof(LeaseTermController),
nameof(LeasePeriodController),
Copy link
Collaborator

Choose a reason for hiding this comment

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

sorry, these need to be changed as well

@@ -114,7 +114,7 @@ public IActionResult DeletePayment(long leaseId, PaymentModel paymentModel)
{
_logger.LogInformation(
"Request received by Controller: {Controller}, Action: {ControllerAction}, User: {User}, DateTime: {DateTime}",
nameof(LeaseTermController),
nameof(LeasePeriodController),
Copy link
Collaborator

Choose a reason for hiding this comment

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

sorry, these need to be changed as well

Copy link
Contributor

✅ No secrets were detected in the code.

@@ -22,7 +22,7 @@ export const LeaseViewPageForm: React.FunctionComponent<
> = ({ children, leasePageName, isEditing, onEdit }) => {
const { lease } = useContext(LeaseStateContext);

const DisplayLeaseTerminationMessage = () => {
const DisplayLeasePeriodinationMessage = () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: DisplayLeasePeriodinationMessage -> DisplayLeaseTerminationMessage

onCancel: () => void;
onSave: (values: FormLeasePayment) => void;
}

/**
* Modal displaying form allowing add/update lease terms. Save button triggers internal formik validation and submit.
* Modal displaying form allowing add/update lease peridos. Save button triggers internal formik validation and submit.
Copy link
Collaborator

Choose a reason for hiding this comment

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

typo: peridos -> periods

Copy link
Contributor

✅ No secrets were detected in the code.

@asanchezr asanchezr merged commit 60142b3 into bcgov:dev Jun 26, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants