Merge remote-tracking branch 'origin/main' into main
|
@ -1088,7 +1088,7 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.setTheme(ApplicationSettings.getString("appTheme", "Light"));
|
this.setTheme(ApplicationSettings.getString("appTheme", "sysDef"));
|
||||||
this.setLayout(ApplicationSettings.getString("layout", "detailed"));
|
this.setLayout(ApplicationSettings.getString("layout", "detailed"));
|
||||||
if (!this.recipes.length) this.initRecipes();
|
if (!this.recipes.length) this.initRecipes();
|
||||||
this.initListItems();
|
this.initListItems();
|
||||||
|
|
|
@ -67,7 +67,9 @@ export default {
|
||||||
{
|
{
|
||||||
icon: "theme",
|
icon: "theme",
|
||||||
title: "Theme",
|
title: "Theme",
|
||||||
subTitle: localize(this.appTheme),
|
subTitle: localize(
|
||||||
|
ApplicationSettings.getString("appTheme", "sysDef")
|
||||||
|
),
|
||||||
action: this.selectThemes,
|
action: this.selectThemes,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -124,10 +126,15 @@ export default {
|
||||||
this.$showModal(ActionDialog, {
|
this.$showModal(ActionDialog, {
|
||||||
props: {
|
props: {
|
||||||
title: "Theme",
|
title: "Theme",
|
||||||
list: ["Light", "Dark", "Black"],
|
list: ["Light", "Dark", "Black", "sysDef", "sysDefB"],
|
||||||
},
|
},
|
||||||
}).then((action) => {
|
}).then((action) => {
|
||||||
if (action && action !== "Cancel" && this.appTheme !== action) {
|
if (
|
||||||
|
action &&
|
||||||
|
(ApplicationSettings.getString("appTheme") != this.appTheme
|
||||||
|
? true
|
||||||
|
: this.appTheme != action)
|
||||||
|
) {
|
||||||
this.setTheme(action);
|
this.setTheme(action);
|
||||||
Frame.reloadPage();
|
Frame.reloadPage();
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
|
|
||||||
android {
|
android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
versionCode 7
|
versionCode 8
|
||||||
versionName '1.3.2'
|
versionName '1.3.3'
|
||||||
applicationId 'com.vishnuraghav.enrecipes'
|
applicationId 'com.vishnuraghav.enrecipes'
|
||||||
minSdkVersion 23
|
minSdkVersion 23
|
||||||
targetSdkVersion 30
|
targetSdkVersion 30
|
||||||
|
|
14
app/store.ts
|
@ -2,7 +2,7 @@ import Vue from 'nativescript-vue'
|
||||||
import Vuex from 'vuex'
|
import Vuex from 'vuex'
|
||||||
Vue.use(Vuex)
|
Vue.use(Vuex)
|
||||||
import { CouchBase } from '@triniwiz/nativescript-couchbase'
|
import { CouchBase } from '@triniwiz/nativescript-couchbase'
|
||||||
import { getFileAccess, File, ApplicationSettings, Device } from '@nativescript/core'
|
import { getFileAccess, File, ApplicationSettings, Application } from '@nativescript/core'
|
||||||
const EnRecipesDB = new CouchBase('EnRecipes')
|
const EnRecipesDB = new CouchBase('EnRecipes')
|
||||||
const userCuisinesDB = new CouchBase('userCuisines')
|
const userCuisinesDB = new CouchBase('userCuisines')
|
||||||
const userCategoriesDB = new CouchBase('userCategories')
|
const userCategoriesDB = new CouchBase('userCategories')
|
||||||
|
@ -300,7 +300,7 @@ export default new Vuex.Store({
|
||||||
selectedCuisine: null,
|
selectedCuisine: null,
|
||||||
selectedCategory: null,
|
selectedCategory: null,
|
||||||
selectedTag: null,
|
selectedTag: null,
|
||||||
appTheme: 'Light',
|
appTheme: 'sysDef',
|
||||||
mondayFirst: false,
|
mondayFirst: false,
|
||||||
},
|
},
|
||||||
mutations: {
|
mutations: {
|
||||||
|
@ -312,7 +312,17 @@ export default new Vuex.Store({
|
||||||
ApplicationSettings.setBoolean('mondayFirst', bool)
|
ApplicationSettings.setBoolean('mondayFirst', bool)
|
||||||
},
|
},
|
||||||
setTheme(state, theme) {
|
setTheme(state, theme) {
|
||||||
|
switch (theme) {
|
||||||
|
case 'sysDef':
|
||||||
|
state.appTheme = Application.systemAppearance() == 'dark' ? "Dark" : "Light"
|
||||||
|
break;
|
||||||
|
case 'sysDefB':
|
||||||
|
state.appTheme = Application.systemAppearance() == 'dark' ? "Black" : "Light"
|
||||||
|
break;
|
||||||
|
default:
|
||||||
state.appTheme = theme
|
state.appTheme = theme
|
||||||
|
break;
|
||||||
|
}
|
||||||
ApplicationSettings.setString('appTheme', theme)
|
ApplicationSettings.setString('appTheme', theme)
|
||||||
},
|
},
|
||||||
clearFilter(state) {
|
clearFilter(state) {
|
||||||
|
|
2
fastlane/metadata/android/en-GB/changelogs/2.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
- Recipe notes now support inline URLs
|
||||||
|
- Ability to set recipe preparation and cooking time
|
5
fastlane/metadata/android/en-GB/changelogs/3.txt
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
- Fixed several bugs causing app crashes
|
||||||
|
- Minor UI improvements
|
||||||
|
- Application language support
|
||||||
|
- Added Tamil
|
||||||
|
- More languages coming soon!
|
2
fastlane/metadata/android/en-GB/changelogs/4.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
- Fixed: Ingredients unit getting reset on save
|
||||||
|
- Added app language: German
|
10
fastlane/metadata/android/en-GB/changelogs/5.txt
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
- New: Add cuisine and tags to your recipes along with category
|
||||||
|
- New: Rate and set difficulty level to your recipes
|
||||||
|
- New: Shake device to view random recipe
|
||||||
|
- Improvement: Search your recipes by name, ingredient or tag
|
||||||
|
- Improvement: Add or delete cuisines, categories, yield units, units
|
||||||
|
- Improvement: More sorting options
|
||||||
|
- Added app languages: Danish, Dutch, Portuguese, Russian and Spanish
|
||||||
|
- Removed: Categories rename feature
|
||||||
|
- Updated translations
|
||||||
|
- Several UI improvements and bug fixes
|
10
fastlane/metadata/android/en-GB/changelogs/6.txt
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
- Improvement: Recipe list loads quicker than before
|
||||||
|
- Improvement: Long press to select multiple recipes
|
||||||
|
- Improvement: Better search & filtering
|
||||||
|
- Improvement: Tap to strike off completed instructions
|
||||||
|
- Deprecated: Swipe to delete recipe
|
||||||
|
- Deprecated: Search recipe with tag
|
||||||
|
- Refreshed: Meal Planner calendar, Dialog boxes and UI icons
|
||||||
|
- Added app languages: French, Italian, Norwegian Bokmål
|
||||||
|
- Updated translations
|
||||||
|
- Several UI improvements and bug fixes
|
14
fastlane/metadata/android/en-GB/changelogs/7.txt
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
- [New] App icon and Redesigned user interface
|
||||||
|
- [New] Recipe list view modes
|
||||||
|
- [New] Black theme
|
||||||
|
- [New] Dedicated filter panel
|
||||||
|
- [New] Set Backup folder location
|
||||||
|
- [New] Set Meal Planner's first day of the week to Monday
|
||||||
|
- [Fixed] Crash on app start with blocked sensors #30
|
||||||
|
- [Fixed] No app name in launcher #29
|
||||||
|
- [Improvement] Change theme without restarting the app
|
||||||
|
- [Removed] Storage permission
|
||||||
|
- [Added App Languages] Hindi, Indonesian, Italian, Malayalam, Portuguese (BR), Spanish and Telugu
|
||||||
|
- [Updated] Translations
|
||||||
|
- Dropped support for Android Lollipop
|
||||||
|
- Several bug fixes and improvements including #33
|
1
fastlane/metadata/android/en-GB/changelogs/8.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
- [Added] System default theme
|
27
fastlane/metadata/android/en-GB/full_description.txt
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
EnRecipes is an open source, privacy-friendly digital cookbook that lets you create, manage and share your recipes.
|
||||||
|
|
||||||
|
<b>Features:</b>
|
||||||
|
|
||||||
|
* Create recipes quickly
|
||||||
|
* Add photo, combinations and notes to your recipes
|
||||||
|
* Organise your recipes by cuisine, category and tags
|
||||||
|
* Add recipes to your Try Later list and mark them as favourites
|
||||||
|
* Quickly search for recipes by title or ingredient
|
||||||
|
* Scale your recipe ingredients to serve more or less people
|
||||||
|
* Get notified of the last time you tried a recipe
|
||||||
|
* Share your recipe to anyone by any means as a nicely formatted message. You can share the recipe photo too.
|
||||||
|
* Shake device to view random recipe
|
||||||
|
* Create meal plans
|
||||||
|
* Import/Export recipes
|
||||||
|
* Light, Dark and Black themes
|
||||||
|
|
||||||
|
<b>Highlights:</b>
|
||||||
|
|
||||||
|
* 100% free and open-source
|
||||||
|
* Private by Design
|
||||||
|
* No permissions required
|
||||||
|
* No annoying ads or pop-ups
|
||||||
|
|
||||||
|
<b>Credits:</b>
|
||||||
|
|
||||||
|
This app was written in my free time using NativeScript-Vue. I would like to thank all those people who helped me understand the concepts during the process and my special thanks to the NativeScript team and the community. I also would like to thank the members of the Telegram EnRecipes group for contributing their ideas for this project.
|
BIN
fastlane/metadata/android/en-GB/images/featureGraphic.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
fastlane/metadata/android/en-GB/images/icon.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
fastlane/metadata/android/en-GB/images/phoneScreenshots/1.png
Normal file
After Width: | Height: | Size: 445 KiB |
BIN
fastlane/metadata/android/en-GB/images/phoneScreenshots/2.png
Normal file
After Width: | Height: | Size: 445 KiB |
BIN
fastlane/metadata/android/en-GB/images/phoneScreenshots/3.png
Normal file
After Width: | Height: | Size: 439 KiB |
BIN
fastlane/metadata/android/en-GB/images/phoneScreenshots/4.png
Normal file
After Width: | Height: | Size: 237 KiB |
BIN
fastlane/metadata/android/en-GB/images/phoneScreenshots/5.png
Normal file
After Width: | Height: | Size: 173 KiB |
BIN
fastlane/metadata/android/en-GB/images/phoneScreenshots/6.png
Normal file
After Width: | Height: | Size: 172 KiB |
BIN
fastlane/metadata/android/en-GB/images/phoneScreenshots/7.png
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
fastlane/metadata/android/en-GB/images/phoneScreenshots/8.png
Normal file
After Width: | Height: | Size: 101 KiB |
1
fastlane/metadata/android/en-GB/short_description.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
A Simple, Offline Recipe Manager
|
1
fastlane/metadata/android/en-GB/title.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
EnRecipes
|
1
fastlane/metadata/android/en-US/changelogs/8.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
- [Added] System default theme
|
|
@ -4,8 +4,8 @@ EnRecipes is an open source, privacy-friendly digital cookbook that lets you cre
|
||||||
|
|
||||||
* Create recipes quickly
|
* Create recipes quickly
|
||||||
* Add photo, combinations and notes to your recipes
|
* Add photo, combinations and notes to your recipes
|
||||||
* Organise your recipes by cuisine, category and tags
|
* Organize your recipes by cuisine, category and tags
|
||||||
* Add recipes to your Try Later list and mark them as favourites
|
* Add recipes to your Try Later list and mark them as favorites
|
||||||
* Quickly search for recipes by title or ingredient
|
* Quickly search for recipes by title or ingredient
|
||||||
* Scale your recipe ingredients to serve more or less people
|
* Scale your recipe ingredients to serve more or less people
|
||||||
* Get notified of the last time you tried a recipe
|
* Get notified of the last time you tried a recipe
|
||||||
|
|