diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7e6321b..6502546 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,17 @@
# Next Release
+# v0.0.3
+
+* Customer Leaderboards added
+* Map made available to Customers
+* Clustering added to Map
+* Map renamed from "Supplier Map" to "Purchase Map" to fall in line with
+previous change
+* Added placeholder while password reset is not present
+* Fixed error on store list during a transaction
+
+
# v0.0.2
* Supplier map added to organisation view
diff --git a/bin/build-releases b/bin/build-releases
index 0a840d2..1abdb98 100755
--- a/bin/build-releases
+++ b/bin/build-releases
@@ -2,19 +2,24 @@
VERSION=`git describe --tags`
+if [ ! -d ../WebApp-Releases ]; then
+ echo "Making new Releases Directory"
+ mkdir ../WebApp-Releases
+fi
+
echo "Building releases for $VERSION"
echo "Building Prod Release..."
ng build --prod
-tar -czf ../LocalLoop-Web-prod-$VERSION.tar.gz dist
+tar -czf ../WebApp-Releases/LocalLoop-Web-prod-$VERSION.tar.gz dist
echo "Building Dev Release..."
ng build --dev
-tar -cvzf ../LocalLoop-Web-dev-$VERSION.tar.gz dist
+tar -czf ../WebApp-Releases/LocalLoop-Web-dev-$VERSION.tar.gz dist
echo "Cleaning up build artefacts..."
diff --git a/e2e/login.e2e-spec.ts b/e2e/login.e2e-spec.ts
index 7fc72be..2bb5bd5 100644
--- a/e2e/login.e2e-spec.ts
+++ b/e2e/login.e2e-spec.ts
@@ -12,9 +12,9 @@ describe('Login Page', () => {
expect(page.getLoginHeaderText()).toEqual('Login');
});
- it('should have a username box of type text', () => {
+ it('should have a username box of type email', () => {
expect(page.isUsernameFieldPresent()).toBeTruthy();
- expect(page.getUsernameFieldType()).toBe('text');
+ expect(page.getUsernameFieldType()).toEqual('email');
});
it('should have a password box of type password', () => {
diff --git a/package-lock.json b/package-lock.json
index b3325ee..b05c84c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "localloop-web",
- "version": "0.0.1",
+ "version": "0.0.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -9,6 +9,11 @@
"resolved": "https://registry.npmjs.org/@agm/core/-/core-1.0.0-beta.1.tgz",
"integrity": "sha512-IVwQGmcaE42SmYY2e5QwqOC0vrSXZCW8BhATY0Vpy3NjbiydSXi9T81hVqKLvuKaB3ves1sv3W++SB1Wj+5B6A=="
},
+ "@agm/js-marker-clusterer": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/@agm/js-marker-clusterer/-/js-marker-clusterer-1.0.0-beta.2.tgz",
+ "integrity": "sha512-sQzNo+2NwjgVAiy/AU3deYvemoH3CHtYvh+aH/3jq9yIK+2ZiuwhZ2oKmoBsVPEMzLjOqF07FhDLowrAAZfVRw=="
+ },
"@angular-devkit/build-optimizer": {
"version": "0.0.13",
"resolved": "https://registry.npmjs.org/@angular-devkit/build-optimizer/-/build-optimizer-0.0.13.tgz",
@@ -4650,6 +4655,11 @@
"integrity": "sha1-8OgK4DmkvWVLXygfyT8EqRSn/M4=",
"dev": true
},
+ "js-marker-clusterer": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/js-marker-clusterer/-/js-marker-clusterer-1.0.0.tgz",
+ "integrity": "sha1-yUvoWuiJaBnlHBMfiR3StVVY3Rc="
+ },
"js-tokens": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
diff --git a/package.json b/package.json
index 5560151..2a5c6eb 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "localloop-web",
- "version": "0.0.2",
+ "version": "0.0.3",
"description": "LocalLoop Web - Web interface for LocalLoop app",
"author": "",
"url": "http://www.peartrade.org",
@@ -19,6 +19,7 @@
"private": true,
"dependencies": {
"@agm/core": "^1.0.0-beta.1",
+ "@agm/js-marker-clusterer": "^1.0.0-beta.2",
"@angular/common": "4.0.3",
"@angular/compiler": "4.0.3",
"@angular/core": "4.0.3",
@@ -32,6 +33,7 @@
"angular-in-memory-web-api": "^0.3.1",
"chart.js": "2.5.0",
"core-js": "2.4.1",
+ "js-marker-clusterer": "^1.0.0",
"moment": "^2.18.1",
"ng2-charts": "1.6.0",
"ng2-validation-manager": "^0.3.1",
diff --git a/src/app/auth/login.component.html b/src/app/auth/login.component.html
index 5c02b96..9a87e9b 100644
--- a/src/app/auth/login.component.html
+++ b/src/app/auth/login.component.html
@@ -10,7 +10,7 @@
diff --git a/src/app/auth/register.component.html b/src/app/auth/register.component.html
index 1a0c868..34c50ca 100644
--- a/src/app/auth/register.component.html
+++ b/src/app/auth/register.component.html
@@ -40,7 +40,7 @@
diff --git a/src/app/dashboard/add-data.component.html b/src/app/dashboard/add-data.component.html
index 3a78b96..948f868 100644
--- a/src/app/dashboard/add-data.component.html
+++ b/src/app/dashboard/add-data.component.html
@@ -31,7 +31,7 @@
Enter the name of the organisation money was spent. Choose existing ones from below or if not found, enter the details below.
-
+ 0" [orgList]="storeList" (onClick)="addStore($event)">