-
Notifications
You must be signed in to change notification settings - Fork 13
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
general: MainTitle as a pipe and test imports refactoring. #245
Conversation
aceaca5
to
fc8c7cf
Compare
8feca0d
to
232e7bd
Compare
Can you use a spell checker for you commit messages? |
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.
Thanks for this job. Perhaps this can be interesting as it can simplify the tests:
projects/admin/src/app/circulation/patron/history/history-item/history-item.component.html
Outdated
Show resolved
Hide resolved
.../circulation/patron/patron-transactions/patron-transaction/patron-transaction.component.html
Outdated
Show resolved
Hide resolved
projects/admin/src/app/circulation/patron/pickup/pickup-item/pickup-item.component.html
Outdated
Show resolved
Hide resolved
...detail-view/acquisition-order-detail-view/order-lines/acquisition-order-lines.component.html
Outdated
Show resolved
Hide resolved
...il-view/acquisition-order-line-detail-view/acquisition-order-line-detail-view.component.html
Outdated
Show resolved
Hide resolved
...ts/admin/src/app/record/detail-view/document-detail-view/document-detail-view.component.html
Outdated
Show resolved
Hide resolved
232e7bd
to
712145e
Compare
712145e
to
ba44863
Compare
projects/admin/src/app/circulation/patron/pickup/pickup-item/pickup-item.component.html
Outdated
Show resolved
Hide resolved
projects/admin/src/app/record/detail-view/person-detail-view/person-detail-view.component.html
Outdated
Show resolved
Hide resolved
ba44863
to
09120bb
Compare
09120bb
to
5268819
Compare
projects/admin/src/app/circulation/main-request/main-request.component.spec.ts
Show resolved
Hide resolved
projects/admin/src/app/circulation/patron/loan/loan.component.spec.ts
Outdated
Show resolved
Hide resolved
projects/admin/src/app/record/detail-view/item-detail-view/item-detail-view.component.ts
Outdated
Show resolved
Hide resolved
5268819
to
22fe130
Compare
abc1bf7
to
438678a
Compare
...ects/admin/src/app/record/detail-view/document-detail-view/document-detail-view.component.ts
Outdated
Show resolved
Hide resolved
projects/admin/src/app/record/detail-view/item-detail-view/item-detail-view.component.ts
Outdated
Show resolved
Hide resolved
projects/admin/src/app/record/detail-view/library-detail-view/library-detail-view.component.ts
Outdated
Show resolved
Hide resolved
...ects/admin/src/app/record/detail-view/location-detail-view/location-detail-view.component.ts
Outdated
Show resolved
Hide resolved
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'm approving the commit message.
438678a
to
d86e367
Compare
* Refactoring MainTitleService as a pipe. It allows to use it more easely into components because we don't need to import the service and create a repetitive method in each component to get a document main title. * This commit also renamed the Checkin component test file according to component name (previously named Checkout). * Refactoring test 'spec.ts' files to limit imports and declarations. As main modules (AppModule and CirculationModules) already define many imports and declarations, use them into the 'spec.ts' file instead of a lot of single imports. * Refactor name of some private attributes adding a leading '_'. Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
d86e367
to
d933474
Compare
into components because we don't need to import the service and create
a repetitive method in each component to get a document main title.
component name (previously named Checkout).
As main modules (AppModule and CirculationModules) already define
many imports and declarations, use them into the 'spec.ts' file
instead of a lot of single imports.
Code review check list