File tree Expand file tree Collapse file tree 5 files changed +17
-12
lines changed Expand file tree Collapse file tree 5 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -58,5 +58,5 @@ TestResult.xml
58
58
* .env
59
59
60
60
# files#
61
- project. lock.json
61
+ package- lock.json
62
62
src /server /web-variables.env
Original file line number Diff line number Diff line change 1
- 1. a localStorage for preferences. If it is not set, it will consider as a first visit and welcome the user with options to set
2
- preferences. A search will done with keywords and load in home page.
3
- 2. When click on user info area and if it is not from home page, there is an issue that it will redirect to home page.
4
- 3. Add color indicator for different shopping sites (Flipkart, Amazon, Ebay).
5
- 4. The scroll should be done in scroll area. It should not scroll the entire page. That means header and search box must remains there.
6
- 5. There must be a progress indicator while loading the items.
7
- 6. Compare this feature.
8
- 7. Offers and deal of the day are caching. What if the caching failed? will it try to fetch from web service next loading?
1
+ 1. When click on user info area and if it is not from home page, there is an issue that it will redirect to home page.
2
+ 2. Compare this feature.
3
+ 3. Offers and deal of the day are caching. What if the caching failed? will it try to fetch from web service next loading?
Original file line number Diff line number Diff line change @@ -10,15 +10,17 @@ import { AccountService } from "../services/account/account.service";
10
10
selector : "[topMenu]" ,
11
11
template : `
12
12
<li *ngIf="!isLogged" ngbDropdown>
13
- <a href="#" id="anonymousMenu" class="nav-link" ngbDropdownToggle>Hi Guest <span class="glyphicon glyphicon-triangle-bottom"></span></a>
13
+ <a id="anonymousMenu" class="nav-link lnk " ngbDropdownToggle>Hi Guest <span class="glyphicon glyphicon-triangle-bottom"></span></a>
14
14
<div ngbDropdownMenu aria-labelledby="anonymousMenu">
15
- <a href="#" class="dropdown-item menu-link" [routerLink]="['/signin']" routerLinkActive="active">Signin</a>
15
+ <a href="#" class="dropdown-item menu-link" [routerLink]="['/dashboard']" routerLinkActive="active">Dashboard</a>
16
+ <a href="#" class="dropdown-item menu-link" [routerLink]="['/signin']">Signin</a>
16
17
<a href="#" class="dropdown-item menu-link" (click)="showPreference()">Preferences</a>
17
18
</div>
18
19
</li>
19
20
<li *ngIf="isLogged" ngbDropdown>
20
- <a href="#" id="accountMenu" class="nav-link" ngbDropdownToggle>Welcome {{info.name}} <span class="glyphicon glyphicon-triangle-bottom"></span></a>
21
+ <a id="accountMenu" class="nav-link lnk " ngbDropdownToggle>Welcome {{info.name}} <span class="glyphicon glyphicon-triangle-bottom"></span></a>
21
22
<div ngbDropdownMenu aria-labelledby="accountMenu">
23
+ <a href="#" class="dropdown-item menu-link" [routerLink]="['/dashboard']" routerLinkActive="active">Dashboard</a>
22
24
<a href="#" class="dropdown-item menu-link" (click)="showPreference()">Preferences</a>
23
25
<a href="#" class="dropdown-item menu-link" [routerLink]="['/wishlist']">Wishlist <span class="glyphicon glyphicon-heart float-right"></span></a>
24
26
<a href="#" class="dropdown-item menu-link" (click)="logout()">Sign Out <span class="glyphicon glyphicon-log-out float-right"></span></a>
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ const appRoutes: Routes = [
11
11
path : "" ,
12
12
component : HomeComponent
13
13
} ,
14
+ {
15
+ path : "dashboard" ,
16
+ component : HomeComponent
17
+ } ,
14
18
{
15
19
path : "signin" ,
16
20
component : SigninComponent
Original file line number Diff line number Diff line change @@ -91,3 +91,7 @@ input:checked + .slider:before {
91
91
-ms-transform : translateX (8px );
92
92
transform : translateX (8px );
93
93
}
94
+
95
+ .lnk {
96
+ cursor : pointer;
97
+ }
You can’t perform that action at this time.
0 commit comments