-
Notifications
You must be signed in to change notification settings - Fork 810
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
Added Shop by Category & brand #101
Conversation
1. Added banner componant 2. Added product list componant 3. Chnages in routes 4. Added carousal library
1. Added Scrollable to componant 2. Added watch&learn componant 3. Added configurable data file. 4. Modified product list & favorite item componant.
implemented update password. Litle housekeeping with notifications
1. Added componants for dropdown 2. Api call for taxonami 3. Mapping the data to componant.
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.
Check the comments
<div class="btn-group" dropdown [autoClose]="false" container="body"> | ||
<button id="button-nested" dropdownToggle type="button" class="btn bg-white dropdown-toggle" aria-controls="dropdown-nested"> | ||
Shop By | ||
<span *ngIf="taxonomies.length!==0">{{taxonomies[0].name}}</span> |
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.
What if api only sends the array of size 1 only. Then will it not break at this point.
Can you please add an *ngIf="taxonomies[0]; let brands_taxonomy"
styleUrls: ['./categories-details.component.scss'] | ||
}) | ||
export class CategoriesDetailsComponent implements OnInit, OnChanges { | ||
@Input() taxons; |
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.
indentation of @Input
styleUrls: ['./categories-list.component.scss'] | ||
}) | ||
export class CategoriesListComponent implements OnInit { | ||
@Input () taxons; |
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.
indentation ?
<button id="button-nested" dropdownToggle categories="button" class="btn bg-white dropdown-toggle" aria-controls="dropdown-nested" | ||
data-hover="dropdown"> | ||
Shop By | ||
<span *ngIf="taxonomies.length!==0">{{taxonomies[0].name}}</span> |
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.
put taxonomies[0]
in a template variable
} | ||
|
||
ngOnChanges() { | ||
console.log('categeory', this.taxonomies) |
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.
remove all console.logs if Pr is ready
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.
OK
</nav> | ||
<nav class="navbar navbar-expand-lg"> |
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.
How about we move this to another component ?
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.
We will discuss about it.
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.
ok
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.
LGTM 👍
* Added Landing page 1. Added banner componant 2. Added product list componant 3. Chnages in routes 4. Added carousal library * Added Modified landing page 1. Added Scrollable to componant 2. Added watch&learn componant 3. Added configurable data file. 4. Modified product list & favorite item componant. * added custom themes * Added Forgot password component. * Modified forgot password * added update password componant * Added Update password component * Modified according to http client. implemented update password. Litle housekeeping with notifications * Updated data.ts * Adde control to header for pets & brand as per mega menu * Added Header Drop down for Shop by categeory 1. Added componants for dropdown 2. Api call for taxonami 3. Mapping the data to componant. * Requested chnages * Modifications
No description provided.