-
Notifications
You must be signed in to change notification settings - Fork 1
Tt 26 warn of unsaved changes on customer page #648
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
Tt 26 warn of unsaved changes on customer page #648
Conversation
8e82903 to
681b2b4
Compare
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
ae6ab74 to
38385db
Compare
57bc55b to
7fff57d
Compare
a0000be to
6d8b0b5
Compare
...omer-management/components/customer-info/components/customer-list/customer-list.component.ts
Outdated
Show resolved
Hide resolved
...ent/components/projects-type/components/create-project-type/create-project-type.component.ts
Outdated
Show resolved
Hide resolved
| this.getCustomerIdSubscription.unsubscribe(); | ||
| } | ||
|
|
||
| onSearchChanges(searchValue: string): void { |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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)" |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
...s/customer-management/components/customer-info/components/create-customer/create-customer.ts
Outdated
Show resolved
Hide resolved
...s/customer-management/components/customer-info/components/create-customer/create-customer.ts
Outdated
Show resolved
Hide resolved
* feat: TT-26 Warn of unsaved changes on customer pag * fix: TT-26 resolve commets
* feat: TT-26 Warn of unsaved changes on customer pag * fix: TT-26 resolve commets
No description provided.