Message from discussion
webinterface and wifiserver integration for shoppinglist
Received: by 10.66.77.35 with SMTP id p3mr1707057paw.44.1345409805672;
Sun, 19 Aug 2012 13:56:45 -0700 (PDT)
X-BeenThere: openintents@googlegroups.com
Received: by 10.68.195.39 with SMTP id ib7ls7012813pbc.9.gmail; Sun, 19 Aug
2012 13:56:45 -0700 (PDT)
Received: by 10.66.88.199 with SMTP id bi7mr1758481pab.17.1345409805142;
Sun, 19 Aug 2012 13:56:45 -0700 (PDT)
Received: by 10.66.88.199 with SMTP id bi7mr1758480pab.17.1345409805131;
Sun, 19 Aug 2012 13:56:45 -0700 (PDT)
Return-Path: <bkandi...@gmail.com>
Received: from mail-pz0-f42.google.com (mail-pz0-f42.google.com [209.85.210.42])
by gmr-mx.google.com with ESMTPS id nv4si2404873pbc.2.2012.08.19.13.56.45
(version=TLSv1/SSLv3 cipher=OTHER);
Sun, 19 Aug 2012 13:56:45 -0700 (PDT)
Received-SPF: pass (google.com: domain of bkandi...@gmail.com designates 209.85.210.42 as permitted sender) client-ip=209.85.210.42;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of bkandi...@gmail.com designates 209.85.210.42 as permitted sender) smtp.mail=bkandi...@gmail.com; dkim=pass header...@gmail.com
Received: by dalf4 with SMTP id f4so1746745dal.29
for <openintents@googlegroups.com>; Sun, 19 Aug 2012 13:56:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=message-id:date:from:user-agent:mime-version:to:subject:references
:in-reply-to:x-enigmail-version:content-type
:content-transfer-encoding;
bh=v15LqPIcNEiwogEP+Z5d6b+HU23NqZkgX/6eWPRmlRw=;
b=zjjPdDxYV91PgTYigYMttTIK33Z09a7Oh4n7POHudqQq14bLRe+C5MzvHvFPcy5EYb
7daH1FYwEx2gu04DPtyhdHq42Jil2CYPbQmrzZ6OidgwAJ+9qYabTAQ+3lgBjl3Uztjz
exYs8T8lbTAaGnNUGmbiP9WAmIvPD68hA1j8eCEm4YwkxUOIEPo4t+QrA05oFyxTrQsU
JWyqE0f3G5ng/RgVTIl7XImcHTKnUB/0TTRxKp312tDmcYtT8NsNu1IMFldm9uLwE4ii
J9dm/GcRLOl6acq+Ta5+w+SYdTNnUd1KSVOsiO1wjnVPZfp2d/AukfiTqjxnBK6d+GoT
Cydw==
Received: by 10.68.221.42 with SMTP id qb10mr28861633pbc.155.1345409804846;
Sun, 19 Aug 2012 13:56:44 -0700 (PDT)
Return-Path: <bkandi...@gmail.com>
Received: from [192.168.11.2] ([59.177.200.54])
by mx.google.com with ESMTPS id oc2sm9564192pbb.69.2012.08.19.13.56.42
(version=SSLv3 cipher=OTHER);
Sun, 19 Aug 2012 13:56:44 -0700 (PDT)
Message-ID: <50315308.7010...@gmail.com>
Date: Mon, 20 Aug 2012 02:26:40 +0530
From: Bhaskar Kandiyal <bkandi...@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: openintents@googlegroups.com
Subject: Re: webinterface and wifiserver integration for shoppinglist
References: <CACcKnC6AgQFo3Y_4UtYEYThUvF6nC0EG5kffqnqwvs-HVW-...@mail.gmail.com> <50242989.9080...@gmail.com> <CACcKnC5ouO7_die-g4V9URb4jY5TjjBF3Kz_=DNYkrO5Vrv...@mail.gmail.com> <50255CFC.5080...@gmail.com> <CACcKnC67PE0gBFpBzcqs=zP1ZEy9Mq99=szKF8xFgQUZWip...@mail.gmail.com> <50262DEA.5070...@gmail.com> <CACcKnC5vRqPUkOGNSiQ9us3NOyt4w387fidgcDN7UctUjBr...@mail.gmail.com> <CAMaG8A9Nd6q08phxaG5VDmu+LcBdSqBgTj+XFNZg9TOnuqa...@mail.gmail.com> <CACcKnC5i73i7mUgjQQMznVdGsDF-yW0r9RNM+PHoZsgnT_U...@mail.gmail.com> <d63c28cb-8d13-4779-a7d7-8afd0425b7a5@googlegroups.com>
In-Reply-To: <d63c28cb-8d13-4779-a7d7-8afd0425b7a5@googlegroups.com>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi,
Thanks for checking the app out and testing it :)
I fixed a few bugs that you mentioned, the interface now hides the items
with a REMOVED_FROM_LIST status. Also, I've made the shopping list items
table more responsive so it can handle large resolution devices well.
Secondly, we didn't include some of the more 'advanced' features present
in OI Shopping List, since it's such a complex application it would take
quite some time to implement all the features that we have in it. We
just wanted to cover the basics. So, that's why there's no
implementation for 'Pick Items', attached notes and a few others.
As for moving the 'Add' button to the bottom to remove the empty space,
I don't think that's a good idea since the user would have to move his
mouse all the way to the bottom to click the button. Also, since the
'Add' button is inside a button group container, once we add some more
features we can add more buttons next to the 'Add' button, like a 'Pick
Items' button or 'Cleanup Items' button and that would make the empty
space go away :)
Cheers,
Bhaskar Kandiyal
On 08/20/2012 12:13 AM, aap wrote:
> So... I built the wifi server app, installed it on my phone...
>
> It definitely works. I can browse the contents of a list in a web
> browser on my desktop, and check an item, and when I go into OI Shopping
> List on my phone I can see that the item is checked. But it also needs
> some polishing.
>
> The most basic issue is that it does not seem to understand about the
> REMOVED_FROM_LIST status. Normally when launching OI Shopping List it
> shows only the WANT_TO_BUY and BOUGHT [checked] items, and you can check
> and uncheck to toggle between those two statuses. Then there is a button
> to switch to "Pick Items" mode, where all items of all statuses are
> shown, with a special "+" icon for the REMOVED_FROM_LIST icon, and
> clicking toggles the state mostly between REMOVED_FROM_LIST and WANT_TO_BUY.
>
> The web UI seems to show REMOVED_FROM_LIST items as if they were
> WANT_TO_BUY. Ideally it should support both shopping mode and pick items
> mode similar to how they are supported in the app. (Actually the app
> shows "pick items" mode in a separate dialog by default, but it probably
> makes more sense for the web UI to show it in place, the way the app
> does when "pick items directly in list" is enabled in advanced settings.)
>
> I also don't see any support for notes attached to shopping items.
>
> On the cosmetic side, the use of space in a desktop browser is not
> ideal. There is a lot of space wasted next to the "Add item" button...
> probably it should move next to the "quick add item" input area, similar
> to its placement in the app. Even ignoring that, it seems like the
> actual list itself is using only a small fraction of the available
> space, perhaps half.
>
> The use of "git submodule" seems to be not quite ideal-- when I followed
> the instructions I wound up with the web UI somewhat out of date. I
> noticed it because in my first attempt the prices were displayed
> incorrectly -- and I know I had seen a patch with a fix for that. Not
> sure if there is a better way to handle this-- or maybe just the readme
> should mention the need to update the submodule.
>
> All in all though, it's really exciting to see this starting to work.
>
> -- Aaron
>
> <https://lh5.googleusercontent.com/-c9SHYpTljgM/UDEy9X3WmjI/AAAAAAAAAs4/WN5JAFLS3Kc/s1600/Screenshot+from+2012-08-19+14%3A38%3A23.png>
>
>
>
> public static final class Status {
>
>
> /**
>
> * Want to buy this item.
>
> */
>
> public static final long WANT_TO_BUY = 1;
>
>
> /**
>
> * Have bought this item.
>
> */
>
> public static final long BOUGHT = 2;
>
>
> /**
>
> * Have removed it from the list. Won't be deleted, in oder to keep
>
> * reference for later suggestions.
>
> */
>
> public static final long REMOVED_FROM_LIST = 3;
>
>