Olive goes shopping

Rating: 
4.076925
Your rating: None Average: 4.1 (13 votes)

This is a shopping list app, implemented according to my wife's requirements. But you can also use it as a task list. That's what i do. 

The basic idea:
You select recipes and the needed ingredients will be added to your shopping list. Required ingreedients will be summed up. (This is actually not the case in any of the android shopping lists, i did try out. If you know one that can do that, tell me and i can stop developing this ;-))
Further you can add (pick from a predefined list) household and food items to your shopping list. Finally there is also the option to add some free text to your list.

NEW in 1.5: 

1.5.5 longpress on shopping list item has two modes: longpress on done items will delete those, longpress on open items will open edit dialog. i am waiting for feedback

1.5.0

Introduction of categories:
Shopping list is from now on grouped by categories.
It is possible to manage catagories and assign items to those. Categories could be dairy, fresh etc., preferred shops, you name it.
All existing items have to be assigned manually to the correct category. Recipes don't need to be touched. If you do not want to use that feature, shopping list will have one group with no name.

Reworked db management navigation. Push up and select 'Manage'. 

Yet missing: sample db translation / translation for new ui parts and new db content

DB migration is implemented, it should work on your current data out of the box. Shopping list should be empty, in order to start working with cat's.

Migration:

  • Backup your database before upgrade.
  • Upgrade application
  • Go to Manage Page and select Categories
  • Import categories and adapt them according your needs
  • Assign categories to your items
  • Backup your database (with a new name ;)) 

Issues please in Github: https://github.com/PawelSpoon/harbour-olive-goes-shopping

Beside missing translation, version should work fine for you.

 

Implemented: 

Manage food and household items db. (add/remove/edit items)
Manage recipes db (add/remove/edit recipes)
Add food / household to shopping list.
Add recipe ingredients to shopping list.
Add items that do not exist in db ('Anyhing') to shopping list.
Long press on items in shopping list will remove them (with remorse)
Export db to file. Import from file (not ! the shopping list itself)
Delete whole shopping list (with remorse)
Share shopping list to mail/sms/clip board
Help page with detailed description
Mlg support
Multilingual database
Live cover

 

Still in pipe line:

import recipes from web or at least from clipboard

settings page for ui

 

How to use:

App includes intial values for food and household items. in english, german and spanish. 

Start app, select Food from PullUp menu, then select Manage from PullUp, then Import fromo PushUp.

This will populate your db with food and household items (based on your actual device language). Alternatively you can select Add from pull menu in manage page to add some.

Now go back to Store page.

One click will add one piece to your shopping list. A long press will remove it from your shopping list.

When done, go back to Shopping List page.

One click will strike though the item. Another will undo the operation.

Select Clear from pull menu to clear whole list.

Select Share from pull menu will share list as text

 

How to use Recipes:

Again there is a german demo db. 

Select Recipes from from pull menu on Shopping List page, then select Manage from PullUp, then Import from PushUp to populate db with recipes.

Go back to 'Recipes' page, one click will add the ingredients that go with the recipe to your shopping list.

 

How to bring in your items and recipes:

Import the demo db as described above, export it to json, modify the file on your pc, drop the database, then import the new file content.

In case of german content: i would suggest to keep the demo db and delete items you do not like.

In case of other languages: drop the db and enter your own stuff manually or via json import

 

Buy me a beer: Donate

