From 14e9089ddd775550c44285d3c562bbff0deb5d97 Mon Sep 17 00:00:00 2001 From: Dennis Ahrens Date: Sun, 29 Oct 2017 18:06:15 +0100 Subject: [PATCH] Close #38 Changed alpha warning --- package.json | 2 +- src/App.vue | 21 +++++++-------------- src/store/migrations.js | 6 +++++- 3 files changed, 13 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 0ba24d0..03ce2b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "barf", - "version": "1.0.0-alpha.7", + "version": "1.0.0-RC1", "description": "Create a barf plan for your dog(s).", "author": "Dennis Ahrens ", "license": "MIT", diff --git a/src/App.vue b/src/App.vue index 057dcee..5e3678f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -84,24 +84,25 @@ -
+
- +

- Alpha Release + Release candidate 1

- The app is not ready for production use. - In worst case it might happen that your inserted data will not be compatible with future versions. + The app is nearly ready for production use. No new features will be added before the release of version 1.0.0 will take place. +

+

+ If you find any bugs, please report on github

-

If you were here before and encounter strange behavior - reset all data and reload the page. This removes all local data from the app and a fresh state is enforced.

@@ -149,14 +150,6 @@ export default { settings () { return this.$store.state.settings } - }, - methods: { - resetApp () { - localStorage.removeItem('barf') - }, - notificationCount (page) { - return this.$store.getters.notifications(page).length - } } } diff --git a/src/store/migrations.js b/src/store/migrations.js index 180e267..dbf6c2c 100644 --- a/src/store/migrations.js +++ b/src/store/migrations.js @@ -4,7 +4,8 @@ export const versions = [ '1.0.0-alpha', '1.0.0-alpha.5', '1.0.0-alpha.6', - '1.0.0-alpha.7' + '1.0.0-alpha.7', + '1.0.0-RC1' ] export const migrations = { @@ -43,6 +44,9 @@ export const migrations = { state.ingredients[idx].price = 0.0 state.ingredients[idx].subCategories = subCategoriesNew } + }, + '1.0.0-RC1': (state) => { + // nothing for now } }