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

Added Shop by Category & brand #101

Merged
merged 16 commits into from
Apr 25, 2018
Merged

Added Shop by Category & brand #101

merged 16 commits into from
Apr 25, 2018

Conversation

gopalshimpi
Copy link
Member

No description provided.

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.
@gopalshimpi gopalshimpi changed the base branch from master to develop April 24, 2018 18:29
Copy link
Member

@pkrawat1 pkrawat1 left a 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>
Copy link
Member

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;
Copy link
Member

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;
Copy link
Member

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>
Copy link
Member

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)
Copy link
Member

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

Copy link
Member Author

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">
Copy link
Member

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 ?

Copy link
Member Author

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.

Copy link
Member

Choose a reason for hiding this comment

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

ok

@gopalshimpi gopalshimpi added the WIP work in progress label Apr 25, 2018
Copy link
Member

@pkrawat1 pkrawat1 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@pkrawat1 pkrawat1 merged commit 5a35e21 into develop Apr 25, 2018
@pkrawat1 pkrawat1 deleted the header branch April 25, 2018 06:25
pkrawat1 pushed a commit that referenced this pull request Jun 13, 2018
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants