autocomplete list behavouir

Dirk Hohndel dirk at hohndel.org
Tue Oct 2 12:33:28 PDT 2012


Dirk Hohndel <dirk at hohndel.org> writes:

> Pierre-Yves Chibon <pingou at pingoured.fr> writes:
>
>> On Tue, 2012-10-02 at 10:06 -0700, Dirk Hohndel wrote:
>>> Pierre-Yves Chibon <pingou at pingoured.fr> writes:
>>> >> Yes, this very much follows my idea :-)
>>> >> 
>>> >> One request:
>>> >> 
>>> >> Call it Subsurface Companion or something like that (and capitalize
>>> >> Subsurface where you use the name). SubWeb sounds odd to me :-/
>>> >> 
>>> >> Also, I assume that normal users would never use URLs 2 and 3, so I
>>> >> don't think we even need to offer them in the web interface, do we?
>>> >> 
>>> >> URL 2 would be used by the phone app
>>> >> URL 3 would be used by subsurface itself to get the dives / locations
>>> >
>>> > That's right although imho the user shouldn't even see the first one. I
>>> > need to make things more user friendly.
>>> 
>>> Things can always be made more user friendly. For now I'm looking for a
>>> POC.
>>
>> Ok, I have a working POC (API only) which is available at:
>> http://ambre.pingoured.fr/cgit/subsurface-companion.git/
>>
>> This is still very new so there is no problem to change things the way
>> we want :)
>
> Quick test shows this:
>
> http://127.0.0.1:5000/newlogin
>
> Not Found
>
> The requested URL was not found on the server.
>
> If you entered the URL manually please check your spelling and try
> again.
>
> (I am accessing this through a proxy, but the main page loads correctly,
> so I don't think it's the proxy that messes things up...)

Here is what the server side spits out:

 * Running on http://127.0.0.1:5000/
 * Restarting with reloader...
127.0.0.1 - - [02/Oct/2012 12:20:21] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [02/Oct/2012 12:20:22] "GET /static/subsurface_companion.css HTTP/1.1" 404 -
127.0.0.1 - - [02/Oct/2012 12:20:22] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [02/Oct/2012 12:20:32] "GET /newlogin HTTP/1.1" 404 -
127.0.0.1 - - [02/Oct/2012 12:20:32] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [02/Oct/2012 12:21:40] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [02/Oct/2012 12:21:42] "GET /dive/login/lat/long/name HTTP/1.1" 404 -

/D


More information about the subsurface mailing list