Skip to content

Conversation

@scastillo-jp
Copy link
Collaborator

No description provided.

@scastillo-jp scastillo-jp force-pushed the TT-26-Warn-of-unsaved-changes-on-customer-page branch 2 times, most recently from 8e82903 to 681b2b4 Compare March 16, 2021 17:37
@codecov
Copy link

codecov bot commented Mar 16, 2021

Codecov Report

Merging #648 (89a363a) into master (13de42e) will increase coverage by 1.19%.
The diff coverage is 97.79%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #648      +/-   ##
==========================================
+ Coverage   93.09%   94.28%   +1.19%     
==========================================
  Files          85       95      +10     
  Lines        1564     1821     +257     
  Branches      107      124      +17     
==========================================
+ Hits         1456     1717     +261     
+ Misses         67       66       -1     
+ Partials       41       38       -3     
Impacted Files Coverage Δ
src/app/app-routing.module.ts 100.00% <ø> (ø)
...time-entries-table/time-entries-table.component.ts 61.90% <ø> (+6.34%) ⬆️
...nents/time-range-form/time-range-form.component.ts 100.00% <ø> (ø)
...dules/time-entries/pages/time-entries.component.ts 85.33% <81.81%> (+2.52%) ⬆️
...ponents/details-fields/details-fields.component.ts 93.54% <94.44%> (+6.36%) ⬆️
src/app/modules/users/store/user.reducers.ts 94.73% <94.73%> (ø)
src/app/guards/login-guard/login.guard.ts 100.00% <100.00%> (ø)
...nologies-report-guard/technologies-report.guard.ts 100.00% <100.00%> (ø)
...info/components/create-customer/create-customer.ts 100.00% <100.00%> (ø)
...omponents/customer-list/customer-list.component.ts 93.75% <100.00%> (+1.64%) ⬆️
... and 40 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 80ccc1f...89a363a. Read the comment docs.

@scastillo-jp scastillo-jp force-pushed the TT-26-Warn-of-unsaved-changes-on-customer-page branch 3 times, most recently from ae6ab74 to 38385db Compare March 17, 2021 21:18
@scastillo-jp scastillo-jp force-pushed the TT-26-Warn-of-unsaved-changes-on-customer-page branch 3 times, most recently from 57bc55b to 7fff57d Compare March 18, 2021 19:59
@scastillo-jp scastillo-jp force-pushed the TT-26-Warn-of-unsaved-changes-on-customer-page branch from a0000be to 6d8b0b5 Compare March 18, 2021 21:43
this.getCustomerIdSubscription.unsubscribe();
}

onSearchChanges(searchValue: string): void {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This function is identical to onSearchChanges of create-customer.ts
Here

});
}

onSearchChanges(searchValue: string): void {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This function is identical to onSearchChanges of create-customer.ts
Here

rows="3"
formControlName="description"
placeholder="Customer description"
(input)="onSearchChanges($event.target.value)"
Copy link
Contributor

Choose a reason for hiding this comment

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

I have a doubt. Why is the function called onSearchChanges? I remember the purpose is to check when the value Input field has changed. Maybe we need better name like onInputChange or something similar.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, the purpose is to check when the Input value or the textArea has changed.
I'm going to rename onSearchChanges

@scastillo-jp scastillo-jp merged commit 24752fb into master Mar 24, 2021
@scastillo-jp scastillo-jp deleted the TT-26-Warn-of-unsaved-changes-on-customer-page branch March 24, 2021 16:09
wobravo pushed a commit that referenced this pull request Mar 25, 2021
* feat: TT-26 Warn of unsaved changes on customer pag

* fix: TT-26 resolve commets
LEON12699 pushed a commit that referenced this pull request Mar 29, 2021
* feat: TT-26 Warn of unsaved changes on customer pag

* fix: TT-26 resolve commets
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.

5 participants