diff --git a/.gitignore b/.gitignore index b4a60da7..c20d3d20 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # JetBrains project files .idea +.vscode # NPM node_modules diff --git a/README.md b/README.md index 46e35cab..e9c23fe0 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,28 @@ # EnRecipes -> A native application built with NativeScript-Vue +> A simple, offline recipe manager. -## Usage +EnRecipes is an easy to use, privacy-friendly app that lets you store, manage and share your recipes. -``` bash -# Install dependencies -npm install +## Features: -# Preview on device -tns preview +- Add your recipes +- Add photo, notes and references to your recipes +- Organise your recipes by category +- Search for your recipes based on the title +- Mark recipes as favorites and add them to your Try later list +- Scale your recipe ingredients easily +- Get notified of the last time you tried a recipe +- Share your recipe as a nicely formated message. You can share the photo too. +- Import/Export recipes +- Light/Dark theme +- No annoying ads or pop-ups +- No internet access is required and never asks for any unwanted permissions +- 100% free and open-source +- Private by design -# Build, watch for changes and run the application -tns run +Lots of interesting features on the way... -# Build, watch for changes and debug the application -tns debug +## Credits -# Build for production -tns build --env.production - -``` +This app was written in my free time using NativeScript. 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. diff --git a/app/App_Resources/Android/src/main/res/PlayStore-Icon.png b/app/App_Resources/Android/src/main/res/PlayStore-Icon.png old mode 100755 new mode 100644 index d0124c12..2a9dc0ca Binary files a/app/App_Resources/Android/src/main/res/PlayStore-Icon.png and b/app/App_Resources/Android/src/main/res/PlayStore-Icon.png differ diff --git a/app/App_Resources/Android/src/main/res/PlayStore-Icon@2x.png b/app/App_Resources/Android/src/main/res/PlayStore-Icon@2x.png old mode 100755 new mode 100644 index b7dacf98..d6e8538a Binary files a/app/App_Resources/Android/src/main/res/PlayStore-Icon@2x.png and b/app/App_Resources/Android/src/main/res/PlayStore-Icon@2x.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-anydpi-v26/ic_launcher_round.xml b/app/App_Resources/Android/src/main/res/drawable-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 3e44b1c3..00000000 --- a/app/App_Resources/Android/src/main/res/drawable-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/check.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/check.png index 0a9dcb10..d8530d06 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-hdpi/check.png and b/app/App_Resources/Android/src/main/res/drawable-hdpi/check.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/detail.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/detail.png index 77c7f582..905f35c1 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-hdpi/detail.png and b/app/App_Resources/Android/src/main/res/drawable-hdpi/detail.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/icon_gray.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/icon_gray.png deleted file mode 100644 index 8a3d93ed..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-hdpi/icon_gray.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png new file mode 100644 index 00000000..ab7d0b3f Binary files /dev/null and b/app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/logo_dark.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/logo_dark.png deleted file mode 100644 index dd8e3f76..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-hdpi/logo_dark.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/logo_light.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/logo_light.png deleted file mode 100644 index 92f3e6a4..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-hdpi/logo_light.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/plus.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/plus.png index 9599d350..ab9146b9 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-hdpi/plus.png and b/app/App_Resources/Android/src/main/res/drawable-hdpi/plus.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/check.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/check.png index c4327208..beba824b 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-ldpi/check.png and b/app/App_Resources/Android/src/main/res/drawable-ldpi/check.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/detail.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/detail.png index 9d494acb..e8ff855c 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-ldpi/detail.png and b/app/App_Resources/Android/src/main/res/drawable-ldpi/detail.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/icon_gray.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/icon_gray.png deleted file mode 100644 index ba1d0717..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-ldpi/icon_gray.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png new file mode 100644 index 00000000..ae18cb6b Binary files /dev/null and b/app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/logo_dark.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/logo_dark.png deleted file mode 100644 index 59dab99a..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-ldpi/logo_dark.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/logo_light.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/logo_light.png deleted file mode 100644 index 3241b648..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-ldpi/logo_light.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/photo.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/photo.png index 7976f957..f9b376e6 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-ldpi/photo.png and b/app/App_Resources/Android/src/main/res/drawable-ldpi/photo.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/camera.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/camera.png index 44bd34e9..5113546a 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-mdpi/camera.png and b/app/App_Resources/Android/src/main/res/drawable-mdpi/camera.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/detail.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/detail.png index f45f4330..c88c3dbc 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-mdpi/detail.png and b/app/App_Resources/Android/src/main/res/drawable-mdpi/detail.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/icon_gray.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/icon_gray.png deleted file mode 100644 index ba4779da..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-mdpi/icon_gray.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png new file mode 100644 index 00000000..d6e60c94 Binary files /dev/null and b/app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/logo_dark.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/logo_dark.png deleted file mode 100644 index 3a1fb3b2..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-mdpi/logo_dark.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/logo_light.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/logo_light.png deleted file mode 100644 index e1adb2ce..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-mdpi/logo_light.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/plus.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/plus.png index bcc50fe5..b8f01d35 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-mdpi/plus.png and b/app/App_Resources/Android/src/main/res/drawable-mdpi/plus.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml b/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml index 30a482cd..3ab897b7 100644 --- a/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml +++ b/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml @@ -5,6 +5,6 @@ - + diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/camera.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/camera.png index 97a8e91b..1fed4ef6 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xhdpi/camera.png and b/app/App_Resources/Android/src/main/res/drawable-xhdpi/camera.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/check.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/check.png index 4d902752..1cc5899a 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xhdpi/check.png and b/app/App_Resources/Android/src/main/res/drawable-xhdpi/check.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/detail.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/detail.png index 3aaf925a..d2f5b864 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xhdpi/detail.png and b/app/App_Resources/Android/src/main/res/drawable-xhdpi/detail.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/icon_gray.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/icon_gray.png deleted file mode 100644 index 97985e1a..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-xhdpi/icon_gray.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png new file mode 100644 index 00000000..d702e505 Binary files /dev/null and b/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo_dark.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo_dark.png deleted file mode 100644 index a7fffd5e..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo_dark.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo_light.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo_light.png deleted file mode 100644 index 5a34d155..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo_light.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/photo.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/photo.png index 0d9fba8f..a8f96ddd 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xhdpi/photo.png and b/app/App_Resources/Android/src/main/res/drawable-xhdpi/photo.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/plus.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/plus.png index 845e9e56..b4898ea3 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xhdpi/plus.png and b/app/App_Resources/Android/src/main/res/drawable-xhdpi/plus.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/detail.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/detail.png index ebc5354c..680e195c 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/detail.png and b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/detail.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/icon_gray.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/icon_gray.png deleted file mode 100644 index 2b8d835e..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/icon_gray.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png new file mode 100644 index 00000000..5fff4515 Binary files /dev/null and b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo_dark.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo_dark.png deleted file mode 100644 index 40be4d00..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo_dark.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo_light.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo_light.png deleted file mode 100644 index 3d5f3616..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo_light.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/photo.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/photo.png index 4a12b8ec..39b6b901 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/photo.png and b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/photo.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/plus.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/plus.png index 665542a9..d2b50ea0 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/plus.png and b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/plus.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/camera.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/camera.png index bbe517a9..1733750f 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/camera.png and b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/camera.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/check.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/check.png index 9511cc15..581bb403 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/check.png and b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/check.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/detail.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/detail.png index 3e46f0f5..9023d66d 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/detail.png and b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/detail.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon_gray.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon_gray.png deleted file mode 100644 index 66e24d63..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon_gray.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png new file mode 100644 index 00000000..0917457a Binary files /dev/null and b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo_dark.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo_dark.png deleted file mode 100644 index 7dc2838a..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo_dark.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo_light.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo_light.png deleted file mode 100644 index 4a38085a..00000000 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo_light.png and /dev/null differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/photo.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/photo.png index 44fce17a..be9cd1c0 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/photo.png and b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/photo.png differ diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/plus.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/plus.png index e12c66c8..4836900e 100644 Binary files a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/plus.png and b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/plus.png differ diff --git a/app/app.scss b/app/app.scss index 5a8edfe1..281d714a 100644 --- a/app/app.scss +++ b/app/app.scss @@ -91,6 +91,9 @@ Page, MDFloatingActionButton { color: white; } + .appIconContainer { + background: $orange; + } } .ns-dark { @@ -150,6 +153,9 @@ Page, MDFloatingActionButton { color: $gray9; } + .appIconContainer { + background: $orange; + } } // ----------------------------- // Elements diff --git a/app/components/About.vue b/app/components/About.vue index da53930f..751c93e8 100644 --- a/app/components/About.vue +++ b/app/components/About.vue @@ -20,7 +20,7 @@ orientation="horizontal" class="appIconContainer" > - + @@ -45,11 +45,14 @@ diff --git a/app/components/App.vue b/app/components/App.vue index 10967807..58b498dd 100644 --- a/app/components/App.vue +++ b/app/components/App.vue @@ -371,7 +371,7 @@ export default { this.appTheme = ApplicationSettings.getString("appTheme", "Light") setTimeout((e) => { Theme.setMode(Theme[this.appTheme]) - }, 50) + }, 10) this.initializeRecipes() this.initializeCategories() this.initializeYieldUnits()