Re: [Cronometer-development] Daily nutrition summary exceeded targets
Brought to you by:
artichikin
|
From: Richard T. <ric...@gm...> - 2007-01-07 23:06:18
|
On 1/8/07, aa...@sp... <aa...@sp...> wrote: > > I checked in my experimental version changes. > > > > Have a look, play with it and see if you think it's worth diverting in > > that direction. > > > > Ideally I'd polish it and make it faster to enter food (keyboard shortcuts > > and auto-focus things better as you move through the window). > > > > Also, this quick hack introduces a few minor bugs here and there, so > > beware. > > Oh, and also it will require finding a better home for the food database > editor actions (import/export, new food, new recipe, delete food, etc...) > > They are kind of homeless at the moment... Hi, I started using Chronometer several months back, and it has been very useful. But this reminds me of a feature I have been wanting which I would like an opinion on. One thing about the food database and entering new foods which I would like is the ability for the use of overriding (kind of like inheritance). For instance, living in an expensive country where the variety of items is limited and nutritional analysis of what is available is .. unavailable, I tend to enter the limited nutritional information which the products give over the closest product I can find in the database. Doing this requires: a) exporting a similar food b) importing it under the new name c) modifying the known values to be correct the for local alternative. d) hoping I chose the right similar food. However, what I would rather like is the ability to set known values for a food and to have the ability to point the food at a base food which it would fill in all the unfilled fields for. This way, if I ever had to rechoose what similar food I based it on, it would be correct for all use of the food from day to day. Is this change practical in terms of how the Chronometer source code works? Any tips on what in general might have to be done to do it? I have to also add that I was quite impressed how easy it was to run the downloaded source code from the repository. Just opening it up in Eclipse did the job. Cheers, Richard. |