Application versions: 
AttachmentSizeDate
File harbour-olive-goes-shopping-0.3-2.armv7hl.rpm60.44 KB25/05/2017 - 20:20
File harbour-olive-goes-shopping-0.5-1.armv7hl.rpm61.69 KB26/05/2017 - 21:30
File harbour-olive-goes-shopping-0.5-2.armv7hl.rpm61.74 KB26/05/2017 - 22:27
File harbour-olive-goes-shopping-0.6-0.armv7hl.rpm480.93 KB28/05/2017 - 21:42
File harbour-olive-goes-shopping-0.6-5.armv7hl.rpm481.5 KB07/06/2017 - 21:34
File harbour-olive-goes-shopping-0.7-0.armv7hl.rpm491.19 KB14/06/2017 - 22:33
File harbour-olive-goes-shopping-0.7-2.armv7hl.rpm491.19 KB07/07/2017 - 16:02
File harbour-olive-goes-shopping-0.7-4.armv7hl.rpm509.71 KB09/07/2017 - 09:45
File harbour-olive-goes-shopping-0.7-5.armv7hl.rpm509.75 KB10/07/2017 - 21:53
File harbour-olive-goes-shopping-0.8-0.armv7hl.rpm510.71 KB06/11/2017 - 21:57
File harbour-olive-goes-shopping-0.8-1.armv7hl.rpm511.5 KB02/05/2018 - 03:09
File harbour-olive-goes-shopping-0.9-0.armv7hl.rpm511.56 KB30/12/2017 - 15:58
File harbour-olive-goes-shopping-0.9-5.armv7hl.rpm512.64 KB17/01/2018 - 16:25
File harbour-olive-goes-shopping-0.9-6.armv7hl.rpm513.3 KB21/01/2018 - 10:38
File harbour-olive-goes-shopping-0.9-8.armv7hl.rpm516.77 KB31/01/2018 - 19:29
File harbour-olive-goes-shopping-1.0-0.armv7hl.rpm533.89 KB10/02/2018 - 22:43
File harbour-olive-goes-shopping-1.1-0.armv7hl.rpm534.47 KB02/05/2018 - 03:09
File harbour-olive-goes-shopping-1.2-0.armv7hl.rpm537.78 KB01/05/2018 - 18:08
File harbour-olive-goes-shopping-1.5-0.armv7hl.rpm544.91 KB07/11/2018 - 18:29
File harbour-olive-goes-shopping-1.5-1.armv7hl.rpm545.25 KB07/11/2018 - 21:14
File harbour-olive-goes-shopping-1.5-2.armv7hl.rpm540.45 KB08/11/2018 - 12:05
File harbour-olive-goes-shopping-1.5-3.armv7hl.rpm540.54 KB09/11/2018 - 11:02
File harbour-olive-goes-shopping-1.5-5.armv7hl.rpm541.75 KB12/11/2018 - 16:46
File harbour-olive-goes-shopping-1.5-6.armv7hl.rpm546.15 KB14/11/2018 - 19:30
File harbour-olive-goes-shopping-1.5-7.armv7hl.rpm542.66 KB04/01/2019 - 11:56
File harbour-olive-goes-shopping-2.2-1.armv7hl.rpm553.95 KB03/03/2019 - 12:21
File harbour-olive-goes-shopping-2.3-1.armv7hl.rpm554.14 KB04/03/2019 - 09:54
File harbour-olive-goes-shopping-2.3-2.armv7hl.rpm555.35 KB08/03/2019 - 10:08
File harbour-olive-goes-shopping-2.3-3.armv7hl.rpm555.3 KB10/03/2019 - 06:12
File harbour-olive-goes-shopping-2.4-1.armv7hl.rpm555.55 KB10/03/2019 - 13:02
Changelog: 

2.4-1 fixed cover action mark-as-done (does not remove category anymore)
         bring back sharing

2.3-3 fixed export / import from sd card (by jsikio)
         about page shows also translated item db's

2.3 - 2 fixed help page in finnish
           about page shows all available languages (and db languages)

2.3 do not show 1 - on list

2.2 fixed manage page in landscape view, fi_FI translation added, fixed about page

2.02 new category separator's in shopping list, fixed cover page, new sdk, built for sfos 3.0, fixed localization

1.57 chinese translation; using SectionHeader instead of rectangle in main page

1.56 german and spanish translation

1.55 it is now possible to edit shopping list items. longpress on checked items will still delete it. longpress on open items will open edit dialog. categories are now sorted in picker, shopping list is sorted according to categories, marking an item as done does not reload the shopping list again (causing it to scroll up)

1.53 export / import to / from json works, import 1.2 json in to 1.5 should also work

1.52 updated helptext (in english only)

1.51 remorse popup timer for all clear operations

1.5 compiled against 2.2, introduction of categories

1.2 updated translations

1.1 shopping list visible on cover, first item can be marked as done from cover

1.0 more translations & multilingual db

9.8 spanish translation: thanks to carmenfdezb

9.6  ok, remove items or recipes was not working, it is now

       it was possible to add anything without a name, now not

       ui cleanups

9.5 you can now fully manage your recipes (add/ remove, add items ...

      updated help page

      new sdk (2.1.3.7)

9.0 you can share shopping list as text

8.1 reporse on longpress shopping list item

8.0 remorse popup on clear shopping list to prevent unintentional deletion

7.5 search will be now actiavated on press enter

7.4 with search

7.2 will not allow you to select a recipe without ingredients 

    fixes issue where u could not unselect a recipe without ingredients

Comments

PawelSpoon's picture

As far as i remember i am using steps of 1000. The reordering logic fails to move up correctly, but i did not fix it. Wanted.to wait for your UX feedback.

anasyntes's picture

Totally understand. Apologize for being slow

PawelSpoon's picture

I was waiting for a quick response, so i can finalize it. Now i am working on different topics, not sure when i have time and mood to finalize it and publish it to openrepos

anasyntes's picture

Hello PawelSpoon , I've been trying it out for a while now and it sort of works. Somewhat fidgety when moving categories, for example moving a category numbered 5000 to between categories 2000 and 3000, i must re-number it to, for example, 2500. But it works. Big thanks for the hack. Very appreciated!

anasyntes's picture

Thank you. This is a great app. I wonder if it would be possible to make categories especially, but also items, sortable. That is, so I can manually move a category up or down in the list when in maintenance mode. I use categories according to the layout my favourite large grocery and want the list to be in the same order as I walk through the store. Anyhow, thanks for all your work and that you make it available!

PawelSpoon's picture

Thank you !

I have no clue how to do drag / drop == reorder in the list. It would be easy to give each category a number and then do the sorting according to that number.

i could imagine a longpress on category with move up/down context menu, if that is supported by silica.

If not i would put this ordering or re-numbering in the manage page of categories. and that would be kinda permanent sort, not change-able in the shopping list itself

only problem is i have to write a db migration as this is a datamodell change.

do you know an app with drag drop / reorder where i could check how it is done ?

anasyntes's picture

Thank you for answering. There are several apps that can do this, it's usually done by adding a "move" selection when the item is long-pressed. One example is in a nifty little app I love called Safe (lite), can be found in harbour. It is basically an excrypted database where one can define categories and fields oneself. Extremely flexible. For example, I've defined a top-category called "credit-cards", a sub-category called "Amex" and under "amex" all the fields with number, exp date, ccv pin etc etc. Now, if I want to re-order the fields I long-press until a pop-up menu shows. It can have different options depending of how I defined the field but there is always a "move" selection. I click that one and back on the list I just press where I want it to be dropped. I hope this helps explaining. Thanks for taking interest.

PawelSpoon's picture

i have checked safetile: the move does a move from one group.to another, so imho not our usecase, where we want to move within a list. 

however, one could do something we have in the ambience list: move to top only...

but should this be on the shopping list and when you clear it order is also lost ?

or should this be something more permanent ?

 

anasyntes's picture

Hi again, In Safe I can indeed move items within the list. Just longpress, pick move and drop it whenever I want in the same list. Maybe you tried moving the sub-category (group), then you indeed just can only move to another group. But in the sub-category (group), one can create a list with an indefine number of fields. Those items in the fields can freely be moved within the same list. I hope I manage to explain how and where I am with this. Think of my previous example with three levels: Creditcards-Amex-Cardinfo. It's just the lowest level  cardinfo that has a list where one can move freely. 

I think in the shopping-list it makes most sense to be able to move the order within the categories. Categories, ie bred, dairy, drinks, produce etc comes in different order in different stores and therefore the need to move them. Within the category not so much need to move. Once I'm in the, lets say produce section of the store, it doesn't matter much in which order the potatoes, carrots and leek etc comes.

So to answer your last question, yes the order of the categories would be very helpful to be able to move semi-permanently. Until I decide to re-arrange the category order again when I'm going to a different store.

Thanks again

PawelSpoon's picture

Hi,

my question was: is it sufficient to move the categories in shopping list or should they have already a order defined in manage-categories ?

however i will do the moving in shopping list only now

anasyntes's picture

Hi, sorry I misunderstood. Would be great if possible to re-order in manage-categories.

PawelSpoon's picture

i have a trial version. but i do not want to upload it here.

how can i pass it to you ? can we communicate on github ?

anasyntes's picture

Hi, I don't have an account on github so not sure how that will work...or maybe I don't need one? 

PawelSpoon's picture

so did you try it.out?

PawelSpoon's picture

you will find the test version directly in the root:

https://github.com/PawelSpoon/harbour-olive-goes-shopping

hope it does not break your db. maybe you export your db first.

the run the update.

then go the categories and order them according to your wishes.

lowest number should be 1000, then 2000 etc.

once you are done with reorder (longpress + context menu), select update shopping list from pull down menu

this should update the category order number in your shopping list.

after restart you should see them according to your order.

you can order now also the shopping list with longpress on the category. 

take .2 rpm file

 

PawelSpoon's picture

Good :-D

PawelSpoon's picture

Was a invalid tag in ts file ?! Should work now, please check and confirm :-)

carmenfdezb's picture

It works perfect now. Thank you!!

PawelSpoon's picture

Did uninstall / install - no translations, ok will dig into it. In the meanwhile please return to previous version.

carmenfdezb's picture

Hi, PawelSpoon! Translation files are missing in last version

PawelSpoon's picture

funny, did not touch it.

will check 

thanks for reporting !

dfstorm's picture

And if you didn't set any password acrivate the developper mode in settings and activate remote ssh connection. Then you will be able to set a password graphically :)

gsalone's picture

I have a different problem now when I try to update any app via Storeman:

 

Any ideas how to fix this?

PawelSpoon's picture

yes, 

seems you did not update any openrepos app, after upgrading to 3.0 ?

you need to run pkcon refresh as root.

enter in terminal devel-su
then the password
then: pkcon refresh

that should do the trick, else please google for the correct usage of pkcon

thanks

gsalone's picture

Actually it got fixed on its own... i didn't even restart the device.. really strange :)

But thanks for the tip!

PawelSpoon's picture

Good to hear that ! :-)

Bramba's picture

Awesome new feature with this category management! Thanks a lot!

carmenfdezb's picture

Thanks for the update!! Something is wrong with translations because some text is in English instead of Spanish language, for example, help page.

PawelSpoon's picture

i had the same problem with SongKick app. The help text definition on the help page is wrong. i need to add some  \ there. then it will work. Rest should be fine. 

i am currently working to make the items db multilangual. will not take too long. i have an idea now how to do that.

carmenfdezb's picture

Nice!! Thank you!!

Pages